13 #ifndef QmitkSimpleBarrierTypeDelegate_h 14 #define QmitkSimpleBarrierTypeDelegate_h 17 #include <QStyledItemDelegate> 33 QWidget* createEditor(QWidget* parent,
const QStyleOptionViewItem& option
34 ,
const QModelIndex& index)
const override;
36 void setEditorData(QWidget* editor,
const QModelIndex& index)
const override;
38 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.
#define MITKMODELFITUI_EXPORT