Salome HOME
Update of CheckDone
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_MeshPatternDlg.h
old mode 100755 (executable)
new mode 100644 (file)
index 76e6aca..60526f2
@@ -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
@@ -75,10 +75,12 @@ public:
 
   void                                Init();
   
+protected slots:
+  virtual void                        reject();
+
 private slots:
   void                                onOk();
   bool                                onApply();
-  void                                onClose();
   void                                onHelp();
 
   void                                onDeactivate();
@@ -96,6 +98,8 @@ private slots:
   void                                onCloseCreationDlg();
   void                                onTextChanged( const QString& );
   void                                onNodeChanged( int );
+  void                                onOpenView();
+  void                                onCloseView();
 
 private:
   QWidget*                            createButtonFrame( QWidget* );
@@ -108,7 +112,6 @@ private:
   void                                activateSelection();
   QStringList                         prepareFilters() const;
   QString                             autoExtension( const QString& ) const;
-  void                                closeEvent( QCloseEvent* );
   void                                enterEvent( QEvent* );
   void                                keyPressEvent( QKeyEvent* );
   bool                                isValid( const bool = true );
@@ -140,6 +143,8 @@ private:
   QMap<int, QLineEdit*>               mySelEdit;
   QMap<int, QLabel*>                  mySelLbl;
 
+  QWidget*                            myMainFrame;
+
   QLineEdit*                          myName;
   QPushButton*                        myOpenBtn;
   QPushButton*                        myNewBtn;