PrismLauncher/launcher/themes/CustomTheme.h

32 lines
688 B
C
Raw Normal View History

#pragma once
#include "ITheme.h"
class CustomTheme: public ITheme
{
public:
2018-07-15 13:51:05 +01:00
CustomTheme(ITheme * baseTheme, QString folder);
virtual ~CustomTheme() {}
2018-07-15 13:51:05 +01:00
QString id() override;
QString name() override;
bool hasStyleSheet() override;
QString appStyleSheet() override;
bool hasColorScheme() override;
QPalette colorScheme() override;
double fadeAmount() override;
QColor fadeColor() override;
QString qtTheme() override;
QStringList searchPaths() override;
private: /* data */
2018-07-15 13:51:05 +01:00
QPalette m_palette;
QColor m_fadeColor;
double m_fadeAmount;
QString m_styleSheet;
QString m_name;
QString m_id;
QString m_widgets;
};