1 #ifndef TRACKRENDERER_H
2 #define TRACKRENDERER_H
4 #include <QAbstractItemDelegate>
7 class TrackRenderer : public QAbstractItemDelegate
11 explicit TrackRenderer(QObject *parent = 0);
12 void paint(QPainter *painter, const QStyleOptionViewItem &option,
13 const QModelIndex &index) const;
15 QSize sizeHint(const QStyleOptionViewItem &option,
16 const QModelIndex &index) const;
21 void setActiveRow(int);
27 #endif // TRACKRENDERER_H