2016-10-21 12:37:26 +05:30
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "ITheme.h"
|
|
|
|
|
|
|
|
class SystemTheme: public ITheme
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
SystemTheme();
|
|
|
|
virtual ~SystemTheme() {}
|
2017-01-18 07:15:04 +05:30
|
|
|
void apply(bool initial) override;
|
2016-10-21 12:37:26 +05:30
|
|
|
|
|
|
|
QString id() override;
|
|
|
|
QString name() override;
|
2016-10-22 05:13:36 +05:30
|
|
|
QString qtTheme() override;
|
2017-01-16 03:26:03 +05:30
|
|
|
bool hasStyleSheet() override;
|
2016-10-21 12:37:26 +05:30
|
|
|
QString appStyleSheet() override;
|
2017-01-16 03:26:03 +05:30
|
|
|
bool hasColorScheme() override;
|
2016-10-21 12:37:26 +05:30
|
|
|
QPalette colorScheme() override;
|
2016-11-06 08:59:12 +05:30
|
|
|
double fadeAmount() override;
|
|
|
|
QColor fadeColor() override;
|
2016-10-21 12:37:26 +05:30
|
|
|
private:
|
|
|
|
QPalette systemPalette;
|
|
|
|
QString systemTheme;
|
|
|
|
};
|