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.
guerilla_theme_preview.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <QWidget>
4 #include <vector>
5 
7 #include "ui_guerilla_theme_preview.h"
8 
16 class guerilla_theme_preview : public QWidget
17 {
18  Q_OBJECT
19 
20 private slots:
21  void btn_close_Click();
22 
23 private:
24  Ui::guerilla_theme_preview ui;
25 
26  std::vector<BlamEditorTagFieldControl*> fields;
27 
33  void AddField(BlamEditorTagFieldControl* field);
34 
35 public:
36  guerilla_theme_preview(QWidget *parent = Q_NULLPTR);
38 };
KeystoneDialogResult
KeystoneDialogResult
Enumerator containing all possible generic dialog results.
Definition: keystone_api.h:30
guerilla_theme_preview::~guerilla_theme_preview
~guerilla_theme_preview()
Definition: guerilla_theme_preview.cpp:12
BlamKeystone::GetQApplication
KEYSTONE QApplication * GetQApplication()
Retrieves the pointer to the current Qt application.
Definition: keystone_main.cpp:93
QSourceHighlite::QSourceHighliterTheme::theme
QHash< QSourceHighliter::Token, QTextCharFormat > theme(QSourceHighliter::Themes)
Definition: qsourcehighliterthemes.cpp:63
keystone_main.h
themes.h
BlamEditorTagFieldControl
Interface used as a base for all tag field controls.
Definition: tag_fields.h:18
BlamEditorTheme
Class representing a Blamite Editor Theme.
Definition: themes.h:47
BlamKeystoneAPI::OpenLocalURL
KEYSTONE_API bool OpenLocalURL(std::string url)
Opens a local file with the user's default application.
Definition: keystone_api.cpp:94
KeystoneMessageBoxButtons::YesNo
@ YesNo
Dialog is shown with a [Yes] and [No] button.
guerilla_settings.h
keystone_api.h
KeystoneMessageBoxType::Warning
@ Warning
Dialog icon will be a yellow triangle with an exclamation mark.
qt_message_box.h
KeystoneDialogResult::Yes
@ Yes
The user pressed the 'Yes' button.
BlamKeystone::Themes::GetTheme
KEYSTONE BlamEditorTheme * GetTheme(std::string name)
Retrieves a theme.
Definition: themes.cpp:320
qt_message_box::GetResult
KeystoneDialogResult GetResult()
Retrieves the dialog result.
Definition: qt_message_box.cpp:167
guerilla_theme_preview::guerilla_theme_preview
guerilla_theme_preview(QWidget *parent=Q_NULLPTR)
Definition: guerilla_theme_preview.cpp:3
theme_changing_dialog.h
guerilla_theme_preview
The Guerilla theme preview dialog.
Definition: guerilla_theme_preview.h:16
qt_style_editor::SetStylesheetContents
void SetStylesheetContents(QString stylesheet)
Sets the current stylesheet contents.
Definition: qt_style_editor.cpp:33
tag_fields.h
guerilla_theme_preview.h
theme_changing_dialog
A theme changing notice dialog.
Definition: theme_changing_dialog.h:14
qt_message_box
A basic message box dialog.
Definition: qt_message_box.h:39