bool isOk;
double aDefValue = QString::fromStdString(getDefaultValue()).toDouble(&isOk);
ModuleBase_Tools::setSpinValue(mySpinBox, isOk ? aDefValue : 0.0);
bool isOk;
double aDefValue = QString::fromStdString(getDefaultValue()).toDouble(&isOk);
ModuleBase_Tools::setSpinValue(mySpinBox, isOk ? aDefValue : 0.0);