1 // SMESH SMESHGUI : GUI for SMESH component
3 // Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
24 // File : StdMeshersGUI_MaxElementAreaDlg.h
25 // Moved here from SMESHGUI_MaxElementAreaDlg.h
26 // Author : Nicolas REJNERI
30 #ifndef DIALOGBOX_MAX_ELEMENT_AREA_H
31 #define DIALOGBOX_MAX_ELEMENT_AREA_H
41 class SMESHGUI_SpinBox;
43 //=================================================================================
44 // class : StdMeshersGUI_MaxElementAreaDlg
46 //=================================================================================
47 class StdMeshersGUI_MaxElementAreaDlg : public QDialog
52 StdMeshersGUI_MaxElementAreaDlg (const QString& hypType,
57 ~StdMeshersGUI_MaxElementAreaDlg ();
62 void closeEvent( QCloseEvent* e ) ;
63 void enterEvent ( QEvent * ) ;
65 SMESHGUI* mySMESHGUI ;
71 QLabel* TextLabel_NameHypothesis ;
72 QLineEdit* LineEdit_NameHypothesis ;
73 QLabel* TextLabel_MaxElementArea ;
74 SMESHGUI_SpinBox* SpinBox_MaxElementArea ;
75 QGroupBox* GroupButtons;
76 QPushButton* buttonApply;
77 QPushButton* buttonOk;
78 QPushButton* buttonCancel;
85 void DeactivateActiveDialog() ;
86 void ActivateThisDialog() ;
89 #endif // DIALOGBOX_MAX_ELEMENT_AREA_H