geom/src/GroupGUI/GroupGUI.h

58 lines
1.7 KiB
C++

// GEOM GEOMGUI : GUI for Geometry component
//
// Copyright (C) 2004 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
//
//
//
// File : GroupGUI.h
// Author : Sergey ANIKIN
// Module : GEOM
// $Header$
#ifndef GROUPGUI_H
#define GROUPGUI_H
#include "GEOMGUI.h"
//=================================================================================
// class : GroupGUI
// purpose :
//=================================================================================
class GroupGUI : public GEOMGUI
{
Q_OBJECT
protected:
GroupGUI(GeometryGUI* parent); // hide constructor to avoid direct creation
public :
~GroupGUI();
// Get the only GroupGUI object
static GroupGUI* GetGroupGUI(GeometryGUI* parent);
bool OnGUIEvent( int theCommandID, SUIT_Desktop* parent );
private:
static GroupGUI* myGUIObject; // the only GroupGUI object
};
#endif