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