2016-10-21 08:07:26 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "ITheme.h"
|
|
|
|
|
|
|
|
class SystemTheme: public ITheme
|
|
|
|
{
|
|
|
|
public:
|
2018-07-15 13:51:05 +01:00
|
|
|
SystemTheme();
|
|
|
|
virtual ~SystemTheme() {}
|
|
|
|
void apply(bool initial) override;
|
2016-10-21 08:07:26 +01:00
|
|
|
|
2018-07-15 13:51:05 +01:00
|
|
|
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;
|
2016-10-21 08:07:26 +01:00
|
|
|
private:
|
2018-07-15 13:51:05 +01:00
|
|
|
QPalette systemPalette;
|
|
|
|
QString systemTheme;
|
2016-10-21 08:07:26 +01:00
|
|
|
};
|