30 Q_PROPERTY(
qreal stepSize READ stepSize WRITE setStepSize NOTIFY stepSizeChanged FINAL)
32 Q_PROPERTY(
bool pressed READ isPressed WRITE setPressed NOTIFY pressedChanged FINAL)
33 Q_PROPERTY(
Qt::Orientation orientation READ orientation WRITE setOrientation NOTIFY orientationChanged FINAL)
35 Q_PROPERTY(
SnapMode snapMode READ snapMode WRITE setSnapMode NOTIFY snapModeChanged FINAL REVISION(2, 2))
36 Q_PROPERTY(
bool interactive READ isInteractive WRITE setInteractive RESET resetInteractive NOTIFY interactiveChanged 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 minimumSize READ minimumSize WRITE setMinimumSize NOTIFY minimumSizeChanged FINAL REVISION(2, 4))
43 Q_PROPERTY(
qreal visualSize READ visualSize NOTIFY visualSizeChanged FINAL REVISION(2, 4))
44 Q_PROPERTY(
qreal visualPosition READ visualPosition NOTIFY visualPositionChanged FINAL REVISION(2, 4))
61 qreal stepSize() const;
62 void setStepSize(
qreal step);
65 void setActive(
bool active);
67 bool isPressed() const;
68 void setPressed(
bool pressed);
70 Qt::Orientation orientation() const;
71 void setOrientation(
Qt::Orientation orientation);
81 SnapMode snapMode()
const;
82 void setSnapMode(SnapMode
mode);
84 bool isInteractive()
const;
85 void setInteractive(
bool interactive);
86 void resetInteractive();
96 void setPolicy(Policy
policy);
99 bool isHorizontal()
const;
100 bool isVertical()
const;
103 qreal minimumSize()
const;
104 void setMinimumSize(
qreal minimumSize);
106 qreal visualSize()
const;
107 qreal visualPosition()
const;
137#if QT_CONFIG(quicktemplates2_hover)
138 void hoverChange()
override;
144 void classBegin()
override;
145 void componentComplete()
override;
147#if QT_CONFIG(accessibility)
148 void accessibilityActiveChanged(
bool active)
override;
149 QAccessible::Role accessibleRole()
const override;