mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
[Scene] Add SceneStringNames::text/value_changed
This commit is contained in:
parent
ca18a06ecb
commit
fbb879debd
90 changed files with 238 additions and 232 deletions
|
@ -423,7 +423,7 @@ ScriptEditorQuickOpen::ScriptEditorQuickOpen() {
|
|||
add_child(vbc);
|
||||
search_box = memnew(LineEdit);
|
||||
vbc->add_margin_child(TTR("Search:"), search_box);
|
||||
search_box->connect("text_changed", callable_mp(this, &ScriptEditorQuickOpen::_text_changed));
|
||||
search_box->connect(SceneStringName(text_changed), callable_mp(this, &ScriptEditorQuickOpen::_text_changed));
|
||||
search_box->connect(SceneStringName(gui_input), callable_mp(this, &ScriptEditorQuickOpen::_sbox_input));
|
||||
search_options = memnew(Tree);
|
||||
vbc->add_margin_child(TTR("Matches:"), search_options, true);
|
||||
|
@ -4022,7 +4022,7 @@ ScriptEditor::ScriptEditor(WindowWrapper *p_wrapper) {
|
|||
filter_scripts = memnew(LineEdit);
|
||||
filter_scripts->set_placeholder(TTR("Filter Scripts"));
|
||||
filter_scripts->set_clear_button_enabled(true);
|
||||
filter_scripts->connect("text_changed", callable_mp(this, &ScriptEditor::_filter_scripts_text_changed));
|
||||
filter_scripts->connect(SceneStringName(text_changed), callable_mp(this, &ScriptEditor::_filter_scripts_text_changed));
|
||||
scripts_vbox->add_child(filter_scripts);
|
||||
|
||||
script_list = memnew(ItemList);
|
||||
|
@ -4067,7 +4067,7 @@ ScriptEditor::ScriptEditor(WindowWrapper *p_wrapper) {
|
|||
filter_methods = memnew(LineEdit);
|
||||
filter_methods->set_placeholder(TTR("Filter Methods"));
|
||||
filter_methods->set_clear_button_enabled(true);
|
||||
filter_methods->connect("text_changed", callable_mp(this, &ScriptEditor::_filter_methods_text_changed));
|
||||
filter_methods->connect(SceneStringName(text_changed), callable_mp(this, &ScriptEditor::_filter_methods_text_changed));
|
||||
overview_vbox->add_child(filter_methods);
|
||||
|
||||
members_overview = memnew(ItemList);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue