Salome HOME
Mantis issue 0020626: the discretisation of the circles in the OCC viewer is too...
[modules/geom.git] / src / GEOMToolsGUI / GEOMToolsGUI_DeflectionDlg.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_DeflectionDlg.h
24 //  Author : OCC Team
25
26 #ifndef GEOMTOOLSGUI_DEFLECTIONDLG_H
27 #define GEOMTOOLSGUI_DEFLECTIONDLG_H
28
29 #include "GEOM_ToolsGUI.hxx"
30
31 #include <QDialog>
32
33 class SalomeApp_DoubleSpinBox;
34
35 //=================================================================================
36 // class    : GEOMToolsGUI_DeflectionDlg
37 // purpose  :
38 //=================================================================================
39 class GEOMTOOLSGUI_EXPORT GEOMToolsGUI_DeflectionDlg : public QDialog
40 {
41   Q_OBJECT
42
43 public:
44   GEOMToolsGUI_DeflectionDlg( QWidget* );
45   ~GEOMToolsGUI_DeflectionDlg();
46
47   double    getDC() const;
48   void      setDC( const double );
49
50 private slots:
51   void      ClickOnHelp();
52
53 private:
54  void       keyPressEvent( QKeyEvent* );
55
56 private:
57  SalomeApp_DoubleSpinBox*  SpinBox;
58  QString                   myHelpFileName;
59 };
60
61 #endif // GEOMTOOLSGUI_DEFLECTIONDLG_H