10 #define SetObjectStyleSheet(object, name) StyleSheet::instance().setStyleSheet(object, name) 16 static const QString App =
"app";
17 static const QString Invalid =
"invalid";
18 static const QString TableViewLight =
"tableviewlight";
19 static const QString ButtonBlack =
"buttonblack";
20 static const QString ButtonWhite =
"buttonwhite";
21 static const QString ButtonBlue =
"buttonblue";
22 static const QString ButtonTransparent =
"buttontransparent";
23 static const QString ButtonTransparentBordered =
"buttontransparentbordered";
24 static const QString ToolBlack =
"toolblack";
25 static const QString ToolGroupBlack =
"toolgroupblack";
26 static const QString ToolSubBlack =
"toolsubblack";
27 static const QString TreeView =
"treeview";
28 static const QString ScrollBarLight =
"scrollbarlight";
29 static const QString ScrollBarDark =
"scrollbardark";
38 void setStyleSheet(QWidget* widget,
const QString& style_name);
39 void setStyleSheet(QApplication* app,
const QString& style_name);
42 QString getStyleSheet(
const QString& style_name);
45 void setObjectStyleSheet(
T*
object,
const QString& style_name);
50 #endif // STYLESHEET_H
QMap< QString, QString > m_cacheStyles
Singleton class that manage the styles.
Names of the styles that will be used for the GUI components appearance.