diff options
author | Franklin Sobrinho <franklin_gs@hotmail.com> | 2016-03-05 07:51:09 -0300 |
---|---|---|
committer | Franklin Sobrinho <franklin_gs@hotmail.com> | 2016-03-05 07:59:04 -0300 |
commit | cc6a6ef08cff08348c2038312d040f032d58ee50 (patch) | |
tree | 15eeaf1f77513e9fb6399a05c24f9e2200ce0213 /tools/editor/editor_help.h | |
parent | 5a9b18b665b250b54c0d8eb80354dc08e363377c (diff) |
Added search box in Class List dialog (Script Editor)
Diffstat (limited to 'tools/editor/editor_help.h')
-rw-r--r-- | tools/editor/editor_help.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/editor/editor_help.h b/tools/editor/editor_help.h index 059a7ae11d..f6dda9f545 100644 --- a/tools/editor/editor_help.h +++ b/tools/editor/editor_help.h @@ -77,11 +77,16 @@ public: class EditorHelpIndex : public ConfirmationDialog { OBJ_TYPE( EditorHelpIndex, ConfirmationDialog ); - + LineEdit *search_box; Tree *class_list; HashMap<String,TreeItem*> tree_item_map; void _tree_item_selected(); + void _text_changed(const String& p_text); + void _sbox_input(const InputEvent& p_ie); + + void _update_class_list(); + void add_type(const String& p_type,HashMap<String,TreeItem*>& p_types,TreeItem *p_root); protected: @@ -92,6 +97,8 @@ public: void select_class(const String& p_class); + void popup(); + EditorHelpIndex(); }; |