Salome HOME
Fix of IPAL19633 (Qt4 porting. Strange value of Tolerance when use spin box): set...
authorakl <akl@opencascade.com>
Fri, 25 Apr 2008 07:13:46 +0000 (07:13 +0000)
committerakl <akl@opencascade.com>
Fri, 25 Apr 2008 07:13:46 +0000 (07:13 +0000)
src/SMESHGUI/SMESHGUI_BuildCompoundDlg.cxx
src/SMESHGUI/SMESHGUI_EditMeshDlg.cxx
src/SMESHGUI/SMESHGUI_RevolutionDlg.cxx

index 73efb4e4a6cf7fbeb4fe7b087e9795965d8ae6a1..54171c5a0589d7f1d26334bf6327a837d78af11b 100644 (file)
@@ -132,7 +132,7 @@ SMESHGUI_BuildCompoundDlg::SMESHGUI_BuildCompoundDlg( SMESHGUI* theModule )
   TextLabelTol = new QLabel(tr("SMESH_TOLERANCE"), GroupArgs);
   TextLabelTol->setAlignment(Qt::AlignCenter);
   SpinBoxTol = new SMESHGUI_SpinBox(GroupArgs);
-  SpinBoxTol->RangeStepAndValidator(0.0, COORD_MAX, 0.1, 6);
+  SpinBoxTol->RangeStepAndValidator(0.0, COORD_MAX, 0.00001, 6);
 
   GroupArgsLayout->addWidget(TextLabelMeshes, 0, 0);
   GroupArgsLayout->addWidget(SelectButton,    0, 1);
index 1a1c4ae0197589346c0090518d2da51e10888398..8c64a16130cd00ceb707014d647d7e1de7dd851a 100644 (file)
@@ -477,7 +477,7 @@ SMESHGUI_EditMeshDlg::~SMESHGUI_EditMeshDlg()
 void SMESHGUI_EditMeshDlg::Init()
 {
   if (myAction == 0) {
-    SpinBoxTolerance->RangeStepAndValidator(0.0, COORD_MAX, 0.1, 5);
+    SpinBoxTolerance->RangeStepAndValidator(0.0, COORD_MAX, 0.00001, 5);
     SpinBoxTolerance->SetValue(1e-05);
   }
 
index 2b8e1f3642234eaeca5748c5b7b2f6d09324caec..d5fe19e5fa9b6f3af983753a19bbfd3dbd5e80e9 100644 (file)
@@ -256,7 +256,7 @@ SMESHGUI_RevolutionDlg::SMESHGUI_RevolutionDlg( SMESHGUI* theModule )
 
   SpinBox_NbSteps->setRange(1, 999999);
 
-  SpinBox_Tolerance->RangeStepAndValidator(0.0, COORD_MAX, 0.1, 6);
+  SpinBox_Tolerance->RangeStepAndValidator(0.0, COORD_MAX, 0.00001, 6);
 
   RadioButton1->setChecked(true);