20 #ifndef __AWLASLIDER_H__ 21 #define __AWLASLIDER_H__ 24 #include <QAccessibleWidget> 49 Q_PROPERTY(
int id READ
id WRITE
setId)
84 virtual
void setValue(
double v);
115 virtual double value()
const;
149 QAccessible::Role role() const Q_DECL_OVERRIDE;
150 QString text(QAccessible::
Text t) const Q_DECL_OVERRIDE;
152 static QAccessibleInterface* AbstractSliderFactory(const QString &classname, QObject *
object);
virtual void setEnableMouseWheel(bool enabled)
Definition: aslider.cpp:63
void valueChanged(double, int)
void setDclickValue2(double val)
Definition: aslider.h:141
void setDclickValue1(double val)
Definition: aslider.h:140
void setLineStep(double v)
Definition: aslider.h:135
double lineStep() const
Definition: aslider.h:134
void setLog(bool v)
Definition: aslider.h:133
double maxValue() const
Definition: aslider.h:121
bool log() const
Definition: aslider.h:132
void setMaxLogValue(double v)
Definition: aslider.cpp:277
virtual void setScaleValueColor(const QColor &)
Definition: aslider.cpp:110
virtual void setInvertedAppearance(bool val)
Definition: aslider.h:109
QColor scaleValueColor() const
return color of active scale part
Definition: aslider.h:107
double minValue() const
Definition: aslider.h:118
virtual void setScaleWidth(int)
Definition: aslider.cpp:86
void setRange(double a, double b)
Definition: aslider.h:124
bool _enableMouseWheel
Definition: aslider.h:67
double _pageStep
Definition: aslider.h:63
virtual void setCenter(bool val)
If the center flag is set, a notch is drawn to show the center position.
Definition: aslider.cpp:74
bool _log
Definition: aslider.h:72
double _value
Definition: aslider.h:62
int id() const
Definition: aslider.h:112
AbstractSlider * slider
Definition: aslider.h:148
double _dclickValue2
Definition: aslider.h:65
double _minValue
Definition: aslider.h:63
double _maxValue
Definition: aslider.h:63
void setUseActualValue(bool v)
Definition: aslider.h:143
Definition: aslider.h:146
void setMinValue(double v)
Definition: aslider.h:119
QColor _scaleValueColor
Definition: aslider.h:71
int __id
Definition: aslider.h:61
void setEnabled(bool val)
Definition: aslider.cpp:53
bool _useActualValue
Definition: aslider.h:73
virtual void setValue(double v)
Definition: aslider.cpp:185
virtual void wheelEvent(QWheelEvent *)
for user value
Definition: aslider.cpp:122
QColor scaleColor() const
return current scale color
Definition: aslider.h:104
bool center() const
return the center flag
Definition: aslider.h:98
virtual void setScaleColor(const QColor &)
Definition: aslider.cpp:98
bool _center
Definition: aslider.h:66
void setPageStep(double f)
Definition: aslider.h:137
bool enableMouseWheel()
Definition: aslider.h:94
The AwlAbstractSlider class provides an double value within a range.
Definition: aslider.h:39
void setId(int i)
Definition: aslider.h:113
virtual double value() const
double dclickValue2() const
Definition: aslider.h:139
double _lineStep
Definition: aslider.h:63
virtual void mouseDoubleClickEvent(QMouseEvent *)
Definition: aslider.cpp:172
void setLogRange(double a, double b)
Definition: aslider.h:128
bool invertedAppearance() const
Definition: aslider.h:110
Definition: aslider.cpp:23
QColor _scaleColor
scale line width
Definition: aslider.h:70
void setMinLogValue(double v)
Definition: aslider.cpp:253
int _scaleWidth
Definition: aslider.h:69
int scaleWidth() const
return the scale line width
Definition: aslider.h:101
double pageStep() const
Definition: aslider.h:136
virtual QString userValue() const
Definition: aslider.cpp:230
virtual void keyPressEvent(QKeyEvent *)
Definition: aslider.cpp:142
virtual void valueChange()
Definition: aslider.cpp:211
double dclickValue1() const
Definition: aslider.h:138
bool _invert
Definition: aslider.h:68
void setMaxValue(double v)
Definition: aslider.h:122
double _dclickValue1
Definition: aslider.h:64