From: asl Date: Thu, 13 Aug 2015 04:47:00 +0000 (+0300) Subject: Issue #806: the prevision is set to 15 globally in all spin boxes X-Git-Tag: V_1.4.0_beta4~396 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bbfe377e577d7e0750810846eaf29e1641505cd3;p=modules%2Fshaper.git Issue #806: the prevision is set to 15 globally in all spin boxes --- diff --git a/src/ModuleBase/ModuleBase_DoubleSpinBox.h b/src/ModuleBase/ModuleBase_DoubleSpinBox.h index 555cafc36..7b910797e 100644 --- a/src/ModuleBase/ModuleBase_DoubleSpinBox.h +++ b/src/ModuleBase/ModuleBase_DoubleSpinBox.h @@ -21,7 +21,7 @@ class MODULEBASE_EXPORT ModuleBase_DoubleSpinBox : public QDoubleSpinBox Q_OBJECT public: - explicit ModuleBase_DoubleSpinBox(QWidget* theParent = 0, int thePrecision = 6); + explicit ModuleBase_DoubleSpinBox( QWidget* theParent = 0, int thePrecision = 15 ); virtual ~ModuleBase_DoubleSpinBox(); /// Returns true if the control is clear diff --git a/src/ModuleBase/ModuleBase_ParamSpinBox.h b/src/ModuleBase/ModuleBase_ParamSpinBox.h index 46af29092..b15093087 100644 --- a/src/ModuleBase/ModuleBase_ParamSpinBox.h +++ b/src/ModuleBase/ModuleBase_ParamSpinBox.h @@ -15,7 +15,7 @@ class MODULEBASE_EXPORT ModuleBase_ParamSpinBox : public ModuleBase_DoubleSpinBo enum State { Invalid = 0, NoVariable, Incompatible, Acceptable }; public: - explicit ModuleBase_ParamSpinBox(QWidget* theParent = 0, int thePrecision = 6); + explicit ModuleBase_ParamSpinBox( QWidget* theParent = 0, int thePrecision = 15 ); virtual ~ModuleBase_ParamSpinBox(); virtual void stepBy(int);