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