sneedmc/launcher/ui/themes/SystemTheme.h

25 lines
533 B
C
Raw Normal View History

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