blob: 6ced68436a5158d1e9514ff995b4d93fa6e747c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#include "SystemTheme.h"
#include <QApplication>
#include <QStyle>
SystemTheme::SystemTheme()
{
systemPalette = QApplication::style()->standardPalette();
}
QString SystemTheme::id()
{
return "system";
}
QString SystemTheme::name()
{
return QObject::tr("System");
}
QPalette SystemTheme::colorScheme()
{
return systemPalette;
}
QString SystemTheme::appStyleSheet()
{
return QString();
}
|