Elaztek Developer Hub
Blamite Game Engine - Keystone  00402.09.29.23.0627.blamite
A library that enables the use of Qt in Blamite's editing tools.
style_editor_tool.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <QDockWidget>
4 
5 #include "ui_style_editor_tool.h"
6 
10 
15 {
16  Q_OBJECT
17 
18 private:
19  Ui::style_editor_tool ui;
20 
21  qt_style_editor* style_preview = nullptr;
22  QSourceHighlite::QSourceHighliter* highlighter = nullptr;
23 
24 public:
27 
28 private slots:
29  void btn_load_styles_Click();
30  void btn_widget_preview_Click();
31  void btn_apply_Click();
32  void btn_save_Click();
33 
34 };
BlamEditorToolWindow
Base class for all editor tool windows.
Definition: BlamEditorToolWindow.h:37
BlamEditorToolWindow.h
BlamKeystone::GetQApplication
KEYSTONE QApplication * GetQApplication()
Retrieves the pointer to the current Qt application.
Definition: keystone_main.cpp:93
BlamEditorToolWindow_StyleEditor::BlamEditorToolWindow_StyleEditor
BlamEditorToolWindow_StyleEditor()
Definition: style_editor_tool.cpp:9
KeystoneMessageBoxButtons::Ok
@ Ok
Dialog is shown with an [OK] button.
keystone_main.h
QSourceHighlite::QSourceHighliter
Definition: qsourcehighliter.h:35
BlamKeystone::Utils::ShowMessageBox
KEYSTONE KeystoneDialogResult ShowMessageBox(std::string message)
Definition: utils.cpp:279
utils.h
BlamEditorToolWindowType
BlamEditorToolWindowType
Enumerator containing all possible editor tool window types.
Definition: BlamEditorToolWindow.h:21
BlamEditorToolWindowType::StyleEditor
@ StyleEditor
BlamEditorToolWindow_StyleEditor::~BlamEditorToolWindow_StyleEditor
~BlamEditorToolWindow_StyleEditor()
Definition: style_editor_tool.cpp:28
style_editor_tool.h
qsourcehighliter.h
QSourceHighlite::QSourceHighliter::setCurrentLanguage
void setCurrentLanguage(Language language)
Definition: qsourcehighliter.cpp:86
KeystoneMessageBoxType::Info
@ Info
Dialog icon will be a white circle with an i.
qt_style_editor
A style editing window.
Definition: qt_style_editor.h:15
BlamEditorToolWindow_StyleEditor
Definition: style_editor_tool.h:14
qt_style_editor.h