23 #ifndef KDCHARTRINGDIAGRAM_H 24 #define KDCHARTRINGDIAGRAM_H 51 virtual void resize(
const QSizeF& area );
55 virtual qreal valueTotals()
const;
57 virtual qreal numberOfValuesPerDataset()
const;
58 virtual qreal numberOfDatasets()
const;
60 virtual qreal numberOfGridRings()
const;
62 qreal valueTotals(
int dataset )
const;
71 void setRelativeThickness(
bool relativeThickness );
72 bool relativeThickness()
const;
74 virtual void setExpandWhenExploded(
bool expand );
75 virtual bool expandWhenExploded()
const;
80 void paintEvent( QPaintEvent* );
81 void resizeEvent( QResizeEvent* );
84 void drawOneSlice( QPainter* painter, uint dataset, uint slice, qreal granularity );
85 void drawPieSurface( QPainter* painter, uint dataset, uint slice, qreal granularity );
86 QPointF pointOnEllipse(
const QRectF& rect,
int dataset,
int slice,
bool outer, qreal angle,
87 qreal totalGapFactor, qreal totalExplodeFactor );
92 #endif // KDCHARTRINGDIAGRAM_H
Stores information about painting diagrams.
Base class for any diagram type.
#define KDCHART_DECLARE_DERIVED_DIAGRAM(X, PLANE)
RingDiagram defines a common ring diagram.