// 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