31 Q_PROPERTY(
qreal visualPosition READ visualPosition NOTIFY visualPositionChanged FINAL)
32 Q_PROPERTY(
qreal stepSize READ stepSize WRITE setStepSize NOTIFY stepSizeChanged FINAL)
34 Q_PROPERTY(
bool pressed READ isPressed WRITE setPressed NOTIFY pressedChanged FINAL)
35 Q_PROPERTY(
Qt::Orientation orientation READ orientation WRITE setOrientation NOTIFY orientationChanged FINAL)
37 Q_PROPERTY(
bool live READ live WRITE setLive NOTIFY liveChanged FINAL REVISION(2, 2))
39 Q_PROPERTY(
bool horizontal READ isHorizontal NOTIFY orientationChanged FINAL REVISION(2, 3))
40 Q_PROPERTY(
bool vertical READ isVertical NOTIFY orientationChanged FINAL REVISION(2, 3))
42 Q_PROPERTY(
qreal touchDragThreshold READ touchDragThreshold WRITE setTouchDragThreshold RESET resetTouchDragThreshold NOTIFY touchDragThresholdChanged FINAL REVISION(2, 5))
43 Q_PROPERTY(
qreal implicitHandleWidth READ implicitHandleWidth NOTIFY implicitHandleWidthChanged FINAL REVISION(2, 5))
44 Q_PROPERTY(
qreal implicitHandleHeight READ implicitHandleHeight NOTIFY implicitHandleHeightChanged FINAL REVISION(2, 5))
54 void setFrom(
qreal from);
63 qreal visualPosition() const;
65 qreal stepSize() const;
66 void setStepSize(
qreal step);
75 SnapMode snapMode()
const;
76 void setSnapMode(SnapMode
mode);
78 bool isPressed()
const;
79 void setPressed(
bool pressed);
92 void setLive(
bool live);
95 bool isHorizontal() const;
96 bool isVertical() const;
99 qreal touchDragThreshold() const;
100 void setTouchDragThreshold(
qreal touchDragThreshold);
101 void resetTouchDragThreshold();
103 qreal implicitHandleWidth() const;
104 qreal implicitHandleHeight() const;
114 void positionChanged();
115 void visualPositionChanged();
116 void stepSizeChanged();
117 void snapModeChanged();
118 void pressedChanged();
119 void orientationChanged();
120 void handleChanged();
133#if QT_CONFIG(quicktemplates2_multitouch)
136#if QT_CONFIG(wheelevent)
137 void wheelEvent(QWheelEvent *
event)
override;
140 void mirrorChange()
override;
141 void componentComplete()
override;
143#if QT_CONFIG(accessibility)
144 void accessibilityActiveChanged(
bool active)
override;
145 QAccessible::Role accessibleRole()
const override;