X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FTransformationGUI%2FTransformationGUI_OffsetDlg.cxx;h=df76011a403776942abddc17e8de5e73a6f4dcb4;hb=9494844b4067851d014c05f9682e3340cfc44292;hp=1672774334fb1259803be4d7a65245a69d95f26d;hpb=8491fee81c315f2063e1753ea7b2cd5bc90e6a14;p=modules%2Fgeom.git diff --git a/src/TransformationGUI/TransformationGUI_OffsetDlg.cxx b/src/TransformationGUI/TransformationGUI_OffsetDlg.cxx index 167277433..df76011a4 100644 --- a/src/TransformationGUI/TransformationGUI_OffsetDlg.cxx +++ b/src/TransformationGUI/TransformationGUI_OffsetDlg.cxx @@ -75,7 +75,7 @@ TransformationGUI_OffsetDlg::TransformationGUI_OffsetDlg( GeometryGUI* theGeomet /***************************************************************/ - setHelpFileName( "offset_surface.htm" ); + setHelpFileName( "offset_operation_page.html" ); Init(); } @@ -105,9 +105,7 @@ void TransformationGUI_OffsetDlg::Init() double step = 1; /* min, max, step and decimals for spin boxes & initial values */ - initSpinBox( GroupPoints->SpinBox_DX, COORD_MIN, COORD_MAX, step, 3 ); - GroupPoints->SpinBox_DX->setDecimals( 5 ); - //@ GroupPoints->SpinBox_DX->setDblPrecision(1e-05); + initSpinBox( GroupPoints->SpinBox_DX, COORD_MIN, COORD_MAX, step, 3 ); // VSR: TODO: DBL_DIGITS_DISPLAY GroupPoints->SpinBox_DX->setValue( 1e-05 ); // Activate Create a Copy mode @@ -128,7 +126,6 @@ void TransformationGUI_OffsetDlg::Init() initName( tr( "GEOM_OFFSET" ) ); globalSelection( GEOM_ALLSHAPES ); - } @@ -308,16 +305,6 @@ bool TransformationGUI_OffsetDlg::execute( ObjectList& objects ) return res; } -//================================================================================= -// function : closeEvent -// purpose : -//================================================================================= -void TransformationGUI_OffsetDlg::closeEvent( QCloseEvent* e ) -{ - // myGeomGUI->SetState( -1 ); - GEOMBase_Skeleton::closeEvent( e ); -} - //================================================================================= // function : GetOffset()