From 37cc59c04d0573a42d67242135495c0a0729f965 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 6 Nov 2016 05:48:52 +0100 Subject: GH-378 add a resource search path to custom themes This allows adding images and other bits and pieces to themes. --- 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 9c071e0a..8070efb1 100644 --- a/application/themes/ITheme.h +++ b/application/themes/ITheme.h @@ -13,6 +13,10 @@ public: virtual QPalette colorScheme() = 0; virtual QColor fadeColor() = 0; virtual double fadeAmount() = 0; + virtual QStringList searchPaths() + { + return {}; + } static QPalette fadeInactive(QPalette in, qreal bias, QColor color); }; -- cgit v1.2.3