Salome HOME
Integration of PAL/SALOME V2.1.0c from OCC
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_PrecisionDlg.h
1 //  SMESH SMESHGUI : GUI for SMESH component
2 //
3 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
5 // 
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. 
10 // 
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. 
15 // 
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 
19 // 
20 //  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
21 //
22 //
23 //
24 //  File   : SMESHGUI_PrecisionDlg.h
25 //  Author : Sergey LITONIN      
26 //  Module : SMESH
27
28
29 #ifndef SMESHGUI_PrecisionDlg_H
30 #define SMESHGUI_PrecisionDlg_H
31
32 #include <qdialog.h>
33
34 class QSpinBox;
35 class QPushButton;
36 class QCheckBox;
37 class QFrame;
38
39 /*
40   Class       : SMESHGUI_PrecisionDlg
41   Description : Dialog to specify precision of mesh quality controls
42 */
43
44 class SMESHGUI_PrecisionDlg : public QDialog
45 {
46   Q_OBJECT
47
48 public:
49                             SMESHGUI_PrecisionDlg( QWidget* parent );
50
51   virtual                   ~SMESHGUI_PrecisionDlg();
52
53   void                      Init();
54
55 private slots:
56
57   void                      onOk();
58   void                      onClose();
59   void                      onNotUse();
60
61 private:
62
63   QFrame*                   createButtonFrame( QWidget* );
64   QFrame*                   createMainFrame( QWidget* );
65   void                      closeEvent( QCloseEvent* );
66  
67 private:
68
69   QSpinBox*                 mySpinBox;
70   QPushButton*              myOKBtn;
71   QPushButton*              myCancelBtn;
72   QCheckBox*                myNotUseChk;
73
74 };
75
76 #endif
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96