15 Q_PROPERTY(
int count READ count
16 WRITE setCount NOTIFY countChanged FINAL )
18 Q_PROPERTY( qreal currentIndex READ currentIndex
19 WRITE setCurrentIndex NOTIFY currentIndexChanged FINAL )
21 Q_PROPERTY( Qt::Orientation orientation READ orientation
22 WRITE setOrientation NOTIFY orientationChanged FINAL )
27 QSK_SUBCONTROLS( Panel, Bullet )
28 QSK_STATES( Selected )
36 qreal currentIndex()
const;
38 Qt::Orientation orientation()
const;
39 void setOrientation( Qt::Orientation );
41 qreal valueRatioAt(
int index )
const;
42 QRectF bulletRect(
int index )
const;
43 int indexAtPosition(
const QPointF& )
const;
48 void countChanged(
int );
49 void currentIndexChanged( qreal );
50 void orientationChanged( Qt::Orientation );
51 void pageRequested(
int index );
54 void setCount(
int count );
55 void setCurrentIndex( qreal index );
58 void mousePressEvent( QMouseEvent* e )
override;
60 void mouseReleaseEvent( QMouseEvent* e )
override;
62 void keyPressEvent( QKeyEvent* )
override;
64#ifndef QT_NO_WHEELEVENT
65 void wheelEvent( QWheelEvent* )
override;
69 void incrementRequested(
int );
72 std::unique_ptr< PrivateData > m_data;