From ff604414a4730ba49409afca22e1c7aa44d0c338 Mon Sep 17 00:00:00 2001 From: Will Nations Date: Thu, 19 Jul 2018 10:34:22 -0500 Subject: [PATCH] Add PluginConfigDialog, EditorPluginSettings GUI --- editor/editor_node.cpp | 19 +++ editor/editor_node.h | 5 + editor/editor_plugin.cpp | 6 + editor/editor_plugin.h | 5 + editor/editor_plugin_settings.cpp | 36 ++++- editor/editor_plugin_settings.h | 9 ++ editor/plugin_config_dialog.cpp | 230 +++++++++++++++++++++++++++++ editor/plugin_config_dialog.h | 71 +++++++++ editor/project_settings_editor.cpp | 4 + editor/project_settings_editor.h | 1 + 10 files changed, 385 insertions(+), 1 deletion(-) create mode 100644 editor/plugin_config_dialog.cpp create mode 100644 editor/plugin_config_dialog.h diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 05fbf7aa761..c59882b677c 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -408,6 +408,18 @@ void EditorNode::_notification(int p_what) { } } +void EditorNode::_on_plugin_ready(Object *p_script, const String &p_activate_name) { + Ref