40 Q_PROPERTY(
int spanDegrees READ spanDegrees WRITE setSpanDegrees)
41 Q_PROPERTY(
int markSize READ markSize WRITE setMarkSize)
42 Q_PROPERTY(
int border READ border WRITE setBorder)
43 Q_PROPERTY(QString text READ text WRITE setText)
52 virtual
void paintEvent(QPaintEvent*);
53 virtual
void mousePressEvent(QMouseEvent*);
54 virtual
void mouseReleaseEvent(QMouseEvent*);
55 virtual
void mouseMoveEvent(QMouseEvent*);
62 void sliderPressed(
int);
63 void sliderReleased(
int);
66 Knob(QWidget* parent = 0);
68 virtual QSize sizeHint()
const {
return QSize(50, 50); }
72 QString
text()
const {
return _text; }
73 void setText(
const QString& s);
75 void setKnobIcon(
const QIcon& icon);
79 void setSpanDegrees(
double val);
81 void setMarkSize(
int val);
82 int border()
const {
return _border; }
83 void setBorder(
int val);
virtual int heightForWidth(int w) const
Definition: knob.h:69
QIcon knobIcon() const
Definition: knob.h:74
QString text() const
return text decoration
Definition: knob.h:72
int border() const
Definition: knob.h:82
The AwlAbstractSlider class provides an double value within a range.
Definition: aslider.h:39
int markSize() const
Definition: knob.h:80
Base class of all dialer type input widgets.
Definition: knob.h:38
Definition: aslider.cpp:23
double spanDegrees() const
return scale size in degrees
Definition: knob.h:78