2018-04-05 09:23:38 +00:00
|
|
|
#include "Speedometer.h"
|
|
|
|
|
|
|
|
#include <QskSkinlet.h>
|
2018-04-05 09:23:52 +00:00
|
|
|
#include <QskSkinnable.h>
|
2018-04-05 09:23:38 +00:00
|
|
|
|
|
|
|
QSK_SUBCONTROL( Speedometer, Panel )
|
2018-04-05 09:23:52 +00:00
|
|
|
QSK_SUBCONTROL( Speedometer, Labels )
|
2018-05-07 11:28:57 +00:00
|
|
|
QSK_SUBCONTROL( Speedometer, NeedleHead )
|
2018-04-05 09:23:38 +00:00
|
|
|
QSK_SUBCONTROL( Speedometer, Needle )
|
|
|
|
|
|
|
|
Speedometer::Speedometer( QQuickItem* parent ) :
|
2018-04-11 10:07:10 +00:00
|
|
|
QskRangeControl( parent )
|
2018-04-05 09:23:38 +00:00
|
|
|
{
|
2018-04-05 09:23:48 +00:00
|
|
|
}
|
|
|
|
|
2018-04-05 09:23:52 +00:00
|
|
|
QVector< QString > Speedometer::labels() const
|
|
|
|
{
|
|
|
|
return m_labels;
|
|
|
|
}
|
|
|
|
|
|
|
|
void Speedometer::setLabels( const QVector< QString >& labels )
|
|
|
|
{
|
|
|
|
m_labels = labels;
|
|
|
|
}
|
|
|
|
|
2018-04-05 09:23:38 +00:00
|
|
|
#include "moc_Speedometer.cpp"
|