2023-04-06 09:23:37 +02:00

32 lines
719 B
C++

/******************************************************************************
* QSkinny - Copyright (C) 2016 Uwe Rathmann
* SPDX-License-Identifier: BSD-3-Clause
*****************************************************************************/
#include "Dial.h"
#include <QskSkinlet.h>
#include <QskSkinnable.h>
QSK_SUBCONTROL( Dial, Panel )
QSK_SUBCONTROL( Dial, TickLabels )
QSK_SUBCONTROL( Dial, Knob )
QSK_SUBCONTROL( Dial, Needle )
Dial::Dial( QQuickItem* parent )
: QskBoundedValueInput( parent )
{
}
QVector< QString > Dial::tickLabels() const
{
return m_tickLabels;
}
void Dial::setTickLabels( const QVector< QString >& labels )
{
m_tickLabels = labels;
}
#include "moc_Dial.cpp"