diff options
Diffstat (limited to 'tools/editor/settings_config_dialog.h')
-rw-r--r-- | tools/editor/settings_config_dialog.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/editor/settings_config_dialog.h b/tools/editor/settings_config_dialog.h index 5085132108..3b91c7f019 100644 --- a/tools/editor/settings_config_dialog.h +++ b/tools/editor/settings_config_dialog.h @@ -45,22 +45,42 @@ class EditorSettingsDialog : public AcceptDialog { TabContainer *tabs; LineEdit *search_box; + LineEdit *shortcut_search_box; ToolButton *clear_button; + ToolButton *shortcut_clear_button; SectionedPropertyEditor *property_editor; Timer *timer; + Tree *shortcuts; + + ConfirmationDialog *press_a_key; + Label *press_a_key_label; + InputEvent last_wait_for_key; + String shortcut_configured; + String shortcut_filter; + virtual void cancel_pressed(); virtual void ok_pressed(); void _settings_changed(); + void _settings_property_edited(const String& p_name); void _settings_save(); void _notification(int p_what); + void _press_a_key_confirm(); + void _wait_for_key(const InputEvent& p_event); + + void _clear_shortcut_search_box(); void _clear_search_box(); + void _filter_shortcuts(const String& p_filter); + + void _update_shortcuts(); + void _shortcut_button_pressed(Object* p_item,int p_column,int p_idx); + protected: static void _bind_methods(); |