13 #ifndef QmitkDoseValueDelegate_h 14 #define QmitkDoseValueDelegate_h 17 #include <QStyledItemDelegate> 39 void paint(QPainter *painter,
const QStyleOptionViewItem &option
40 ,
const QModelIndex &index)
const override;
45 QWidget *createEditor(QWidget *parent,
const QStyleOptionViewItem &option
46 ,
const QModelIndex &index)
const override;
51 void setEditorData(QWidget *editor,
const QModelIndex &index)
const override;
56 void setModelData(QWidget *editor, QAbstractItemModel* model,
const QModelIndex &index)
const override;
An item delegate for rendering and editing dose values. The delegate assumes that the model uses the ...