1 // File : SMESHGUI_SpinBox.h
2 // Created : 14 august 2002
3 // Author : Lucien PIGNOLONI
6 // Copyright : OPEN CASCADE
10 #define SMESHSPINBOX_H
12 #include "QAD_SpinBoxDbl.h"
14 //=================================================================================
15 // class : SMESHGUI_SpinBox
16 // purpose : Derivated from QAD_SpinBoxDbl class
17 //=================================================================================
18 class SMESHGUI_SpinBox : public QAD_SpinBoxDbl
24 SMESHGUI_SpinBox( QWidget* parent, const char* name = 0 ) ;
27 void RangeStepAndValidator( double min = -1000000.0,
28 double max = +1000000.0,
30 unsigned short decimals = 3 ) ;
31 void SetValue( double v ) ;
36 void SetStep( double newStep );
39 #endif // SMESHSPINBOX_H