|
| ItemCategoryDrawer (ItemCategorizedView *const parent) |
|
int | categoryHeight (const QModelIndex &index, const QStyleOption &option) const override |
|
void | drawCategory (const QModelIndex &index, int sortRole, const QStyleOption &option, QPainter *painter) const override |
| This method purpose is to draw a category represented by the given.
|
|
void | invalidatePaintingCache () |
|
virtual int | maximumHeight () const |
|
void | setDefaultViewOptions (const QStyleOptionViewItem &option) |
|
void | setLowerSpacing (int spacing) |
|
| DCategoryDrawer (DCategorizedView *const view) |
| Construct a category drawer for a given view.
|
|
virtual int | leftMargin () const |
|
virtual int | rightMargin () const |
|
DCategorizedView * | view () const |
|
|
void | actionRequested (int action, const QModelIndex &index) |
| Emit this signal on your subclass implementation to notify that something happened.
|
|
void | collapseOrExpandClicked (const QModelIndex &index) |
| This signal becomes emitted when collapse or expand has been clicked.
|
|
virtual void | mouseButtonDoubleClicked (const QModelIndex &index, const QRect &blockRect, QMouseEvent *event) |
| Method called when the mouse button has been double clicked.
|
|
virtual void | mouseButtonPressed (const QModelIndex &index, const QRect &blockRect, QMouseEvent *event) |
| Method called when the mouse button has been pressed.
|
|
virtual void | mouseButtonReleased (const QModelIndex &index, const QRect &blockRect, QMouseEvent *event) |
| Method called when the mouse button has been released.
|
|
virtual void | mouseLeft (const QModelIndex &index, const QRect &blockRect) |
| Method called when the mouse button has left this block.
|
|
virtual void | mouseMoved (const QModelIndex &index, const QRect &blockRect, QMouseEvent *event) |
| Method called when the mouse has been moved.
|
|