Elaztek Developer Hub
Switch Project...
blam!
Editing Kit
Guerilla
Sapien
Tool
Foundry
Libraries
Keystone
Strings
Forums
Discord
Doxygen
Jenkins
Guides
Gitlab
Blamite Game Engine - Keystone
00319.06.14.21.0211.blamite
A library that enables the use of Qt in Blamite's editing tools.
BlamEditorToolWindow.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
#include <qdockwidget.h>
5
6
#include "
components/themes/themes.h
"
7
8
#ifndef KEYSTONE
9
#define KEYSTONE
10
#endif
11
12
class
BlamEditorWindow
;
13
20
enum class
BlamEditorToolWindowType
21
{
22
Output
,
23
ExplorerClassic
,
24
Unspecified
25
};
26
30
class
BlamEditorToolWindow
:
public
QDockWidget
31
{
32
protected
:
33
34
BlamEditorWindow
*
parent_window
=
nullptr
;
35
39
BlamEditorToolWindowType
window_type
=
BlamEditorToolWindowType::Unspecified
;
40
41
public
:
42
49
BlamEditorToolWindow
(
BlamEditorWindow
* _window,
BlamEditorToolWindowType
_window_type);
50
54
~BlamEditorToolWindow
();
55
61
BlamEditorToolWindowType
GetToolWindowType
();
62
68
virtual
void
OnThemeChange
(
BlamEditorTheme
* new_theme) {};
69
};
BlamEditorToolWindow
Definition:
BlamEditorToolWindow.h:30
BlamEditorToolWindow::OnThemeChange
virtual void OnThemeChange(BlamEditorTheme *new_theme)
Called when the active theme is changed.
Definition:
BlamEditorToolWindow.h:68
BlamEditorToolWindowType::Unspecified
@ Unspecified
BlamEditorToolWindow::GetToolWindowType
BlamEditorToolWindowType GetToolWindowType()
Retrieves the type of tool window that this tool window represents.
Definition:
BlamEditorToolWindow.cpp:16
BlamEditorToolWindow::window_type
BlamEditorToolWindowType window_type
The tool window type.
Definition:
BlamEditorToolWindow.h:39
themes.h
BlamEditorToolWindowType::ExplorerClassic
@ ExplorerClassic
BlamEditorTheme
Class representing a Blamite Editor Theme.
Definition:
themes.h:47
BlamEditorToolWindow::BlamEditorToolWindow
BlamEditorToolWindow(BlamEditorWindow *_window, BlamEditorToolWindowType _window_type)
Constructs a new tool window.
Definition:
BlamEditorToolWindow.cpp:5
BlamEditorToolWindow::~BlamEditorToolWindow
~BlamEditorToolWindow()
Releases a tool window.
Definition:
BlamEditorToolWindow.cpp:11
BlamEditorToolWindowType
BlamEditorToolWindowType
Enumerator containing all possible editor tool window types.
Definition:
BlamEditorToolWindow.h:20
BlamEditorToolWindow::parent_window
BlamEditorWindow * parent_window
The parent window that owns this tool window.
Definition:
BlamEditorToolWindow.h:34
BlamEditorWindow
Interface class that all main editing tool windows inherit from.
Definition:
BlamEditorWindow.h:47
BlamEditorToolWindowType::Output
@ Output
BlamEditorWindowType::Unspecified
@ Unspecified
Indicates that the editor window type is unknown. This should never happen.
keystone
components
ui
tool_window
BlamEditorToolWindow.h
Generated on Mon Jun 14 2021 02:30:43 for Blamite Game Engine - Keystone by
1.8.17