Salome HOME
NRI : First integration.
[modules/geom.git] / src / GEOMGUI / GeometryGUI_aParameterDlg.h
1 //  File      : GeometryGUI_aParameterDlg.h
2 //  Created   : july 5 2001
3 //  Author    : Lucien PIGNOLONI
4 //  Project   : SALOME
5 //  Module    : GeometryGUI
6 //  Copyright : Open CASCADE
7 //  $Header$
8
9 #ifndef GeometryGUI_aParameterDLG_H
10 #define GeometryGUI_aParameterDLG_H
11
12 #include <qdialog.h>
13
14 class QPushButton;
15 class GeometryGUI;
16 class QAD_SpinBoxDbl;
17
18 //=================================================================================
19 // class    : GeometryGUI_aParameterDlg
20 // purpose  :
21 //=================================================================================
22 class GeometryGUI_aParameterDlg : public QDialog
23
24     Q_OBJECT
25
26 public:
27     GeometryGUI_aParameterDlg( const char* aValue1 = "25",
28                                const char* aTitle1 = "Value :",
29                                QWidget* parent     = 0,
30                                const char* name    = 0, 
31                                bool modal          = FALSE,
32                                WFlags fl           = 0,
33                                const double bottom = -1E6,
34                                const double top    = +1E6,
35                                const int decimals  = 6 ) ;
36
37     ~GeometryGUI_aParameterDlg();
38
39     void   setValue( double val );
40     double getValue();
41
42 private:
43     GeometryGUI*    myGeomGUI ;    /* Current GeomGUI object */
44
45     QPushButton*    myButtonOk;
46     QPushButton*    myButtonCancel;
47     QAD_SpinBoxDbl* mySpinBox;
48  
49 };
50
51 #endif // GeometryGUI_aParameterDlg.h