Salome HOME
Issue #910 - Impossible to set start point , end points for line manually
authorspo <sergey.pokhodenko@opencascade.com>
Wed, 9 Sep 2015 06:47:14 +0000 (09:47 +0300)
committerspo <sergey.pokhodenko@opencascade.com>
Wed, 9 Sep 2015 06:48:18 +0000 (09:48 +0300)
src/ModuleBase/ModuleBase_DoubleSpinBox.h
src/ModuleBase/ModuleBase_ParamSpinBox.h

index 7b910797ed42008adc62d9f1b68f4fb3d43975c1..2daa53b955a94ecf7f4052f326168c79136238ea 100644 (file)
 
 /**
 * \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
index b150930877692a8cc05d43f3a3430432bc516d0f..89e99ff7c0ce5a2889afed0ed065edbd8647f85d 100644 (file)
@@ -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);