23 #ifndef __qMRMLDoubleSpinBoxDelegate_h 24 #define __qMRMLDoubleSpinBoxDelegate_h 27 #include <QStyledItemDelegate> 28 #include <QModelIndex> 31 #include "qSlicerSegmentationsModuleWidgetsExport.h" 42 QWidget *createEditor(QWidget *parent,
const QStyleOptionViewItem &option,
const QModelIndex &index)
const;
44 void setEditorData(QWidget *editor,
const QModelIndex &index)
const;
45 void setModelData(QWidget *editor, QAbstractItemModel *model,
const QModelIndex &index)
const;
47 void updateEditorGeometry(QWidget *editor,
const QStyleOptionViewItem &option,
const QModelIndex &index)
const;
50 void commitSenderData();