Support selection and better hover.

This commit is contained in:
Teo Mrnjavac 2015-12-10 16:13:31 +01:00
parent cc5520edda
commit 36f30b1ede
2 changed files with 70 additions and 4 deletions

View file

@ -64,6 +64,7 @@ private:
void drawPartitions( QPainter* painter, const QRect& rect, const QModelIndex& parent );
void drawSection( QPainter* painter, const QRect& rect_, int x, int width, const QModelIndex& index );
QModelIndex indexAt( const QPoint& point, const QRect& rect, const QModelIndex& parent ) const;
QRect visualRect( const QModelIndex& index, const QRect& rect, const QModelIndex& parent ) const;
struct Item
{