geom/src/BasicGUI/BasicGUI.h

58 lines
1.8 KiB
C
Raw Normal View History

2004-01-07 15:46:21 +00:00
// GEOM GEOMGUI : GUI for Geometry component
//
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// 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.salome-platform.org/ or email : webmaster.salome@opencascade.com
2004-01-07 15:46:21 +00:00
//
//
//
// File : BasicGUI.h
// Author : Damien COQUERET
// Module : GEOM
#ifndef BASICGUI_H
#define BASICGUI_H
2004-12-01 10:39:14 +00:00
#include "GEOMGUI.h"
2004-01-07 15:46:21 +00:00
#include "GEOMBase.h"
#include <V3d_View.hxx>
2005-08-19 11:51:38 +00:00
#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
#define BASICGUI_WNT_EXPORT __declspec( dllexport )
#else
#define BASICGUI_WNT_EXPORT
#endif
2004-01-07 15:46:21 +00:00
//=================================================================================
// class : BasicGUI
// purpose :
//=================================================================================
2004-12-01 10:39:14 +00:00
class BasicGUI : public GEOMGUI
2004-01-07 15:46:21 +00:00
{
public:
BasicGUI( GeometryGUI* parent );
2004-01-07 15:46:21 +00:00
~BasicGUI();
bool OnGUIEvent(int theCommandID, SUIT_Desktop* parent);
bool OnMousePress(QMouseEvent* pe, SUIT_Desktop* parent, SUIT_ViewWindow* theViewWindow);
2004-01-07 15:46:21 +00:00
2004-12-01 10:39:14 +00:00
gp_Pnt ConvertClickToPoint( int x, int y, Handle(V3d_View) aView );
2004-01-07 15:46:21 +00:00
};
#endif