From bc753859b5ab5d1402940024c0478548165b57f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 6 Nov 2016 04:29:12 +0100 Subject: GH-378 add basic custom theme support Files you can customize are created in themes/custom/ --- application/themes/ITheme.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'application/themes/ITheme.h') diff --git a/application/themes/ITheme.h b/application/themes/ITheme.h index 969969be..9c071e0a 100644 --- a/application/themes/ITheme.h +++ b/application/themes/ITheme.h @@ -11,4 +11,8 @@ public: 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); }; -- cgit v1.2.3