42 Q_PROPERTY(
bool percents READ percents WRITE setPercents)
45 void setPercents(
bool percent);
46 inline bool percents()
const {
return arePercents; }
48 void addPie(
double value,
const QString label, QColor color = QColor());
54 void drawChart(QPainter *painter, QRect viewPort);
57 QString percentLabel(
float percentage);