GH-378 add a resource search path to custom themes

This allows adding images and other bits and pieces to themes.
This commit is contained in:
Petr Mrázek
2016-11-06 05:48:52 +01:00
parent bc753859b5
commit 37cc59c04d
4 changed files with 14 additions and 1 deletions

View File

@ -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);
};