| 335 | } |
| 336 | |
| 337 | void IPProcessPropertiesWidget::closeSettings() |
| 338 | { |
| 339 | // remove groupChanged events |
| 340 | for(IPPropertyWidget* widget : _propertyWidgets) |
| 341 | { |
| 342 | IPPropertyGroup* groupWidget = dynamic_cast<IPPropertyGroup*>(widget); |
| 343 | if(groupWidget) |
| 344 | disconnect(widget, 0, 0, 0); |
| 345 | } |
| 346 | |
| 347 | _propertyWidgets.clear(); |
| 348 | |
| 349 | _mainWindow->imageViewer()->clearColorPickHandler(); |
| 350 | _mainWindow->imageViewer()->clearCoordinatePickHandler(); |
| 351 | QApplication::restoreOverrideCursor(); |
| 352 | |
| 353 | if(_processStep) |
| 354 | { |
| 355 | _processStep->setEditing(false); |
| 356 | _processStep = NULL; |
| 357 | } |
| 358 | } |
| 359 | |
| 360 | void IPProcessPropertiesWidget::resetSettings() |
| 361 | { |
no test coverage detected