![]() |
Blamite Game Engine - Keystone
00389.06.29.23.2106.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
Base class for all editor tool windows. More...
#include <BlamEditorToolWindow.h>
Inheritance diagram for BlamEditorToolWindow:
Collaboration diagram for BlamEditorToolWindow:Public Member Functions | |
| BlamEditorToolWindow (BlamEditorToolWindowType _window_type) | |
| Constructs a new tool window. More... | |
| ~BlamEditorToolWindow () | |
| Releases a tool window. More... | |
| BlamEditorToolWindowType | GetToolWindowType () |
| Retrieves the type of tool window that this tool window represents. More... | |
| void | LoadConfig () |
| Loads or creates the configuration file for this tool window. More... | |
| virtual void | OnThemeChange (BlamEditorTheme *new_theme) |
| Called when the active theme is changed. More... | |
| virtual void | OnToolOpen () |
| Called when the tool window is being opened. More... | |
| virtual void | OnToolClose () |
| Called when the tool window is being closed. More... | |
| void | closeEvent (QCloseEvent *event) |
| Overrides the close event. More... | |
| void | OnDockAreaChanged (Qt::DockWidgetArea area) |
| Called when the dock area of the tool window is changed. More... | |
| Qt::DockWidgetArea | GetDockWidgetArea () |
Public Attributes | |
| std::string | config_filename = "" |
| The name of the configuration filename. More... | |
| BlamConfigurationFile * | config = nullptr |
| The configuration file for this tool window. Not always used. More... | |
Protected Attributes | |
| BlamEditorToolWindowType | window_type = BlamEditorToolWindowType::Unspecified |
| The tool window type. More... | |
| Qt::DockWidgetArea | dock_position = Qt::DockWidgetArea::LeftDockWidgetArea |
Base class for all editor tool windows.
Tool windows refer to any dockable window within the editing kit. The functionality of these can vary widely, and serve as the primary way to interact with the editing kit.
| BlamEditorToolWindow::BlamEditorToolWindow | ( | BlamEditorToolWindowType | _window_type | ) |
Constructs a new tool window.
| _window_type | - The type of the new tool window. |
Here is the call graph for this function:| BlamEditorToolWindow::~BlamEditorToolWindow | ( | ) |
Releases a tool window.
This will ensure that the parent window no longer lists this window as an open tool window.
Here is the call graph for this function:| void BlamEditorToolWindow::closeEvent | ( | QCloseEvent * | event | ) |
Overrides the close event.
This will stop any default window close functionality and will instead instruct the parent window to close the tool window itself - preventing a scenario where the tool window is closed and unable to be reopened later.
Here is the call graph for this function:| Qt::DockWidgetArea BlamEditorToolWindow::GetDockWidgetArea | ( | ) |
Here is the caller graph for this function:| BlamEditorToolWindowType BlamEditorToolWindow::GetToolWindowType | ( | ) |
Retrieves the type of tool window that this tool window represents.
Here is the caller graph for this function:| void BlamEditorToolWindow::LoadConfig | ( | ) |
Loads or creates the configuration file for this tool window.
Here is the call graph for this function:
Here is the caller graph for this function:| void BlamEditorToolWindow::OnDockAreaChanged | ( | Qt::DockWidgetArea | area | ) |
Called when the dock area of the tool window is changed.
| area | - The new dock area of the tool window. |
Here is the caller graph for this function:
|
inlinevirtual |
Called when the active theme is changed.
| new_theme | - The newly applied theme. |
|
inlinevirtual |
Called when the tool window is being closed.
Here is the caller graph for this function:
|
inlinevirtual |
Called when the tool window is being opened.
Reimplemented in BlamEditorToolWindow_ExplorerBar.
Here is the caller graph for this function:| BlamConfigurationFile* BlamEditorToolWindow::config = nullptr |
The configuration file for this tool window. Not always used.
| std::string BlamEditorToolWindow::config_filename = "" |
The name of the configuration filename.
|
protected |
|
protected |
The tool window type.
See BlamEditorToolWindowType for details.