summaryrefslogtreecommitdiffstats
path: root/editor/connections_dialog.h
diff options
context:
space:
mode:
authorEric M <itsjusteza@gmail.com>2020-08-08 14:15:46 +1000
committerEric M <itsjusteza@gmail.com>2020-08-08 14:15:46 +1000
commit8c4c2bceabbedf511cf3bc359b66dd57d013ab92 (patch)
tree86e03f975cb4bed31c8832a65b80dcbf4fecc25d /editor/connections_dialog.h
parent241e709462cd90d3daade3c6a05ff130fe85b4c0 (diff)
downloadredot-engine-8c4c2bceabbedf511cf3bc359b66dd57d013ab92.tar.gz
Added search box to signals dock.
Also made localised code changes for better documentation and readability.
Diffstat (limited to 'editor/connections_dialog.h')
-rw-r--r--editor/connections_dialog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/connections_dialog.h b/editor/connections_dialog.h
index 9da9a8fb2c..48fdb91f5a 100644
--- a/editor/connections_dialog.h
+++ b/editor/connections_dialog.h
@@ -169,9 +169,12 @@ class ConnectionsDock : public VBoxContainer {
PopupMenu *signal_menu;
PopupMenu *slot_menu;
UndoRedo *undo_redo;
+ LineEdit *search_box;
Map<StringName, Map<StringName, String>> descr_cache;
+ void _filter_changed(const String &p_text);
+
void _make_or_edit_connection();
void _connect(ConnectDialog::ConnectionData cToMake);
void _disconnect(TreeItem &item);