![]() |
Blamite Game Engine - Keystone
00326.06.27.21.0407.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
The main Guerilla window. More...
#include <guerilla_window.h>
Public Member Functions | |
guerilla_window (QWidget *parent=Q_NULLPTR) | |
Initializes the application window. More... | |
~guerilla_window () | |
![]() | |
BlamEditorWindow (BlamEditorWindowType window_type) | |
Constructs a new editor window. More... | |
void | SetupWindow () |
Prepares the main window layout. More... | |
BlamEditorWindowType | GetEditorWindowType () |
Retrieves the type of the editor window. More... | |
virtual void | OnThemeChange (BlamEditorTheme *new_theme) |
Called when the active theme is changed. More... | |
bool | OpenDocument (std::string file_path, BlamTagTreeNode *tree_node, BlamEditorDocumentType doctype) |
Attempts to open the specified document in the main window. More... | |
void | OpenDocument (BlamEditorDocument *document) |
Opens a pre-prepared document and associates it with this window. More... | |
void | CloseDocument (int index) |
Attempts to close the specified document. More... | |
void | CloseDocument (BlamEditorDocument *document) |
Attempts to close the specified document. More... | |
void | SaveAllDocuments () |
Attempts to save all open documents. More... | |
bool | OpenToolWindow (BlamEditorToolWindowType tool_type, Qt::DockWidgetArea position) |
Opens the specified tool window within the main window. More... | |
bool | OpenToolWindow (BlamEditorToolWindowType tool_type) |
Opens the specified tool window within the main window. More... | |
void | CloseToolWindow (BlamEditorToolWindowType tool_type) |
Closes the specified tool window. More... | |
void | ToggleToolWindow (BlamEditorToolWindowType tool_type) |
Toggles the specified tool window. More... | |
bool | IsToolWindowOpen (BlamEditorToolWindowType tool_type) |
Checks if a given tool window type is open. More... | |
BlamEditorDocument * | GetActiveDocument () |
Get the current active document. More... | |
Public Attributes | |
BlamConfigurationFile * | config |
Pointer to the Guerilla configuration file. More... | |
![]() | |
BlamWorkspaceLayoutType | workspace_type = BlamWorkspaceLayoutType::MDI |
The layout type the window is currently using. More... | |
SkinnableMdiArea * | mdi_area = nullptr |
The MDI area used for documents. Only set when using MDI layout. More... | |
QTabWidget * | tab_area = nullptr |
The tab widget used for documents. Only set when using Tab layout. More... | |
std::vector< BlamEditorToolWindow * > | open_tool_windows = std::vector<BlamEditorToolWindow*>() |
The list of open tool windows. More... | |
std::vector< BlamEditorDocument * > | open_documents = std::vector<BlamEditorDocument*>() |
The list of open documents. More... | |
The main Guerilla window.
guerilla_window::guerilla_window | ( | QWidget * | parent = Q_NULLPTR | ) |
Initializes the application window.
guerilla_window::~guerilla_window | ( | ) |
BlamConfigurationFile* guerilla_window::config |
Pointer to the Guerilla configuration file.