##// END OF EJS Templates
minor doc update
minor doc update

File last commit:

r1274:9c11726517fa
r1299:60e2b55c1831
Show More
qpieslice_p.h
43 lines | 927 B | text/x-c | CLexer
#ifndef QPIESLICE_P_H
#define QPIESLICE_P_H
#include <QObject>
#include "qpieslice.h"
#include "pieslicedata_p.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QPieSlicePrivate : public QObject
{
Q_OBJECT
public:
QPieSlicePrivate(QPieSlice *parent);
~QPieSlicePrivate();
static QPieSlicePrivate* fromSlice(QPieSlice *slice);
void setPen(const QPen &pen, bool themed);
void setBrush(const QBrush &brush, bool themed);
void setLabelPen(const QPen &pen, bool themed);
void setLabelFont(const QFont &font, bool themed);
void setPercentage(qreal percentage);
void setStartAngle(qreal angle);
void setAngleSpan(qreal span);
private:
PieSliceData m_data;
private:
friend class QPieSeriesPrivate;
friend class ChartTheme;
friend class PieChartItem;
QPieSlice * const q_ptr;
Q_DECLARE_PUBLIC(QPieSlice)
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // QPIESLICE_P_H