Better search for SectionedPropertyEditor, added "All" section
This commit is contained in:
@ -259,12 +259,16 @@ class SectionedPropertyEditor : public HBoxContainer {
|
||||
OBJ_TYPE(SectionedPropertyEditor,HBoxContainer);
|
||||
ItemList *sections;
|
||||
SectionedPropertyEditorFilter *filter;
|
||||
LineEdit *search_box;
|
||||
ToolButton *clear_button;
|
||||
PropertyEditor *editor;
|
||||
|
||||
|
||||
static void _bind_methods();
|
||||
void _section_selected(int p_which);
|
||||
|
||||
protected:
|
||||
|
||||
void _notification(int p_what);
|
||||
static void _bind_methods();
|
||||
public:
|
||||
|
||||
PropertyEditor *get_property_editor();
|
||||
@ -272,6 +276,8 @@ public:
|
||||
String get_full_item_path(const String& p_item);
|
||||
String get_current_section() const;
|
||||
|
||||
void clear_search_box();
|
||||
|
||||
SectionedPropertyEditor();
|
||||
~SectionedPropertyEditor();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user