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