Salome HOME
[Bug PAL7444] display mesh takes a lot of more memory in 2.1.0 than in 2.0.0.
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_NodesDlg.h
index ee70b7a80bc0cf5c04d818cf3e1f47ac9cfefde6..8cf17d17d15ec07dcc7cb8ddaca6ffebb9e6b30d 100644 (file)
@@ -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 <SALOMEconfig.h>
 #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() ;