Salome HOME
NPAL15379: Fuse error with partitionned shape. Roll back the fix because of regressions.
[modules/geom.git] / src / MeasureGUI / MeasureGUI.h
index 751574e47253bff9cb3947738f8cc162001ff5e7..3d1596c3749563e84b46d1885029f6bb0bb30571 100644 (file)
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+//  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
 //  File   : MeasureGUI.h
 //  Author : Damien COQUERET
 //  Module : GEOM
-//  $Header: 
 
 #ifndef MEASUREGUI_H
 #define MEASUREGUI_H
 
-#include "GEOMBase.h"
+#include "GEOMGUI.h"
 
 //=================================================================================
 // class    : MeasureGUI
 // purpose  :
 //=================================================================================
-class MeasureGUI : public QObject
+class MeasureGUI : public GEOMGUI
 {
-  Q_OBJECT /* for QT compatibility */
-
-public :
-  MeasureGUI();
+public:
+  MeasureGUI( GeometryGUI* parent ); 
   ~MeasureGUI();
 
-  static bool OnGUIEvent(int theCommandID, QAD_Desktop* parent);
-
-  void MakeCDGAndDisplay(GEOM::GEOM_Shape_ptr Shape);
-
-  GEOMBase* myGeomBase;
-  GEOMContext* myGeomGUI;
-  GEOM::GEOM_Gen_var myGeom;   /* Current Geom Component */
-
+  bool OnGUIEvent( int , SUIT_Desktop* );
 };
 
 #endif