 |
Blamite Game Engine - Keystone
00402.09.29.23.0627.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
Go to the documentation of this file.
4 #include <Strings/components/classes/events/events.h>
8 #include "ui_shared_settings.h"
23 Ui::shared_settings ui;
25 std::vector<BlamConfigurationFile*> configuration_files = std::vector<BlamConfigurationFile*>();
27 std::vector<QWidget*> current_child_items = std::vector<QWidget*>();
31 bool dialog_ready =
true;
36 void AddSettingControl(BlamConfigurationSetting* setting);
66 void TreeWidgetSelectionChanged();
68 void Button_ResetConfig_Clicked();
69 void Button_OpenDataFolder_Clicked();
70 void Button_SaveAndClose_Clicked();
71 void Button_Apply_Clicked();
72 void Button_Cancel_Clicked();
~shared_settings()
Destroys the settings dialog and cleans up any resources used.
Definition: shared_settings.cpp:79
Class representing a generic shared settings tree widget item.
Definition: settings_treewidgets.h:23
bool is_theme_list
Definition: BlamEditorConfigField_String.h:15
bool is_theme_variant_list
Definition: BlamEditorConfigField_String.h:16
BlamEditorWindowType
Enumerator used to identify the type of the main editor window.
Definition: BlamEditorWindow.h:33
Definition: BlamEditorConfigField_Generic.h:10
BlamConfigurationSection * section
The section associated with this tree item.
Definition: settings_treewidgets.h:37
QHash< QSourceHighliter::Token, QTextCharFormat > theme(QSourceHighliter::Themes)
Definition: qsourcehighliterthemes.cpp:63
BlamEditorWindowType GetEditorWindowType()
Retrieves the type of the editor window.
Definition: BlamEditorWindow.cpp:89
@ Sapien
The editor window is the main window for Sapien (see sapien_main_window).
void RebuildEnumOptions()
Definition: BlamEditorConfigField_String.cpp:36
SharedSettingsTreeItemType tree_item_type
The type of the tree widget item.
Definition: settings_treewidgets.h:26
Class representing a file shared settings tree widget item.
Definition: settings_treewidgets.h:53
Class representing a Blamite Editor Theme.
Definition: themes.h:47
@ Guerilla
The editor window is the main window for Guerilla (see guerilla_window).
shared_settings(QWidget *parent=Q_NULLPTR)
Constructs the settings dialog.
Definition: shared_settings.cpp:18
@ YesNo
Dialog is shown with a [Yes] and [No] button.
void UpdateActiveSettingControl(BlamEditorConfigField_Generic *field)
TBA.
Definition: shared_settings.cpp:91
BlamConfigurationFile * file
The file associated with this tree item.
Definition: settings_treewidgets.h:56
KEYSTONE std::map< BlamEditorToolWindowType, BlamEditorToolWindow * > GetRegisteredToolWindowList()
Retrieves the list of registered tool windows.
Definition: editor_data.cpp:47
@ Warning
Dialog icon will be a yellow triangle with an exclamation mark.
@ Yes
The user pressed the 'Yes' button.
KEYSTONE BlamEditorWindow * GetMainEditorWindow()
Retrieves the main editor window.
Definition: editor_data.cpp:32
Definition: BlamEditorConfigField_String.h:7
Class representing a section shared settings tree widget item.
Definition: settings_treewidgets.h:34
BlamConfigurationSetting * setting
Definition: BlamEditorConfigField_Generic.h:19
KEYSTONE BlamEditorTheme * GetTheme(std::string name)
Retrieves a theme.
Definition: themes.cpp:320
KeystoneDialogResult GetResult()
Retrieves the dialog result.
Definition: qt_message_box.cpp:167
KEYSTONE std::map< BlamEditorDocumentType, BlamConfigurationFile * > GetDocumentTypeConfigurations()
Retrieves the list of loaded document type configuration files.
Definition: document_config.cpp:117
void ApplyNewTheme()
Definition: shared_settings.cpp:247
KEYSTONE BlamEditorConfigField_Generic * CreateConfigSettingControl(shared_settings *settings_dialog, BlamConfigurationSetting *setting)
Creates a new configuration setting control.
Definition: config_fields.cpp:13
A theme changing notice dialog.
Definition: theme_changing_dialog.h:14
void OnEditorThemeChangeEvent(EditorThemeChangeEvent *event)
Definition: shared_settings.cpp:234
@ Foundry
The editor window is the main window for Foundry (see foundry_main_window).
Class for the new unified Settings dialog.
Definition: shared_settings.h:18
A basic message box dialog.
Definition: qt_message_box.h:39