X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_RemoveNodesOp.h;fp=src%2FSMESHGUI%2FSMESHGUI_RemoveNodesOp.h;h=5bd9ceb445a333b0b32da89e253a97248183bca1;hp=0000000000000000000000000000000000000000;hb=241395cd3a83a3761d1840c16bf7b32da78fc6e5;hpb=709c3dba309ecf9dab3db36de849525cf6ca545d diff --git a/src/SMESHGUI/SMESHGUI_RemoveNodesOp.h b/src/SMESHGUI/SMESHGUI_RemoveNodesOp.h new file mode 100644 index 000000000..5bd9ceb44 --- /dev/null +++ b/src/SMESHGUI/SMESHGUI_RemoveNodesOp.h @@ -0,0 +1,63 @@ +// SMESH SMESHGUI : GUI for SMESH 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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org +// +// +// +// File : SMESHGUI_RemoveNodesOp.h +// Author : Nicolas REJNERI +// Module : SMESH +// $Header$ + +#ifndef OPERATION_REMOVE_NODES_H +#define OPERATION_REMOVE_NODES_H + +#include + +class SMESHGUI_RemoveNodesDlg; + +//================================================================================= +// class : SMESHGUI_RemoveNodesOp +// purpose : +//================================================================================= +class SMESHGUI_RemoveNodesOp : public SMESHGUI_SelectionIdsOp +{ + Q_OBJECT + +public: + SMESHGUI_RemoveNodesOp(); + ~SMESHGUI_RemoveNodesOp(); + + virtual SalomeApp_Dialog* dlg() const; + +protected: + virtual void startOperation(); + virtual void selectionDone(); + + void updateDialog(); + +protected slots: + virtual bool onApply(); + +private: + SMESHGUI_RemoveNodesDlg* myDlg; +}; + +#endif // DIALOGBOX_REMOVE_NODES_H