Salome HOME
PAL8769: Limitation to give values in Spin boxes. Now coordinates and displacements...
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_SpinBox.cxx
index 6b0d19ca12f3debfb864f3fc1d7ba153350e91b8..a8f90184ab585f9851aa141cdf907613e8318381 100644 (file)
 //  Module : SMESH
 //  $Header$
 
-using namespace std;
 #include "SMESHGUI_SpinBox.h"
 #include "SMESHGUI.h"
+
 #include <qvalidator.h>
 
+using namespace std;
+
 //=================================================================================
 // class    : SMESHGUI_SpinBox()
 // purpose  : constructor of specific widget accepting floats in double precision.
@@ -38,6 +40,7 @@ using namespace std;
 SMESHGUI_SpinBox::SMESHGUI_SpinBox( QWidget* parent, const char* name )
 : QAD_SpinBoxDbl( parent, name)
 {
+  setPrecision(16);
 }