The AStyle class encapsulates style and stylesheet logic.
More...
#include <style.h>
|
enum class | StyleType { Light
, Dark
} |
|
|
static void | setup () |
| Setup Application style by reading from openPilotLog.ini.
|
|
static void | setStyle (const QString &style_key) |
|
static void | setStyle (const StyleSheet &style_sheet) |
|
static void | setStyle (const QPalette &palette) |
|
static QString | getCurrentStyle () |
|
static StyleType | getStyleType () |
|
static QPalette | darkPalette () |
|
static const QString & | style () |
|
static void | loadStylesComboBox (QComboBox *combo_box) |
|
|
static const QStringList | styles = QStyleFactory::keys() |
|
static const QString | defaultStyle = QStringLiteral("Fusion") |
|
static const QList< StyleSheet > | styleSheets |
|
The AStyle class encapsulates style and stylesheet logic.
◆ styleSheets
Initial value:= {
{QLatin1String("Breeze"), QLatin1String(":breeze_light.qss")},
{QLatin1String("Breeze-Dark"), QLatin1String(":breeze_dark.qss")},
{QLatin1String("QDarkStyle"), QLatin1String(":qdarkstyle/qdarkstyle.qss")},
}
The documentation for this class was generated from the following files:
- src/classes/style.h
- src/classes/style.cpp