You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
383 B
26 lines
383 B
#ifndef _SLIDER_BOX_H_
|
|
#define _SLIDER_BOX_H_ 1
|
|
|
|
#include <qwidget.h>
|
|
|
|
class QLabel;
|
|
class QwtSlider;
|
|
|
|
class SliderBox: public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
SliderBox( int sliderType, QWidget *parent = NULL );
|
|
|
|
private Q_SLOTS:
|
|
void setNum( double v );
|
|
|
|
private:
|
|
QwtSlider *createSlider( int sliderType ) const;
|
|
|
|
QwtSlider *d_slider;
|
|
QLabel *d_label;
|
|
};
|
|
|
|
#endif
|