 |
Blamite Game Engine - Keystone
00338.10.02.21.0533.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
Go to the documentation of this file.
5 #include <Strings/components/settings/config/config.h>
BlamEditorDocumentType GetDocumentType()
Retrieves the type of this document.
Definition: BlamEditorDocument.cpp:13
BlamEditorWindow * parent_window
The parent window that owns this document.
Definition: BlamEditorDocument.h:44
BlamEditorDocumentType
Enumerator containing all possible editor document types.
Definition: BlamEditorDocument.h:22
std::string document_title
The title of this document.
Definition: BlamEditorDocument.h:46
virtual void Close()
Closes the document and releases any resources being used by it.
Definition: BlamEditorDocument.h:81
KEYSTONE void UnloadDocumentConfigurations()
Unloads all document type configurations.
Definition: document_config.cpp:90
Class representing a Blamite Editor Theme.
Definition: themes.h:47
BlamEditorDocument(BlamEditorWindow *_window, BlamEditorDocumentType doctype)
Constructs a new BlamEditorDocument.
Definition: BlamEditorDocument.cpp:7
bool modified
Whether or not the document has been modified.
Definition: BlamEditorDocument.h:49
@ Tag
Indicates the document represents a tag file.
KEYSTONE void LoadDocumentConfigurations()
Loads all document type configurations.
Definition: document_config.cpp:83
virtual void SaveAs()
Attempts to save the document, prompting the user to save as a new file.
Definition: BlamEditorDocument.h:91
virtual void Save()
Attempts to save the document, replacing the original file.
Definition: BlamEditorDocument.h:86
Interface class that any types of editor documents inherit from.
Definition: BlamEditorDocument.h:34
KEYSTONE std::map< BlamEditorDocumentType, BlamConfigurationFile * > GetDocumentTypeConfigurations()
Retrieves the list of loaded document type configuration files.
Definition: document_config.cpp:116
virtual void OnThemeChange(BlamEditorTheme *new_theme)
Called when the active theme is changed.
Definition: BlamEditorDocument.h:71
void Show()
Shows the document within the parent window.
Definition: BlamEditorDocument.cpp:18
bool loaded
Whether or not the document was able to be successfully loaded.
Definition: BlamEditorDocument.h:48
Interface class that all main editing tool windows inherit from.
Definition: BlamEditorWindow.h:47
@ Unspecified
Indicates the document type is unspecified or invalid.
#define KEYSTONE
Definition: BlamEditorDocument.h:10
Namespace contianing functions for accessing common editor data.
Definition: BlamEditorDocument.h:107
BlamEditorDocumentWidget * ui
The GUI widget associated with this document.
Definition: BlamEditorDocument.h:47
KEYSTONE BlamConfigurationFile * GetDocumentTypeConfiguration(BlamEditorDocumentType type)
Attempts to locate the configuration file for the specified document type.
Definition: document_config.cpp:106