22#ifndef KIS_DOUBLE_WIDGET_H
23#define KIS_DOUBLE_WIDGET_H
31class KisDoubleWidget : public TQWidget
36 typedef TQWidget super;
38 KisDoubleWidget(TQWidget* parent = 0, const char* name = 0);
39 KisDoubleWidget( double min, double max, TQWidget* parent = 0, const char* name = 0);
43 void setRange( double min, double max);
45 void setTickmarks(TQSlider::TickSetting tickMarks);
46 void setTickInterval( double tickInterval);
47 double tickInterval() const;
49 void setPrecision( int precision);
50 void setLineStep( double step);
51 void setPageStep( double step);
53 void setTracking( bool tracking);
54 bool tracking() const;
57 void valueChanged( double);
59 void sliderReleased();
62 void setValue( double value);
65 void setSliderValue( double);
66 void sliderValueChanged( int);
69 void init( double min, double max);
72 TQHBoxLayout* m_layout;
74 KDoubleSpinBox *m_spinBox;
|