X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_SpinBox.cxx;h=1b30cb08a33e0ede5f9b3e82e26a9a84c0bd187a;hb=586cf75e22889d19a66bc5c73b4e5e90d626c6d1;hp=f3822e3e7b6d5c99b4c1edf8f06090755589995e;hpb=3443420a18b6f6fee4fe826191acd7512772e477;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_SpinBox.cxx b/src/SMESHGUI/SMESHGUI_SpinBox.cxx index f3822e3e7..1b30cb08a 100644 --- a/src/SMESHGUI/SMESHGUI_SpinBox.cxx +++ b/src/SMESHGUI/SMESHGUI_SpinBox.cxx @@ -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 ); }