An item delegate for rendering and editing the type of a initial value. It assumes that the type is encoded as int. 0: simple scalar, 1: image.
More...
#include <QmitkInitialValuesTypeDelegate.h>
|
| QmitkInitialValuesTypeDelegate (QObject *parent=nullptr) |
|
QWidget * | createEditor (QWidget *parent, 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 |
|
An item delegate for rendering and editing the type of a initial value. It assumes that the type is encoded as int. 0: simple scalar, 1: image.
Definition at line 25 of file QmitkInitialValuesTypeDelegate.h.
◆ QmitkInitialValuesTypeDelegate()
QmitkInitialValuesTypeDelegate::QmitkInitialValuesTypeDelegate |
( |
QObject * |
parent = nullptr | ) |
|
◆ createEditor()
QWidget* QmitkInitialValuesTypeDelegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ setEditorData()
void QmitkInitialValuesTypeDelegate::setEditorData |
( |
QWidget * |
editor, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ setModelData()
void QmitkInitialValuesTypeDelegate::setModelData |
( |
QWidget * |
editor, |
|
|
QAbstractItemModel * |
model, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
The documentation for this class was generated from the following file: