Elaztek Developer Hub
Blamite Game Engine - Keystone  00326.06.27.21.0407.blamite
A library that enables the use of Qt in Blamite's editing tools.
settings_treewidgets.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <qtreewidget.h>
4 #include <Strings/components/settings/config/config.h>
5 
10 {
11  Section,
12  File,
14 };
15 
23 class SharedSettingsGenericTreeItem : public QTreeWidgetItem
24 {
25 public:
27 };
28 
35 {
36 public:
37  BlamConfigurationSection* section = nullptr;
38 
44  SharedSettingsSectionTreeItem(BlamConfigurationSection* _section);
45 };
46 
54 {
55 public:
56  BlamConfigurationFile* file = nullptr;
57 
63  SharedSettingsFileTreeItem(BlamConfigurationFile* _file);
64 };
SharedSettingsGenericTreeItem
Class representing a generic shared settings tree widget item.
Definition: settings_treewidgets.h:23
SharedSettingsTreeItemType::Section
@ Section
Indicates the tree widget represents a configuration section.
SharedSettingsTreeItemType::Unspecified
@ Unspecified
Indicates the tree widget has not been properly configured.
SharedSettingsSectionTreeItem::section
BlamConfigurationSection * section
The section associated with this tree item.
Definition: settings_treewidgets.h:37
SharedSettingsSectionTreeItem::SharedSettingsSectionTreeItem
SharedSettingsSectionTreeItem(BlamConfigurationSection *_section)
Constructs a new shared settings section tree item.
Definition: settings_treewidgets.cpp:3
SharedSettingsGenericTreeItem::tree_item_type
SharedSettingsTreeItemType tree_item_type
The type of the tree widget item.
Definition: settings_treewidgets.h:26
SharedSettingsFileTreeItem
Class representing a file shared settings tree widget item.
Definition: settings_treewidgets.h:53
SharedSettingsTreeItemType::File
@ File
Indicates the tree widget represents a configuration file.
SharedSettingsFileTreeItem::SharedSettingsFileTreeItem
SharedSettingsFileTreeItem(BlamConfigurationFile *_file)
Constructs a new shared settings section tree item.
Definition: settings_treewidgets.cpp:12
SharedSettingsFileTreeItem::file
BlamConfigurationFile * file
The file associated with this tree item.
Definition: settings_treewidgets.h:56
SharedSettingsTreeItemType
SharedSettingsTreeItemType
Enumerator listing all possible setting tree widget types.
Definition: settings_treewidgets.h:9
SharedSettingsSectionTreeItem
Class representing a section shared settings tree widget item.
Definition: settings_treewidgets.h:34
BlamEditorWindowType::Unspecified
@ Unspecified
Indicates that the editor window type is unknown. This should never happen.