#include <Vars.h>
◆ Vars()
| resource_managers::Vars::Vars |
( |
const Profile * |
profile, |
|
|
QMap< QString, qml_components::ThemeFamily > |
availableThemeFamilies, |
|
|
QList< QString > |
assetsPaths, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~Vars()
| resource_managers::Vars::~Vars |
( |
| ) |
|
|
override |
◆ generalVarsChanged
| void resource_managers::Vars::generalVarsChanged |
( |
| ) |
|
|
signal |
◆ getGeneralVars()
| auto resource_managers::Vars::getGeneralVars |
( |
| ) |
-> GeneralVars* |
◆ getThemeVars()
| auto resource_managers::Vars::getThemeVars |
( |
| ) |
const -> QQmlPropertyMap* |
◆ themeVarsChanged
| void resource_managers::Vars::themeVarsChanged |
( |
| ) |
|
|
signal |
◆ generalVars
The general variables management object of the profile.
◆ themeVars
The theme variables for all loaded themes.
This is a dynamic object that contains a map of maps of maps. In QML, you can access vars like this: themeVars[screen][themeName].varName
- See also
- qml_components::QmlUtils::themeName
The documentation for this class was generated from the following files: