summaryrefslogtreecommitdiffstats
path: root/application/themes/CustomTheme.h
blob: e5d3625cb21a465b339c16f583465048e4ae0df9 (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
#pragma once

#include "ITheme.h"

class CustomTheme: public ITheme
{
public:
	CustomTheme(ITheme * baseTheme, QString folder);
	virtual ~CustomTheme() {}

	QString id() override;
	QString name() override;
	QString appStyleSheet() 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;
};