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

Method removePreset

Modules/QtWidgets/src/QmitkLevelWindowPresetDefinitionDialog.cpp:99–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99void QmitkLevelWindowPresetDefinitionDialog::removePreset()
100{
101 QModelIndex index(m_SortModel.mapToSource(m_Controls->presetView->selectionModel()->currentIndex()));
102
103 if (!index.isValid())
104 return;
105
106 m_TableModel->removePreset(index);
107}
108
109void QmitkLevelWindowPresetDefinitionDialog::changePreset()
110{

Callers

nothing calls this directly

Calls 5

mapToSourceMethod · 0.80
QModelIndexClass · 0.50
rowMethod · 0.45
eraseMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected