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

Method data

Modules/SegmentationUI/src/QmitkFlatLabelInstanceProxyModel.cpp:114–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114QVariant QmitkFlatLabelInstanceProxyModel::data(const QModelIndex& index, int role) const
115{
116 if (!index.isValid() || !sourceModel())
117 return QVariant();
118 QModelIndex src = this->mapToSource(index);
119 return sourceModel()->data(src, role);
120}
121
122void QmitkFlatLabelInstanceProxyModel::OnSourceModelReset()
123{

Callers 1

Calls 1

mapToSourceMethod · 0.95

Tested by

no test coverage detected