Creates a set of QComboBoxes that allow the user to select the type of data and preferred display widget for the item.
#include <Tools/GlobalsComparison/Application/Widgets/editorselectoritemdelegate.h>
Inherits QStyledItemDelegate.
|
| EditorSelectorItemDelegate (QObject *parent=nullptr) |
|
QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const Q_DECL_OVERRIDE |
|
bool | editorEvent (QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index) Q_DECL_OVERRIDE |
|
void | setEditorData (QWidget *editor, const QModelIndex &index) const Q_DECL_OVERRIDE |
|
void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const Q_DECL_OVERRIDE |
|
void | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const Q_DECL_OVERRIDE |
|
◆ EditorSelectorItemDelegate()
◆ createEditor()
QWidget * createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
◆ editorEvent()
bool editorEvent |
( |
QEvent * |
event, |
|
|
QAbstractItemModel * |
model, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| |
◆ setEditorData()
void setEditorData |
( |
QWidget * |
editor, |
|
|
const QModelIndex & |
index |
|
) |
| const |
◆ setModelData()
void setModelData |
( |
QWidget * |
editor, |
|
|
QAbstractItemModel * |
model, |
|
|
const QModelIndex & |
index |
|
) |
| const |
◆ updateEditorGeometry()
void updateEditorGeometry |
( |
QWidget * |
editor, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |