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.
sapien_preferences.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <QWidget>
4 #include "ui_sapien_preferences.h"
5 
7 
8 class sapien_preferences : public QWidget
9 {
10  Q_OBJECT
11 
12 public:
13  sapien_preferences(QWidget *parent = Q_NULLPTR);
15 
16 private:
17  Ui::sapien_preferences ui;
18 
19  qt_style_editor style_editor;
20 
21 private slots:
22  void btn_theme_editor_Click();
23  void cbox_appearance_theme_IndexChanged(int index);
24  void cbox_theme_variant_IndexChanged(int index);
25 };
sapien_preferences
Definition: sapien_preferences.h:8
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
BlamEditorTheme::GetVariants
std::vector< BlamEditorThemeVariant > GetVariants()
Retrieves the list of theme variants.
Definition: BlamEditorTheme.cpp:153
sapien_preferences::sapien_preferences
sapien_preferences(QWidget *parent=Q_NULLPTR)
Definition: sapien_preferences.cpp:6
BlamEditorTheme::ApplyTheme
bool ApplyTheme()
Applies this theme to the application.
Definition: BlamEditorTheme.cpp:37
sapien_preferences::~sapien_preferences
~sapien_preferences()
Definition: sapien_preferences.cpp:24
BlamKeystone::Themes::GetTheme
KEYSTONE BlamEditorTheme * GetTheme(std::string name)
Retrieves a theme.
Definition: themes.cpp:320
BlamEditorTheme::GetName
std::string GetName()
Retrieves the theme name.
Definition: BlamEditorTheme.cpp:123
sapien_preferences.h
BlamKeystone::Themes::GetThemeList
KEYSTONE std::vector< BlamEditorTheme > * GetThemeList()
Retrieves the list of loaded themes.
Definition: themes.cpp:315
qt_style_editor
A style editing window.
Definition: qt_style_editor.h:15
qt_style_editor.h