45 LineFromSliceDecoration = 2
47 Q_DECLARE_FLAGS( LabelDecorations, LabelDecoration )
49 void setLabelDecorations( LabelDecorations decorations );
51 LabelDecorations labelDecorations()
const;
57 void setLabelCollisionAvoidanceEnabled(
bool enabled );
59 bool isLabelCollisionAvoidanceEnabled()
const;
62 void resize (
const QSizeF& area )
override;
66 qreal valueTotals ()
const override;
68 qreal numberOfValuesPerDataset()
const override;
70 qreal numberOfGridRings()
const override;
80 const QPair<QPointF, QPointF> calculateDataBoundaries()
const override;
88 void shuffleLabels(
QRectF* textBoundingRect );
99 void drawSlice(
QPainter* painter,
const QRectF& drawPosition, uint slice );
108 void drawSliceSurface(
QPainter* painter,
const QRectF& drawPosition, uint slice );
109 void addSliceLabel( LabelPaintCache* lpc,
const QRectF& drawPosition, uint slice );
118 void draw3DEffect(
QPainter* painter,
const QRectF& drawPosition, uint slice );
129 void draw3dCutSurface(
QPainter* painter,
143 void draw3dOuterRim(
QPainter* painter,
148 void calcSliceAngles();
149 void calcPieSize(
const QRectF &contentsRect );
151 QRectF explodedDrawPosition(
const QRectF& drawPosition, uint slice )
const;
159 uint findSliceAt( qreal angle,
int columnCount );
167 uint findLeftSlice( uint slice,
int columnCount );
175 uint findRightSlice( uint slice,
int columnCount );
181 QPointF pointOnEllipse(
const QRectF& boundingBox, qreal angle );
Stores information about painting diagrams.