| 235 | } |
| 236 | |
| 237 | void 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 | |
| 249 | bool QmitkPropertiesTableModel::setData(const QModelIndex &index, const QVariant &value, int role) |
| 250 | { |
nothing calls this directly
no test coverage detected