diff options
author | Arno <arno@disconnect.de> | 2017-03-07 10:22:01 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2017-03-07 10:22:01 +0100 |
commit | 57357d21c3633ff7dbb120e231b8b9eaf9821fb6 (patch) | |
tree | 9378471bc18825b678e65b93313259335d8531c1 /helper.h | |
parent | fad486922aa8ac8a4e55bd154bd8817f759d7ebd (diff) | |
download | BeetPlayer-57357d21c3633ff7dbb120e231b8b9eaf9821fb6.tar.gz BeetPlayer-57357d21c3633ff7dbb120e231b8b9eaf9821fb6.tar.bz2 BeetPlayer-57357d21c3633ff7dbb120e231b8b9eaf9821fb6.zip |
Implement color choosing dialog for QTreeViews
Hmm, this shouldn't be so hard. Quite a lot of code for such an easy
thing, but maybe it's just me and I'm over-complicating things...
Diffstat (limited to 'helper.h')
-rw-r--r-- | helper.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3,13 +3,17 @@ #include <QIcon> #include <QChar> +#include <QColor> class QAction; +class QLabel; namespace Helper { QIcon iconFromQChar(const QChar &c, int pixelSize); QAction* createSeparator(QObject *parent); quint64 lengthInSeconds(const QString &file); + QColor colorFromLabel(QLabel *l); + void fillLabel(QLabel *l, QColor c); } #endif // HELPER_H |