 |
Blamite Game Engine - Keystone
00386.06.16.23.0646.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
Go to the documentation of this file.
3 #include <HEKGuerilla/components/tags/tags.h>
5 #include "../BlamEditorDocument.h"
20 BlamTag*
tag =
nullptr;
Class representing a Tag document.
Definition: tag.h:15
BlamEditorDocumentType GetDocumentType()
Retrieves the type of this document.
Definition: BlamEditorDocument.cpp:16
BlamEditorWindow * parent_window
The parent window that owns this document.
Definition: BlamEditorDocument.h:47
std::string file_path
The path to the file associated with this document.
Definition: BlamEditorDocument.h:58
@ Tabs
Sub-windows will be organized using tabs, similar to more modern editing tools.
bool show_invisibles
Whether or not to show invisible (hidden) fields in the editor.
Definition: tag.h:21
BlamWorkspaceLayoutType workspace_type
The layout type the window is currently using.
Definition: BlamEditorWindow.h:59
void Save()
Attempts to save the document, replacing the original file.
Definition: tag.cpp:72
std::string GetApplicationTitle()
Definition: BlamEditorWindow.cpp:406
BlamEditorDocumentType
Enumerator containing all possible editor document types.
Definition: BlamEditorDocument.h:23
std::string document_title
The title of this document.
Definition: BlamEditorDocument.h:49
The tag editor widget.
Definition: tag_editor.h:18
bool Close()
Closes the document and releases any resources being used by it.
Definition: tag.cpp:55
bool modified
Whether or not the document has been modified.
Definition: BlamEditorDocument.h:52
void SaveAs()
Attempts to save the document, prompting the user to save as a new file.
Definition: tag.cpp:102
@ Tag
Indicates the document represents a tag file.
bool is_compiled
Whether or not this tag was loaded from a compiled/binary tag, rather than a decompiled/XML tag.
Definition: tag.h:23
bool ConfirmClose()
Called immediately before closing a document.
Definition: tag.cpp:215
virtual void FlagAsModified()
Flags the document as being modified.
Definition: BlamEditorDocument.h:105
@ MDI
Sub-windows will be organized using MDI (Multiple Document Interface).
KEYSTONE BlamEditorWindow * GetMainEditorWindow()
Retrieves the main editor window.
Definition: editor_data.cpp:32
std::string document_context
The context of this document. Will generally be a project or tag folder.
Definition: BlamEditorDocument.h:59
Interface class that any types of editor documents inherit from.
Definition: BlamEditorDocument.h:37
bool needs_update
Whether or not this tag needs to be updated in-engine. Ignored if live_update is false.
Definition: tag.h:25
SkinnableMdiArea * mdi_area
The MDI area used for documents. Only set when using MDI layout.
Definition: BlamEditorWindow.h:61
BlamEditorDocument_Tag(BlamEditorWindow *_window, BlamTag *_tag)
Constructs a new Tag document.
Definition: tag.cpp:15
Interface class that all main editing tool windows inherit from.
Definition: BlamEditorWindow.h:48
BlamTag * tag
The tag associated with this document.
Definition: tag.h:20
KEYSTONE bool GetEngineActiveState()
Checks whether or not the engine is currently running.
Definition: engine.cpp:102
virtual bool Close()
Closes the document and releases any resources being used by it.
Definition: BlamEditorDocument.cpp:77
bool live_update
Whether or not this tag should be continuously updated ingame for realtime editing.
Definition: tag.h:24
bool show_unused_fields
Whether or not to show unused fields in the editor.
Definition: tag.h:22
BlamEditorDocumentWidget * ui
The GUI widget associated with this document.
Definition: BlamEditorDocument.h:50
KEYSTONE BlamConfigurationFile * GetDocumentTypeConfiguration(BlamEditorDocumentType type)
Attempts to locate the configuration file for the specified document type.
Definition: document_config.cpp:107