X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_NodesDlg.h;h=8cf17d17d15ec07dcc7cb8ddaca6ffebb9e6b30d;hb=f1bd9084e096ae378f401ec018dafdc5e447bf08;hp=ee70b7a80bc0cf5c04d818cf3e1f47ac9cfefde6;hpb=8b4ba0cdff7660465a9ea7b26ef0df0757afed97;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_NodesDlg.h b/src/SMESHGUI/SMESHGUI_NodesDlg.h index ee70b7a80..8cf17d17d 100644 --- a/src/SMESHGUI/SMESHGUI_NodesDlg.h +++ b/src/SMESHGUI/SMESHGUI_NodesDlg.h @@ -1,10 +1,29 @@ -// File : SMESHGUI_NodesDlg.h -// Created : Tue May 14 21:36:44 2002 -// Author : Nicolas REJNERI - -// Project : SALOME -// Module : SMESH -// Copyright : Open CASCADE 2002 +// 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_NodesDlg.h +// Author : Nicolas REJNERI +// Module : SMESH // $Header$ #ifndef DIALOGBOX_NODES_H @@ -28,6 +47,10 @@ class QRadioButton; class SMESHGUI; class SMESHGUI_SpinBox; +namespace SMESH{ + struct TNodeSimulation; +} + // IDL Headers #include #include CORBA_SERVER_HEADER(SMESH_Mesh) @@ -54,10 +77,12 @@ private : SMESHGUI* myMeshGUI ; SMESH::SMESH_Mesh_var myMesh; + SMESH::TNodeSimulation* mySimulation; void Init(SALOME_Selection* Sel) ; void enterEvent(QEvent* e); void closeEvent(QCloseEvent* e) ; + void hideEvent ( QHideEvent * ); /* ESC key */ QButtonGroup* GroupConstructors; QRadioButton* Constructor1; @@ -79,7 +104,7 @@ private slots: void ClickOnOk(); void ClickOnCancel(); - void ClickOnApply(); + bool ClickOnApply(); void DeactivateActiveDialog() ; void ActivateThisDialog() ; void SelectionIntoArgument() ;