StyleSec.
More...
#include <stylesheets.h>
|
static void | getStyleSheet (QString &stylesheet, const QString &icons_theme, const int theme_id) |
| Provides the requested stylesheet. More...
|
|
|
static void | makeStyleSheet (QString &ss, const std::unordered_map< std::string, QString > &style, const QString &theme) |
| Builds the final stylesheet upon the generic model. More...
|
|
StyleSec.
Utilities for the stylesheets
◆ getStyleSheet()
void StyleSec::getStyleSheet |
( |
QString & |
stylesheet, |
|
|
const QString & |
icons_theme, |
|
|
const int |
theme_id |
|
) |
| |
|
static |
Provides the requested stylesheet.
- Parameters
-
stylesheet | Will hold the stylesheet |
icons_theme | The theme selected for the Icons |
theme_id | The theme selected for the Window |
◆ makeStyleSheet()
void StyleSec::makeStyleSheet |
( |
QString & |
ss, |
|
|
const std::unordered_map< std::string, QString > & |
style, |
|
|
const QString & |
theme |
|
) |
| |
|
staticprivate |
Builds the final stylesheet upon the generic model.
- Parameters
-
ss | Will hold the stylesheet |
style | The key-value pairs to be applied at the generic |
theme | The theme selected for the Icons |
The documentation for this class was generated from the following files:
- logdoctor/utilities/stylesheets.h
- logdoctor/utilities/stylesheets.cpp