+ // White while all events will be processed
+ QApplication::processEvents();
+ double aValue = mySpinBox->value();
+ bool isDone;
+ aValue = editedValue(aValue, isDone);
+
+ if (isDone) {
+ bool isBlocked = mySpinBox->blockSignals(true);
+ mySpinBox->setValue(aValue);
+ mySpinBox->blockSignals(isBlocked);
+ }
+ emit valuesChanged();
+ emit focusOutWidget(this);