##// END OF EJS Templates
App for demonstrating QML customization apis
App for demonstrating QML customization apis

File last commit:

r1237:64e92d4f2959
r1259:5664856ed1d4
Show More
qhpiemodelmapper.cpp
33 lines | 659 B | text/x-c | CppLexer
#include "qhpiemodelmapper.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
QHPieModelMapper::QHPieModelMapper(QObject *parent) :
QPieModelMapper(parent)
{
QPieModelMapper::setOrientation(Qt::Horizontal);
}
int QHPieModelMapper::valuesRow() const
{
return QPieModelMapper::valuesIndex();
}
void QHPieModelMapper::setValuesRow(int valuesRow)
{
QPieModelMapper::setValuesIndex(valuesRow);
}
int QHPieModelMapper::labelsRow() const
{
return QPieModelMapper::labelsIndex();
}
void QHPieModelMapper::setLabelsRow(int labelsRow)
{
QPieModelMapper::setLabelsIndex(labelsRow);
}
#include "moc_qhpiemodelmapper.cpp"
QTCOMMERCIALCHART_END_NAMESPACE