13 #ifndef QmitkSimpleBarrierParametersDelegate_h
14 #define QmitkSimpleBarrierParametersDelegate_h
18 #include <QStyledItemDelegate>
37 void paint(QPainter* painter,
const QStyleOptionViewItem& option
38 ,
const QModelIndex& index)
const override;
40 QWidget* createEditor(QWidget* parent,
const QStyleOptionViewItem& option
41 ,
const QModelIndex& index)
const override;
43 void setEditorData(QWidget* editor,
const QModelIndex& index)
const override;
45 void setModelData(QWidget* editor, QAbstractItemModel* model,
const QModelIndex& index)
const override;