Salome HOME
23beae1eacad0632169e76e3f6078e7d5b6ef416
[modules/geom.git] / src / GEOMToolsGUI / GEOMToolsGUI_NbIsosDlg.h
1 //  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 //  Copyright (C) 2003-2007  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.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 // GEOM GEOMGUI : GUI for Geometry component
23 // File   : GEOMToolsGUI_NbIsosDlg.h
24 // Author : OCC Team
25 //
26 #ifndef GEOMTOOLSGUI_NBISOSDLG_H
27 #define GEOMTOOLSGUI_NBISOSDLG_H
28
29 #include "GEOM_ToolsGUI.hxx"
30
31 #include <QDialog>
32
33 class QSpinBox;
34
35 //=================================================================================
36 // class    : GEOMToolsGUI_NbIsosDlg
37 // purpose  :
38 //=================================================================================
39 class GEOMTOOLSGUI_EXPORT GEOMToolsGUI_NbIsosDlg : public QDialog
40
41   Q_OBJECT
42
43 public:
44   GEOMToolsGUI_NbIsosDlg( QWidget* );
45   ~GEOMToolsGUI_NbIsosDlg();
46     
47   int       getU() const;
48   int       getV() const;
49   
50   void      setU( const int );
51   void      setV( const int );
52   
53 private slots:
54   void      ClickOnHelp();
55
56 private:
57  void       keyPressEvent( QKeyEvent* );
58
59 private:
60  QSpinBox*  SpinBoxU;
61  QSpinBox*  SpinBoxV;
62  QString    myHelpFileName;
63 };
64
65 #endif // GEOMTOOLSGUI_NBISOSDLG_H