+bool ModuleBase_WidgetDoubleValue::resetCustom()
+{
+ bool aDone = false;
+ if (!isUseReset() || isComputedDefault() || mySpinBox->hasVariable()) {
+ aDone = false;
+ } else {
+ bool isOk;
+ double aDefValue = QString::fromStdString(getDefaultValue()).toDouble(&isOk);
+ // reset the value just if there is a default value definition in the XML definition
+ // if the value can not be found by the default value, do nothing
+ if (isOk) {
+ ModuleBase_Tools::setSpinValue(mySpinBox, aDefValue);
+ storeValue();
+ aDone = true;
+ }
+ }
+ return aDone;
+}
+
+bool ModuleBase_WidgetDoubleValue::storeValueCustom() const