2016-10-21 08:07:26 +01:00
|
|
|
#pragma once
|
|
|
|
#include <QString>
|
|
|
|
#include <QPalette>
|
|
|
|
|
|
|
|
class ITheme
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual ~ITheme() {}
|
|
|
|
virtual QString id() = 0;
|
|
|
|
virtual QString name() = 0;
|
|
|
|
virtual QString appStyleSheet() = 0;
|
2016-10-22 00:43:36 +01:00
|
|
|
virtual QString qtTheme() = 0;
|
2016-10-21 08:07:26 +01:00
|
|
|
virtual QPalette colorScheme() = 0;
|
2016-11-06 03:29:12 +00:00
|
|
|
virtual QColor fadeColor() = 0;
|
|
|
|
virtual double fadeAmount() = 0;
|
2016-11-06 04:48:52 +00:00
|
|
|
virtual QStringList searchPaths()
|
|
|
|
{
|
|
|
|
return {};
|
|
|
|
}
|
2016-11-06 03:29:12 +00:00
|
|
|
|
|
|
|
static QPalette fadeInactive(QPalette in, qreal bias, QColor color);
|
2016-10-21 08:07:26 +01:00
|
|
|
};
|