Salome HOME
Update of CheckDone
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_DuplicateNodesDlg.h
index 2714ba0932fd5f9aa3ee8662afc0a08e1a3b6608..3eca9299e002b94dcffd986e6e85a9d7ebd67d8e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2024  CEA, EDF, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -6,7 +6,7 @@
 // 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.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -65,22 +65,25 @@ private:
 
   bool                    isValid();
   
-  void                    closeEvent( QCloseEvent* );
   void                    enterEvent( QEvent* );
   void                    keyPressEvent( QKeyEvent* );
   
+protected slots:
+  virtual void            reject();
+
 private slots:
   void                    onConstructorsClicked( int );
  
   void                    onOk();
-  void                    onClose();
   bool                    onApply();
   void                    onHelp();
 
   void                    onEditCurrentArgument();
   void                    onSelectionChanged();
-
   void                    onDeactivate();
+  void                    onGenerate();
+
+  void                    updateButtons();
 
 private:
   QLineEdit*              myCurrentLineEdit;
@@ -94,11 +97,12 @@ private:
   QPushButton*            mySelectButton1;
   QPushButton*            mySelectButton2;
   QPushButton*            mySelectButton3;
+  QPushButton*            myGenerateButton3;
   QLineEdit*              myLineEdit1;
   QLineEdit*              myLineEdit2;
   QLineEdit*              myLineEdit3;
-  QCheckBox*              myCheckBoxNewElemGroup;
-  QCheckBox*              myCheckBoxNewNodeGroup;
+  QCheckBox*              myCheckBox1;
+  QCheckBox*              myCheckBox2;
 
   QPushButton*            myButtonOk;
   QPushButton*            myButtonApply;