From: spo Date: Wed, 9 Sep 2015 06:47:14 +0000 (+0300) Subject: Issue #910 - Impossible to set start point , end points for line manually X-Git-Tag: V_1.4.0_beta4~68 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=61137876feb2b3933088e48141b182e9fe02388c;p=modules%2Fshaper.git Issue #910 - Impossible to set start point , end points for line manually --- diff --git a/src/ModuleBase/ModuleBase_DoubleSpinBox.h b/src/ModuleBase/ModuleBase_DoubleSpinBox.h index 7b910797e..2daa53b95 100644 --- a/src/ModuleBase/ModuleBase_DoubleSpinBox.h +++ b/src/ModuleBase/ModuleBase_DoubleSpinBox.h @@ -14,14 +14,14 @@ /** * \ingroup GUI -* An extension and customozation of QDoubleSpinBox class +* An extension and customization of QDoubleSpinBox class */ class MODULEBASE_EXPORT ModuleBase_DoubleSpinBox : public QDoubleSpinBox { Q_OBJECT public: - explicit ModuleBase_DoubleSpinBox( QWidget* theParent = 0, int thePrecision = 15 ); + explicit ModuleBase_DoubleSpinBox( QWidget* theParent = 0, int thePrecision = 12 ); 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 b15093087..89e99ff7c 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 = 15 ); + explicit ModuleBase_ParamSpinBox( QWidget* theParent = 0, int thePrecision = 12 ); virtual ~ModuleBase_ParamSpinBox(); virtual void stepBy(int);