summaryrefslogtreecommitdiffstats
path: root/tools/editor/property_editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor/property_editor.h')
-rw-r--r--tools/editor/property_editor.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/editor/property_editor.h b/tools/editor/property_editor.h
index 63ad090901..5dc2f6d154 100644
--- a/tools/editor/property_editor.h
+++ b/tools/editor/property_editor.h
@@ -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();
};