|
| SetupCollectionDelegate (QAbstractItemView *const view, QObject *const parent=nullptr) |
|
QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
|
QList< QWidget * > | createItemWidgets (const QModelIndex &index) const override |
| Creates the list of widgets needed for an item.
|
|
bool | editorEvent (QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index) override |
|
void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
|
void | setEditorData (QWidget *editor, const QModelIndex &index) const override |
|
void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const override |
|
QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const override |
|
void | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
|
void | updateItemWidgets (const QList< QWidget * > &widgets, const QStyleOptionViewItem &option, const QPersistentModelIndex &index) const override |
| Updates a list of widgets for its use inside of the delegate (painting or event handling).
|
|
| DWItemDelegate (QAbstractItemView *const itemView, QObject *const parent=nullptr) |
| Creates a new ItemDelegate to be used with a given itemview.
|
|
QPersistentModelIndex | focusedIndex () const |
| Retrieves the currently focused index.
|
|
QAbstractItemView * | itemView () const |
| Retrieves the item view this delegate is monitoring.
|
|