Salome HOME
Merge with version on tag OCC-V2_1_0d
[modules/geom.git] / src / MeasureGUI / MeasureGUI.h
index 751574e47253bff9cb3947738f8cc162001ff5e7..b3eaadea7a3df75b4d7a15ed62c8fd839a86a968 100644 (file)
 //  File   : MeasureGUI.h
 //  Author : Damien COQUERET
 //  Module : GEOM
-//  $Header
+//  $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 */
+protected:
+                              MeasureGUI(); 
 
 public :
-  MeasureGUI();
-  ~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 */
+                              ~MeasureGUI();
+  static MeasureGUI*          GetMeasureGUI();
+  bool                        OnGUIEvent( int , QAD_Desktop* );
 
+private:
+  static MeasureGUI*          myGUIObject;
 };
 
 #endif