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
352 B
26 lines
352 B
#ifndef _KNOB_BOX_H_
|
|
#define _KNOB_BOX_H_
|
|
|
|
#include <qwidget.h>
|
|
|
|
class QLabel;
|
|
class QwtKnob;
|
|
|
|
class KnobBox: public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
KnobBox( QWidget *parent, int knobType );
|
|
|
|
private Q_SLOTS:
|
|
void setNum( double v );
|
|
|
|
private:
|
|
QwtKnob *createKnob( int knobType ) const;
|
|
|
|
QwtKnob *d_knob;
|
|
QLabel *d_label;
|
|
};
|
|
|
|
#endif
|