mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-09-01 12:39:30 +00:00
25 lines
533 B
C++
25 lines
533 B
C++
#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;
|
|
};
|