X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSMESHGUI%2FSMESHGUI_MeshPatternDlg.h;h=43317618f40971ba28f2585a431c4495963be220;hb=3e7b8f4975c2596515eb968a9e10932d2f2ee9fb;hp=76e6aca7738483d755961b4b04d31e00b7db1b19;hpb=bd4e115a78b52e3fbc016e5e30bb0e19b2a9e7d6;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_MeshPatternDlg.h b/src/SMESHGUI/SMESHGUI_MeshPatternDlg.h index 76e6aca77..43317618f 100755 --- a/src/SMESHGUI/SMESHGUI_MeshPatternDlg.h +++ b/src/SMESHGUI/SMESHGUI_MeshPatternDlg.h @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, 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(); @@ -108,7 +110,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 +141,8 @@ private: QMap mySelEdit; QMap mySelLbl; + QWidget* myMainFrame; + QLineEdit* myName; QPushButton* myOpenBtn; QPushButton* myNewBtn;