Elaztek Developer Hub
Blamite Game Engine - Keystone  00386.06.16.23.0646.blamite
A library that enables the use of Qt in Blamite's editing tools.
ThemeChooserItem.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <QWidget>
4 
6 #include "ui_ThemeChooserItem.h"
7 
8 class ThemeChooserItem : public QWidget
9 {
10  Q_OBJECT
11 
12 private:
13  Ui::ThemeChooserItem ui;
14  BlamEditorTheme* theme = nullptr;
15 
16 public:
17  ThemeChooserItem(BlamEditorTheme* _theme, QWidget *parent = Q_NULLPTR);
19 
20 private slots:
21  void btn_apply_Click();
22  void btn_edit_Click();
23 };
BlamEditorTheme::GetAuthor
std::string GetAuthor()
Retrieves the theme author.
Definition: BlamEditorTheme.cpp:128
BlamEditorTheme::ApplyVariant
bool ApplyVariant(std::string variant_name)
Applies a specified theme variant to the application.
Definition: BlamEditorTheme.cpp:78
themes.h
BlamEditorTheme
Class representing a Blamite Editor Theme.
Definition: themes.h:47
ThemeChooserItem
Definition: ThemeChooserItem.h:8
BlamEditorTheme::GetVariants
std::vector< BlamEditorThemeVariant > GetVariants()
Retrieves the list of theme variants.
Definition: BlamEditorTheme.cpp:153
BlamEditorTheme::GetVersion
std::string GetVersion()
Retrieves the theme version.
Definition: BlamEditorTheme.cpp:138
BlamEditorTheme::ApplyTheme
bool ApplyTheme()
Applies this theme to the application.
Definition: BlamEditorTheme.cpp:37
BlamEditorTheme::GetDescription
std::string GetDescription()
Retrieves the theme description.
Definition: BlamEditorTheme.cpp:133
ThemeChooserItem::ThemeChooserItem
ThemeChooserItem(BlamEditorTheme *_theme, QWidget *parent=Q_NULLPTR)
Definition: ThemeChooserItem.cpp:9
BlamEditorTheme::GetName
std::string GetName()
Retrieves the theme name.
Definition: BlamEditorTheme.cpp:123
ThemeChooserItem::~ThemeChooserItem
~ThemeChooserItem()
Definition: ThemeChooserItem.cpp:43
theme_changing_dialog.h
ThemeChooserItem.h
theme_changing_dialog
A theme changing notice dialog.
Definition: theme_changing_dialog.h:14