Salome HOME
Avoid linking to the native omniORB
[modules/geom.git] / src / TransformationGUI / TransformationGUI_OffsetDlg.cxx
index 4b856dc9a517959b42d40689f0f8e8ce80a66966..df76011a403776942abddc17e8de5e73a6f4dcb4 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "TransformationGUI_OffsetDlg.h"
 
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
 #include <GeometryGUI.h>
 #include <GEOMBase.h>
 
@@ -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()