X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2FSMESHGUI%2FSMESHGUI_FindElemByPointDlg.h;h=3fd764ef21c6b9157c28e1f53b39561516955e44;hb=01df28d29136a70523ec34a971d72f9a27f809df;hp=cc0dfbb2dbd33643537d5844064da8bc1b3321d9;hpb=37d36cd6fc586608f84b014bde9a760b09ed1567;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_FindElemByPointDlg.h b/src/SMESHGUI/SMESHGUI_FindElemByPointDlg.h index cc0dfbb2d..3fd764ef2 100644 --- a/src/SMESHGUI/SMESHGUI_FindElemByPointDlg.h +++ b/src/SMESHGUI/SMESHGUI_FindElemByPointDlg.h @@ -1,24 +1,22 @@ -// Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE // -// Copyright (C) 2003-2007 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 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. // -// 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 // -// 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 +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // + #ifndef SMESHGUI_FindElemByPointDLG_H #define SMESHGUI_FindElemByPointDLG_H @@ -64,6 +62,8 @@ protected slots: virtual bool onApply(); private slots: + + void onRejectedDlg(); void onSelectionDone(); void onElemSelected(); void onElemTypeChange(int); @@ -74,8 +74,7 @@ private: SUIT_SelectionFilter* myFilter; SMESHGUI_MeshEditPreview* mySimulation; // to show point coordinates - //SMESH_Actor* myMeshActor; // to show found elements - SMESH::SMESH_Mesh_var myMesh; + SMESH::SMESH_IDSource_var myMeshOrPart; SMESH::MeshPreviewStruct_var myPreview; Handle(SALOME_InteractiveObject) myMeshIO; }; @@ -91,6 +90,8 @@ class SMESHGUI_EXPORT SMESHGUI_FindElemByPointDlg : public SMESHGUI_Dialog public: SMESHGUI_FindElemByPointDlg(); + void setTypes(SMESH::array_of_ElementType_var & types); + private: QWidget* createMainFrame( QWidget* ); @@ -106,6 +107,12 @@ private: friend class SMESHGUI_FindElemByPointOp; +signals: + void rejectedDlg(); + +protected slots: + virtual void reject(); + private slots: //void ButtonToggled( bool ); };