You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Cleanup header includes for AddMetadataDialog
This commit is contained in:
@@ -30,7 +30,10 @@
|
|||||||
|
|
||||||
#include "add_metadata_dialog.h"
|
#include "add_metadata_dialog.h"
|
||||||
|
|
||||||
|
#include "editor/gui/editor_validation_panel.h"
|
||||||
#include "editor/themes/editor_scale.h"
|
#include "editor/themes/editor_scale.h"
|
||||||
|
#include "scene/gui/line_edit.h"
|
||||||
|
#include "scene/gui/option_button.h"
|
||||||
|
|
||||||
AddMetadataDialog::AddMetadataDialog() {
|
AddMetadataDialog::AddMetadataDialog() {
|
||||||
VBoxContainer *vbc = memnew(VBoxContainer);
|
VBoxContainer *vbc = memnew(VBoxContainer);
|
||||||
|
|||||||
@@ -30,10 +30,11 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "editor/gui/editor_validation_panel.h"
|
|
||||||
#include "scene/gui/dialogs.h"
|
#include "scene/gui/dialogs.h"
|
||||||
#include "scene/gui/line_edit.h"
|
|
||||||
#include "scene/gui/option_button.h"
|
class EditorValidationPanel;
|
||||||
|
class LineEdit;
|
||||||
|
class OptionButton;
|
||||||
|
|
||||||
class AddMetadataDialog : public ConfirmationDialog {
|
class AddMetadataDialog : public ConfirmationDialog {
|
||||||
GDCLASS(AddMetadataDialog, ConfirmationDialog);
|
GDCLASS(AddMetadataDialog, ConfirmationDialog);
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
#include "editor/debugger/script_editor_debugger.h"
|
#include "editor/debugger/script_editor_debugger.h"
|
||||||
#include "scene/gui/button.h"
|
#include "scene/gui/button.h"
|
||||||
#include "scene/gui/check_box.h"
|
#include "scene/gui/check_box.h"
|
||||||
|
#include "scene/gui/line_edit.h"
|
||||||
|
|
||||||
void EditorExpressionEvaluator::on_start() {
|
void EditorExpressionEvaluator::on_start() {
|
||||||
expression_input->set_editable(false);
|
expression_input->set_editable(false);
|
||||||
|
|||||||
@@ -30,11 +30,12 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "editor/add_metadata_dialog.h"
|
|
||||||
#include "editor_property_name_processor.h"
|
#include "editor_property_name_processor.h"
|
||||||
#include "scene/gui/box_container.h"
|
#include "scene/gui/box_container.h"
|
||||||
|
#include "scene/gui/panel_container.h"
|
||||||
#include "scene/gui/scroll_container.h"
|
#include "scene/gui/scroll_container.h"
|
||||||
|
|
||||||
|
class AddMetadataDialog;
|
||||||
class AcceptDialog;
|
class AcceptDialog;
|
||||||
class Button;
|
class Button;
|
||||||
class ConfirmationDialog;
|
class ConfirmationDialog;
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
#include "editor/editor_string_names.h"
|
#include "editor/editor_string_names.h"
|
||||||
#include "editor/themes/editor_scale.h"
|
#include "editor/themes/editor_scale.h"
|
||||||
#include "scene/gui/check_button.h"
|
#include "scene/gui/check_button.h"
|
||||||
|
#include "scene/gui/line_edit.h"
|
||||||
#include "scene/gui/tree.h"
|
#include "scene/gui/tree.h"
|
||||||
|
|
||||||
static bool _property_path_matches(const String &p_property_path, const String &p_filter, EditorPropertyNameProcessor::Style p_style) {
|
static bool _property_path_matches(const String &p_property_path, const String &p_filter, EditorPropertyNameProcessor::Style p_style) {
|
||||||
|
|||||||
@@ -43,6 +43,7 @@
|
|||||||
#include "editor/themes/editor_scale.h"
|
#include "editor/themes/editor_scale.h"
|
||||||
#include "scene/gui/check_button.h"
|
#include "scene/gui/check_button.h"
|
||||||
#include "scene/gui/item_list.h"
|
#include "scene/gui/item_list.h"
|
||||||
|
#include "scene/gui/line_edit.h"
|
||||||
#include "scene/gui/link_button.h"
|
#include "scene/gui/link_button.h"
|
||||||
#include "scene/gui/margin_container.h"
|
#include "scene/gui/margin_container.h"
|
||||||
#include "scene/gui/menu_button.h"
|
#include "scene/gui/menu_button.h"
|
||||||
|
|||||||
@@ -36,6 +36,7 @@
|
|||||||
#include "editor/editor_inspector.h"
|
#include "editor/editor_inspector.h"
|
||||||
#include "editor/editor_sectioned_inspector.h"
|
#include "editor/editor_sectioned_inspector.h"
|
||||||
#include "scene/gui/center_container.h"
|
#include "scene/gui/center_container.h"
|
||||||
|
#include "scene/gui/label.h"
|
||||||
|
|
||||||
class ImportDefaultsEditorSettings : public Object {
|
class ImportDefaultsEditorSettings : public Object {
|
||||||
GDCLASS(ImportDefaultsEditorSettings, Object)
|
GDCLASS(ImportDefaultsEditorSettings, Object)
|
||||||
|
|||||||
@@ -43,6 +43,7 @@
|
|||||||
#include "scene/3d/skeleton_3d.h"
|
#include "scene/3d/skeleton_3d.h"
|
||||||
#include "scene/gui/check_box.h"
|
#include "scene/gui/check_box.h"
|
||||||
#include "scene/gui/grid_container.h"
|
#include "scene/gui/grid_container.h"
|
||||||
|
#include "scene/gui/line_edit.h"
|
||||||
#include "scene/gui/menu_button.h"
|
#include "scene/gui/menu_button.h"
|
||||||
#include "scene/gui/option_button.h"
|
#include "scene/gui/option_button.h"
|
||||||
#include "scene/gui/progress_bar.h"
|
#include "scene/gui/progress_bar.h"
|
||||||
|
|||||||
@@ -38,6 +38,7 @@
|
|||||||
#include "scene/gui/check_box.h"
|
#include "scene/gui/check_box.h"
|
||||||
#include "scene/gui/check_button.h"
|
#include "scene/gui/check_button.h"
|
||||||
#include "scene/gui/grid_container.h"
|
#include "scene/gui/grid_container.h"
|
||||||
|
#include "scene/gui/label.h"
|
||||||
#include "scene/gui/option_button.h"
|
#include "scene/gui/option_button.h"
|
||||||
#include "scene/gui/panel_container.h"
|
#include "scene/gui/panel_container.h"
|
||||||
#include "scene/gui/separator.h"
|
#include "scene/gui/separator.h"
|
||||||
|
|||||||
@@ -33,6 +33,7 @@
|
|||||||
#include "editor/editor_inspector.h"
|
#include "editor/editor_inspector.h"
|
||||||
#include "editor/plugins/editor_plugin.h"
|
#include "editor/plugins/editor_plugin.h"
|
||||||
#include "scene/gui/box_container.h"
|
#include "scene/gui/box_container.h"
|
||||||
|
#include "scene/gui/button.h"
|
||||||
#include "scene/gui/margin_container.h"
|
#include "scene/gui/margin_container.h"
|
||||||
|
|
||||||
class CheckBox;
|
class CheckBox;
|
||||||
@@ -42,6 +43,7 @@ class GridContainer;
|
|||||||
class Label;
|
class Label;
|
||||||
class OptionButton;
|
class OptionButton;
|
||||||
class PanelContainer;
|
class PanelContainer;
|
||||||
|
class PopupPanel;
|
||||||
class Separator;
|
class Separator;
|
||||||
class TextureRect;
|
class TextureRect;
|
||||||
|
|
||||||
|
|||||||
@@ -30,6 +30,8 @@
|
|||||||
|
|
||||||
#include "sub_viewport_preview_editor_plugin.h"
|
#include "sub_viewport_preview_editor_plugin.h"
|
||||||
|
|
||||||
|
#include "scene/main/viewport.h"
|
||||||
|
|
||||||
bool EditorInspectorPluginSubViewportPreview::can_handle(Object *p_object) {
|
bool EditorInspectorPluginSubViewportPreview::can_handle(Object *p_object) {
|
||||||
return Object::cast_to<SubViewport>(p_object) != nullptr;
|
return Object::cast_to<SubViewport>(p_object) != nullptr;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,6 +34,8 @@
|
|||||||
#include "editor/editor_inspector.h"
|
#include "editor/editor_inspector.h"
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
|
#include "scene/gui/label.h"
|
||||||
|
#include "scene/gui/line_edit.h"
|
||||||
#include "servers/rendering/shader_language.h"
|
#include "servers/rendering/shader_language.h"
|
||||||
|
|
||||||
static const char *global_var_type_names[RS::GLOBAL_VAR_TYPE_MAX] = {
|
static const char *global_var_type_names[RS::GLOBAL_VAR_TYPE_MAX] = {
|
||||||
|
|||||||
@@ -31,6 +31,7 @@
|
|||||||
#include "openxr_binding_modifier_editor.h"
|
#include "openxr_binding_modifier_editor.h"
|
||||||
|
|
||||||
#include "editor/editor_string_names.h"
|
#include "editor/editor_string_names.h"
|
||||||
|
#include "scene/gui/option_button.h"
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// EditorPropertyActionSet
|
// EditorPropertyActionSet
|
||||||
|
|||||||
Reference in New Issue
Block a user