17 Q_PROPERTY( qreal extent READ extent
18 WRITE setExtent RESET resetExtent NOTIFY extentChanged )
20 Q_PROPERTY(
bool indeterminate READ isIndeterminate
21 WRITE setIndeterminate NOTIFY indeterminateChanged )
23 Q_PROPERTY( qreal origin READ origin
24 WRITE setOrigin RESET resetOrigin NOTIFY originChanged )
26 Q_PROPERTY( qreal value READ value WRITE setValue NOTIFY valueChanged )
27 Q_PROPERTY( qreal valueAsRatio READ valueAsRatio
28 WRITE setValueAsRatio NOTIFY valueChanged )
33 QSK_SUBCONTROLS( Groove, Fill )
41 bool isIndeterminate()
const;
42 void setIndeterminate(
bool on =
true );
45 void resetFillGradient();
48 void setExtent( qreal );
56 qreal valueAsRatio()
const;
57 using QskBoundedControl::valueAsRatio;
60 void setValue( qreal );
61 void setValueAsRatio( qreal );
62 void setOrigin( qreal );
65 void extentChanged( qreal );
66 void indeterminateChanged(
bool );
67 void valueChanged( qreal );
68 void originChanged( qreal );
71 void componentComplete()
override;
72 void itemChange( ItemChange,
const ItemChangeData& )
override;
75 void setValueInternal( qreal value );
76 void adjustBoundaries(
bool increasing );
80 std::unique_ptr< PrivateData > m_data;