2016-11-06 08:59:12 +05:30
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "ITheme.h"
|
|
|
|
|
|
|
|
class CustomTheme: public ITheme
|
|
|
|
{
|
|
|
|
public:
|
2018-07-15 18:21:05 +05:30
|
|
|
CustomTheme(ITheme * baseTheme, QString folder);
|
|
|
|
virtual ~CustomTheme() {}
|
2016-11-06 08:59:12 +05:30
|
|
|
|
2018-07-15 18:21:05 +05:30
|
|
|
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;
|
2016-11-06 08:59:12 +05:30
|
|
|
|
|
|
|
private: /* data */
|
2018-07-15 18:21:05 +05:30
|
|
|
QPalette m_palette;
|
|
|
|
QColor m_fadeColor;
|
|
|
|
double m_fadeAmount;
|
|
|
|
QString m_styleSheet;
|
|
|
|
QString m_name;
|
|
|
|
QString m_id;
|
|
|
|
QString m_widgets;
|
2016-11-06 08:59:12 +05:30
|
|
|
};
|
|
|
|
|