2021-06-04 11:55:10 +02:00

36 lines
781 B
C++

/******************************************************************************
* Copyright (C) 2021 Edelhirsch Software GmbH
* This file may be used under the terms of the 3-clause BSD License
*****************************************************************************/
#include "PieChart.h"
QSK_SUBCONTROL( PieChart, Panel )
QSK_SUBCONTROL( PieChart, Labels )
PieChart::PieChart( QQuickItem* parent ) : QskControl( parent )
{
}
QVector< float > PieChart::angles() const
{
return m_angles;
}
void PieChart::setAngles( const QVector< float >& angles )
{
m_angles = angles;
}
QVector< QString > PieChart::labels() const
{
return m_labels;
}
void PieChart::setLabels( const QVector< QString >& labels )
{
m_labels = labels;
}
#include "moc_PieChart.cpp"