X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_FindElemByPointDlg.h;h=09990407eb5fc3d5ad23d513b426edb6546fc408;hb=7bf0e19b3d2b5968395064901aee8d949f655559;hp=72ecaeb7b97d70894cd93a88885740297f932c52;hpb=9357f5c87098aff2b95b754d69f66c76d2df9c24;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_FindElemByPointDlg.h b/src/SMESHGUI/SMESHGUI_FindElemByPointDlg.h index 72ecaeb7b..09990407e 100644 --- a/src/SMESHGUI/SMESHGUI_FindElemByPointDlg.h +++ b/src/SMESHGUI/SMESHGUI_FindElemByPointDlg.h @@ -1,20 +1,20 @@ -// Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE // -// 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 @@ -62,6 +62,8 @@ protected slots: virtual bool onApply(); private slots: + + void onRejectedDlg(); void onSelectionDone(); void onElemSelected(); void onElemTypeChange(int); @@ -72,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; }; @@ -89,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* ); @@ -104,6 +107,12 @@ private: friend class SMESHGUI_FindElemByPointOp; +signals: + void rejectedDlg(); + +protected slots: + virtual void reject(); + private slots: //void ButtonToggled( bool ); };