MCPcopy Create free account
hub / github.com/MITK/MITK / headerData

Method headerData

Modules/MatchPointRegistrationUI/src/QmitkMAPAlgorithmModel.cpp:113–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113QVariant QmitkMAPAlgorithmModel::headerData(int section, Qt::Orientation orientation, int role) const
114{
115 if ((Qt::DisplayRole == role) && (Qt::Horizontal == orientation))
116 {
117 if (section == 0)
118 {
119 return QVariant("Property");
120 }
121 else if (section == 1)
122 {
123 return QVariant("Value");
124 }
125 }
126 return QVariant();
127}
128
129bool QmitkMAPAlgorithmModel::setData(const QModelIndex &index, const QVariant &value, int role)
130{

Callers 2

streamModelToStringMethod · 0.45
StreamModelToStringMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected