1 // File : GeometryGUI_SpinBox.h
2 // Created : 4 july 2002
3 // Author : Lucien PIGNOLONI
5 // Module : GeometryGUI
6 // Copyright : OPEN CASCADE
12 #include "QAD_SpinBoxDbl.h"
16 //=================================================================================
17 // class : GeometryGUI_SpinBox
18 // purpose : Derivated from QSpinBox class and modified to accept floats
19 //=================================================================================
20 class GeometryGUI_SpinBox : public QAD_SpinBoxDbl
25 GeometryGUI_SpinBox( QWidget* parent, const char* name = 0 );
26 ~GeometryGUI_SpinBox();
28 void RangeStepAndValidator( double min = -1000000.0,
29 double max = +1000000.0,
31 unsigned short decimals = 3 );
32 void SetValue( double v );
37 void SetStep( double newStep );
40 #endif // GEOMSPINBOX_H