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

Method PropertyDelete

Modules/QtWidgets/src/QmitkPropertiesTableModel.cpp:237–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235}
236
237void QmitkPropertiesTableModel::PropertyDelete(const itk::Object *caller, const itk::EventObject & /*event*/)
238{
239 if (!m_BlockEvents)
240 {
241 m_BlockEvents = true;
242 int row = this->FindProperty(dynamic_cast<const mitk::BaseProperty *>(caller));
243 if (row >= 0)
244 this->Reset();
245 m_BlockEvents = false;
246 }
247}
248
249bool QmitkPropertiesTableModel::setData(const QModelIndex &index, const QVariant &value, int role)
250{

Callers

nothing calls this directly

Calls 2

FindPropertyMethod · 0.95
ResetMethod · 0.95

Tested by

no test coverage detected