Salome HOME
Merge from BR_DumpPython_Extension branch (from tag mergeto_BR_V5_Dev_28Jan09)
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_SpinBox.cxx
index f3822e3e7b6d5c99b4c1edf8f06090755589995e..1b30cb08a33e0ede5f9b3e82e26a9a84c0bd187a 100644 (file)
@@ -35,7 +35,7 @@
 // purpose  : constructor of specific widget accepting floats in double precision.
 //=================================================================================
 SMESHGUI_SpinBox::SMESHGUI_SpinBox( QWidget* parent )
-  : QtxDoubleSpinBox( parent )
+  : SalomeApp_DoubleSpinBox( parent )
 {
 }
 
@@ -90,7 +90,7 @@ QString SMESHGUI_SpinBox::GetString() const
 //=================================================================================
 QLineEdit* SMESHGUI_SpinBox::editor() const
 {
-  return QtxDoubleSpinBox::lineEdit();
+  return SalomeApp_DoubleSpinBox::lineEdit();
 } 
 
 //=================================================================================
@@ -116,4 +116,5 @@ void SMESHGUI_SpinBox::RangeStepAndValidator( double min,
   setDecimals(32);
   setRange(min, max);
   setSingleStep( step );
+  setDefaultValue( min );
 }