New settings window. Custom active track color
[someplayer] / src / trackrenderer.h
index 620ac98..ba4d73c 100644 (file)
@@ -23,6 +23,7 @@
 #include <QAbstractItemDelegate>
 #include "abstractitemrenderer.h"
 #include <QPainter>
+#include <QPen>
 #include "someplayer.h"
 
 class TrackRenderer : public AbstractItemRenderer
@@ -35,9 +36,14 @@ public:
 
        QSize sizeHint(const QStyleOptionViewItem &option,
                                                   const QModelIndex &index) const;
+       void updateIcons();
+       void setActiveTrackColor(QString);
 
 private:
        QString _icons_theme;
+       QPen _apen;
+       QPen _spen;
+       QPen _sspen;
 };
 
 #endif // TRACKRENDERER_H