MCPcopy Create free account
hub / github.com/cpvrlab/ImagePlay / closeSettings

Method closeSettings

ImagePlay/src/IPProcessPropertiesWidget.cpp:337–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335}
336
337void 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
360void IPProcessPropertiesWidget::resetSettings()
361{

Callers 2

hideProcessSettingsMethod · 0.80
on_buttonBox_rejectedMethod · 0.80

Calls 5

clearColorPickHandlerMethod · 0.80
imageViewerMethod · 0.80
setEditingMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected