16 Q_PROPERTY(
bool wrapping READ isWrapping
17 WRITE setWrapping NOTIFY wrappingChanged )
19 Q_PROPERTY( Decoration decoration READ decoration
20 WRITE setDecoration RESET resetDecoration NOTIFY decorationChanged )
23 QSK_SUBCONTROLS( Panel, TextPanel, Text,
24 UpPanel, UpIndicator, DownPanel, DownIndicator )
26 QSK_STATES( Decreasing, Increasing )
40 qreal stepSize, QQuickItem* parent =
nullptr );
44 void setDecoration( Decoration );
45 void resetDecoration();
46 Decoration decoration()
const;
48 void setWrapping(
bool );
49 bool isWrapping()
const;
51 void increment( qreal )
override;
54 void decorationChanged( Decoration );
55 void wrappingChanged(
bool );
58 void timerEvent( QTimerEvent* )
override;
60 void mouseReleaseEvent( QMouseEvent* )
override;
61 void mouseMoveEvent( QMouseEvent* )
override;
62 void mousePressEvent( QMouseEvent* )
override;
65 void hoverMoveEvent( QHoverEvent* )
override;
67 void keyPressEvent( QKeyEvent* )
override;
68 void keyReleaseEvent( QKeyEvent* )
override;
72 std::unique_ptr< PrivateData > m_data;