6#include "QskProgressRing.h"
7#include "QskIntervalF.h"
12class QskProgressRing::PrivateData
18QskProgressRing::QskProgressRing( qreal min, qreal max, QQuickItem* parent )
19 : Inherited( min, max, parent )
20 , m_data( new PrivateData )
22 initSizePolicy( QskSizePolicy::Fixed, QskSizePolicy::Fixed );
24 m_data->size = NormalSize;
26 setSubcontrolProxy( Inherited::Groove, Groove );
27 setSubcontrolProxy( Inherited::Fill, Fill );
30QskProgressRing::QskProgressRing( QQuickItem* parent )
35QskProgressRing::QskProgressRing(
const QskIntervalF& boundaries, QQuickItem* parent )
36 :
QskProgressRing( boundaries.lowerBound(), boundaries.upperBound(), parent )
40QskProgressRing::~QskProgressRing()
49 return QskAspect::Small;
52 return QskAspect::Large;
59void QskProgressRing::setSize( Size size )
61 if ( size != m_data->size )
68 Q_EMIT sizeChanged( size );
72QskProgressRing::Size QskProgressRing::size()
const
74 return static_cast< Size
>( m_data->size );
77#include "moc_QskProgressRing.cpp"
Variation
Some sort of variation.
QskAspect::Variation effectiveVariation() const override