1 // File : SMESHGUI_aParameterDlg.h
2 // Created : Wed Jun 12 21:04:41 2002
3 // Author : Nicolas REJNERI
7 // Copyright : Open CASCADE 2002
10 #ifndef SMESHGUI_aParameterDlg_H
11 #define SMESHGUI_aParameterDlg_H
22 //=================================================================================
23 // class : SMESHGUI_aParameterDlg
25 //=================================================================================
26 class SMESHGUI_aParameterDlg : public QDialog
31 SMESHGUI_aParameterDlg( QWidget* parent = 0,
32 QString title = QString::null,
33 QString label = QString::null,
34 const double bottom = -1E6,
35 const double top = +1E6,
36 const int decimals = 3,
38 SMESHGUI_aParameterDlg( QWidget* parent = 0,
39 QString title = QString::null,
40 QString label = QString::null,
45 ~SMESHGUI_aParameterDlg();
47 void setValue( const double val );
48 void setValue( const int val );
53 void init( bool isDouble );
56 SMESHGUI* mySMESHGUI ;
58 QPushButton* myButtonOk;
59 QPushButton* myButtonCancel;
62 QAD_SpinBoxDbl* myDblSpin;
65 #endif // SMESHGUI_aParameterDlg.h