blob: 9023b13e509a28f687c1e6d3766ec74f3866195b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#pragma once
#include "ITheme.h"
class CustomTheme: public ITheme
{
public:
CustomTheme(ITheme * baseTheme, QString folder);
virtual ~CustomTheme() {}
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 */
QPalette m_palette;
QColor m_fadeColor;
double m_fadeAmount;
QString m_styleSheet;
QString m_name;
QString m_id;
QString m_widgets;
};
|