13 #ifndef QmitkInitialValuesModel_h
14 #define QmitkInitialValuesModel_h
16 #include <QAbstractTableModel>
56 void addInitialParameterImage(
const mitk::DataNode* node, mitk::ModelTraitsInterface::ParametersType::size_type paramIndex);
58 bool hasValidInitialValues()
const;
60 void resetInitialParameterImage();
69 Qt::ItemFlags flags(
const QModelIndex& index)
const override;
70 QVariant data(
const QModelIndex& index,
int role)
const override;
71 QVariant headerData(
int section, Qt::Orientation orientation,
int role)
const override;
72 int rowCount(
const QModelIndex& parent = QModelIndex())
const override;
73 int columnCount(
const QModelIndex& parent = QModelIndex())
const override;
74 bool setData(
const QModelIndex& index,
const QVariant& value,
int role = Qt::EditRole)
override;
80 int valueType(
const QModelIndex& index)
const;
85 typedef std::map<mitk::ModelTraitsInterface::ParametersType::size_type, mitk::DataNode::ConstPointer> ImageMapType;
86 ImageMapType m_ParameterImageMap;