Elaztek Developer Hub
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 
7 
8 #ifndef KEYSTONE
9 #define KEYSTONE
10 #endif
11 
12 class BlamEditorWindow;
13 
21 {
22  Output,
25 };
26 
30 class BlamEditorToolWindow : public QDockWidget
31 {
32 protected:
33 
35 
40 
41 public:
42 
50 
55 
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.