##// END OF EJS Templates
Rest of the pie, bar, area and scatter properties to QML property tester
Rest of the pie, bar, area and scatter properties to QML property tester

File last commit:

r1237:64e92d4f2959
r1308:dde391dc31a2
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