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