blob: 18291b68e259b9423925bffd7a0a619350b56024 (
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
|
#pragma once
#include "ITheme.h"
class SystemTheme: public ITheme
{
public:
SystemTheme();
virtual ~SystemTheme() {}
void apply(bool initial) override;
QString id() override;
QString name() override;
QString qtTheme() override;
bool hasStyleSheet() override;
QString appStyleSheet() override;
bool hasColorScheme() override;
QPalette colorScheme() override;
double fadeAmount() override;
QColor fadeColor() override;
private:
QPalette systemPalette;
QString systemTheme;
};
|