QSize sizeHint( const QStyleOptionViewItem&, const QModelIndex& ) const;
void paint( QPainter*, const QStyleOptionViewItem&, const QModelIndex& ) const;
QRect downloadButtonRect(QRect line) const;
+ QRect authorRect(const QModelIndex& index) const;
private:
void createPlayIcon();
const QModelIndex& index ) const;
// active track painting
- void paintSelectedOverlay( QPainter *painter, qreal x, qreal y, qreal w, qreal h ) const;
void paintActiveOverlay( QPainter *painter, qreal x, qreal y, qreal w, qreal h ) const;
void paintPlayIcon(QPainter *painter) const;
bool downloadInfo;
QProgressBar *progressBar;
+
};
#endif