31 Q_PROPERTY(
bool pressed READ isPressed NOTIFY pressedChanged FINAL)
33 Q_PROPERTY(
bool checkable READ isCheckable WRITE setCheckable NOTIFY checkableChanged FINAL)
34 Q_PROPERTY(
bool autoExclusive READ autoExclusive WRITE setAutoExclusive NOTIFY autoExclusiveChanged FINAL)
35 Q_PROPERTY(
bool autoRepeat READ autoRepeat WRITE setAutoRepeat NOTIFY autoRepeatChanged FINAL)
42 Q_PROPERTY(
int autoRepeatDelay READ autoRepeatDelay WRITE setAutoRepeatDelay NOTIFY autoRepeatDelayChanged FINAL REVISION(2, 4))
43 Q_PROPERTY(
int autoRepeatInterval READ autoRepeatInterval WRITE setAutoRepeatInterval NOTIFY autoRepeatIntervalChanged FINAL REVISION(2, 4))
47 Q_PROPERTY(
qreal implicitIndicatorWidth READ implicitIndicatorWidth NOTIFY implicitIndicatorWidthChanged FINAL REVISION(2, 5))
48 Q_PROPERTY(
qreal implicitIndicatorHeight READ implicitIndicatorHeight NOTIFY implicitIndicatorHeightChanged FINAL REVISION(2, 5))
49 Q_CLASSINFO("DeferredPropertyNames", "background,contentItem,indicator")
65 bool isPressed() const;
66 void setPressed(
bool pressed);
68 bool isChecked() const;
71 bool isCheckable() const;
72 void setCheckable(
bool checkable);
74 bool autoExclusive() const;
75 void setAutoExclusive(
bool exclusive);
77 bool autoRepeat() const;
78 void setAutoRepeat(
bool repeat);
101#if QT_CONFIG(shortcut)
107 int autoRepeatDelay()
const;
108 void setAutoRepeatDelay(
int delay);
110 int autoRepeatInterval()
const;
111 void setAutoRepeatInterval(
int interval);
113 qreal pressX()
const;
114 qreal pressY()
const;
117 qreal implicitIndicatorWidth()
const;
118 qreal implicitIndicatorHeight()
const;
156 void componentComplete() override;
174 virtual void buttonChange(ButtonChange change);
176 virtual void nextCheckState();
178#if QT_CONFIG(accessibility)
179 void accessibilityActiveChanged(
bool active)
override;
180 QAccessible::Role accessibleRole()
const override;