pollymc/application/themes/ITheme.h
Petr Mrázek bc753859b5 GH-378 add basic custom theme support
Files you can customize are created in themes/custom/
2016-11-06 04:29:12 +01:00

19 lines
402 B
C++

#pragma once
#include <QString>
#include <QPalette>
class ITheme
{
public:
virtual ~ITheme() {}
virtual QString id() = 0;
virtual QString name() = 0;
virtual QString appStyleSheet() = 0;
virtual QString qtTheme() = 0;
virtual QPalette colorScheme() = 0;
virtual QColor fadeColor() = 0;
virtual double fadeAmount() = 0;
static QPalette fadeInactive(QPalette in, qreal bias, QColor color);
};