NOISSUE add hack for system themes. Maybe it works?

This commit is contained in:
Petr Mrázek
2017-01-15 22:56:03 +01:00
parent 71584fb8cc
commit 944ff256b2
10 changed files with 71 additions and 3 deletions

View File

@ -10,6 +10,11 @@ QString DarkTheme::name()
return QObject::tr("Dark");
}
bool DarkTheme::hasColorScheme()
{
return true;
}
QPalette DarkTheme::colorScheme()
{
QPalette darkPalette;
@ -39,6 +44,11 @@ QColor DarkTheme::fadeColor()
return QColor(49,54,59);
}
bool DarkTheme::hasStyleSheet()
{
return true;
}
QString DarkTheme::appStyleSheet()
{
return "QToolTip { color: #ffffff; background-color: #2a82da; border: 1px solid white; }";