Elaztek Developer Hub
Blamite Game Engine - Keystone  00326.06.27.21.0407.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
qt_style_editor::SetStylesheetContents
void SetStylesheetContents(QString stylesheet)
Sets the current stylesheet contents.
Definition: qt_style_editor.cpp:31
qt_style_editor::~qt_style_editor
~qt_style_editor()
Definition: qt_style_editor.cpp:16
qt_style_editor
A style editing window.
Definition: qt_style_editor.h:15