38 w->setForegroundRole(QPalette::PlaceholderText);
44 return QStringLiteral(
"color: palette(mid);");
49 return QStringLiteral(
"color: palette(mid); font-style: italic;");
55 return QStringLiteral(
"color: %1;")
62 return QStringLiteral(
"border: 1px solid %1;")
71 return QStringLiteral(
"font-weight: bold;");
81 return QStringLiteral(
"background-color: %1; color: %2;")
97 return QStringLiteral(
"background-color: %1; color: %2;")
98 .arg(bg.name(QColor::HexRgb), fg.name(QColor::HexRgb));
static ThemeManager * instance()
Definition thememanager.cpp:37
const ThemeColors & colors() const
Definition thememanager.cpp:71
int w
Definition mesh2dresultsexport.cpp:387
Definition themehelpers.h:30
QString bannerStyle(Banner kind)
Definition themehelpers.h:88
QString hintItalicStyle()
Definition themehelpers.h:47
QString sectionHeadingStyle()
Definition themehelpers.h:69
QString errorFillStyle()
Definition themehelpers.h:78
Banner
Definition themehelpers.h:32
QString errorTextStyle()
Definition themehelpers.h:53
QString errorBorderStyle()
Definition themehelpers.h:60
void applyHintRole(QWidget *w)
Definition themehelpers.h:35
QString hintStyle()
Definition themehelpers.h:42
TokenKind kind
Definition queryparser.cpp:34
Definition themetokens.h:25
QColor bannerErrorFg
Definition themetokens.h:48
QColor bannerSuccessBg
Definition themetokens.h:49
QColor bannerSuccessFg
Definition themetokens.h:49
QColor bannerInfoBg
Definition themetokens.h:50
QColor bannerErrorBg
Definition themetokens.h:48
QColor bannerInfoFg
Definition themetokens.h:50