|
| DItemDelegate (QObject *const parent=nullptr) |
|
virtual bool | acceptsActivation (const QPoint &pos, const QRect &visualRect, const QModelIndex &index, QRect *activationRect=nullptr) const =0 |
|
virtual bool | acceptsToolTip (const QPoint &pos, const QRect &visualRect, const QModelIndex &index, QRect *tooltipRect=nullptr) const =0 |
| These methods take four parameters: The position on viewport, the rect on viewport, the index, and optionally a parameter into which, if the return value is true, a rectangle can be written for which the return value will be true as well.
|
|
virtual QSize | gridSize () const =0 |
| Returns the gridsize to be set by the view.
|
|
virtual void | mouseMoved (QMouseEvent *e, const QRect &visualRect, const QModelIndex &index)=0 |
|
virtual QPixmap | pixmapForDrag (const QStyleOptionViewItem &option, const QList< QModelIndex > &indexes) const =0 |
|
virtual void | setDefaultViewOptions (const QStyleOptionViewItem &option)=0 |
| Style option with standard values to use for cached rendering.
|
|
virtual void | setSpacing (int spacing)=0 |
|
virtual void | setThumbnailSize (const ThumbnailSize &thumbSize)=0 |
| You must set these options from the view.
|
|