KDChartPiePainter Class Reference

#include <KDChartPiePainter.h>

Inheritance diagram for KDChartPiePainter:

KDChartPainter
Collaboration diagram for KDChartPiePainter:

Collaboration graph
[legend]

List of all members.

Protected Member Functions

 KDChartPiePainter (KDChartParams *params)
virtual ~KDChartPiePainter ()
virtual void paintData (QPainter *painter, KDChartTableDataBase *data, bool paint2nd, KDChartDataRegionList *regions=0)
virtual void drawOnePie (QPainter *painter, KDChartTableDataBase *data, uint dataset, uint pie, uint chart, uint threeDPieHeight, KDChartDataRegionList *regions=0)
virtual void draw3DEffect (QPainter *painter, const QRect &drawPosition, uint dataset, uint pie, uint chart, uint threeDPieHeight, bool explode, QRegion *region=0)
void drawStraightEffectSegment (QPainter *painter, const QRect &rect, uint dataset, uint pie, uint chart, int threeDHeight, int angle, QRegion *region=0)
void drawArcEffectSegment (QPainter *painter, const QRect &rect, uint dataset, uint pie, uint chart, int threeDHeight, int startAngle, int endAngle, QRegion *region=0)
virtual QString fallbackLegendText (uint dataset) const
virtual uint numLegendFallbackTexts (KDChartTableDataBase *data) const
uint findPieAt (int angle)
uint findLeftPie (uint pie)
uint findRightPie (uint pie)

Protected Attributes

QMemArray< int > _startAngles
QMemArray< int > _angleLens
QRect _position
int _size
int _numValues

Friends

class KDChartPainter


Constructor & Destructor Documentation

KDChartPiePainter::KDChartPiePainter ( KDChartParams params  )  [protected]

virtual KDChartPiePainter::~KDChartPiePainter (  )  [protected, virtual]


Member Function Documentation

virtual void KDChartPiePainter::paintData ( QPainter *  painter,
KDChartTableDataBase data,
bool  paint2nd,
KDChartDataRegionList regions = 0 
) [protected, virtual]

Implements KDChartPainter.

virtual void KDChartPiePainter::drawOnePie ( QPainter *  painter,
KDChartTableDataBase data,
uint  dataset,
uint  pie,
uint  chart,
uint  threeDPieHeight,
KDChartDataRegionList regions = 0 
) [protected, virtual]

virtual void KDChartPiePainter::draw3DEffect ( QPainter *  painter,
const QRect &  drawPosition,
uint  dataset,
uint  pie,
uint  chart,
uint  threeDPieHeight,
bool  explode,
QRegion *  region = 0 
) [protected, virtual]

void KDChartPiePainter::drawStraightEffectSegment ( QPainter *  painter,
const QRect &  rect,
uint  dataset,
uint  pie,
uint  chart,
int  threeDHeight,
int  angle,
QRegion *  region = 0 
) [protected]

void KDChartPiePainter::drawArcEffectSegment ( QPainter *  painter,
const QRect &  rect,
uint  dataset,
uint  pie,
uint  chart,
int  threeDHeight,
int  startAngle,
int  endAngle,
QRegion *  region = 0 
) [protected]

virtual QString KDChartPiePainter::fallbackLegendText ( uint  dataset  )  const [protected, virtual]

Reimplemented from KDChartPainter.

virtual uint KDChartPiePainter::numLegendFallbackTexts ( KDChartTableDataBase data  )  const [protected, virtual]

Reimplemented from KDChartPainter.

uint KDChartPiePainter::findPieAt ( int  angle  )  [protected]

uint KDChartPiePainter::findLeftPie ( uint  pie  )  [protected]

uint KDChartPiePainter::findRightPie ( uint  pie  )  [protected]


Friends And Related Function Documentation

friend class KDChartPainter [friend]


Member Data Documentation

QMemArray< int > KDChartPiePainter::_startAngles [protected]

QMemArray< int > KDChartPiePainter::_angleLens [protected]

QRect KDChartPiePainter::_position [protected]

int KDChartPiePainter::_size [protected]


The documentation for this class was generated from the following file:

Generated on Wed Jan 26 13:06:43 2011 for KMyMoney by  doxygen 1.5.6