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.
qt_style_editor.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <QMainWindow>
4 #include "ui_qt_style_editor.h"
5 
15 class qt_style_editor : public QMainWindow
16 {
17  Q_OBJECT
18 
19 private slots:
20  void btn_apply_styles_Clicked();
21  void btn_apply_styles_global_Clicked();
22 
23 private:
24  Ui::qt_style_editor ui;
25 
26 public:
27  qt_style_editor(QWidget *parent = Q_NULLPTR);
29 
35  void SetStylesheetContents(QString stylesheet);
36 };
qt_style_editor::qt_style_editor
qt_style_editor(QWidget *parent=Q_NULLPTR)
Definition: qt_style_editor.cpp:5
BlamKeystone::GetQApplication
KEYSTONE QApplication * GetQApplication()
Retrieves the pointer to the current Qt application.
Definition: keystone_main.cpp:93
keystone_main.h
qt_style_editor::SetStylesheetContents
void SetStylesheetContents(QString stylesheet)
Sets the current stylesheet contents.
Definition: qt_style_editor.cpp:33
qt_style_editor::~qt_style_editor
~qt_style_editor()
Definition: qt_style_editor.cpp:18
qt_style_editor
A style editing window.
Definition: qt_style_editor.h:15
qt_style_editor.h