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

Method RebuildMapping

Modules/SegmentationUI/src/QmitkFlatLabelInstanceProxyModel.cpp:39–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void QmitkFlatLabelInstanceProxyModel::RebuildMapping()
40{
41 this->beginResetModel();
42 m_SourceIndexes.clear();
43 if (sourceModel())
44 this->CollectAcceptedIndexes(QModelIndex());
45 this->endResetModel();
46}
47
48void QmitkFlatLabelInstanceProxyModel::CollectAcceptedIndexes(const QModelIndex& parent)
49{

Callers 3

setSourceModelMethod · 0.95
OnSourceModelResetMethod · 0.95
OnSourceDataChangedMethod · 0.95

Calls 3

QModelIndexClass · 0.50
clearMethod · 0.45

Tested by

no test coverage detected