KDChartPolarPainter Class Reference

#include <KDChartPolarPainter.h>

Inheritance diagram for KDChartPolarPainter:

Collaboration diagram for KDChartPolarPainter:

Collaboration graph

List of all members.

Protected Member Functions

 KDChartPolarPainter (KDChartParams *params)
virtual ~KDChartPolarPainter ()
virtual void paintData (QPainter *painter, KDChartTableDataBase *data, bool paint2nd, KDChartDataRegionList *regions=0)
virtual QString fallbackLegendText (uint dataset) const
virtual uint numLegendFallbackTexts (KDChartTableDataBase *data) const

Private Member Functions

QPoint polarToXY (int radius, int angle)
void paintAxisLabels (QPainter *painter, QStringList &labelTexts, double radiusDelta, const QRect &position, const QPoint &center, double radiusPPU, double &currentRadiusPPU, const KDChartAxisParams &paraCircular, double minSizeP1000)
void paintCircularAxisLabel (QPainter *painter, bool rotate, int txtAngle, QPoint center, double currentRadiusPPU, const QString &txt, int align, int step)


class KDChartPainter

Constructor & Destructor Documentation

KDChartPolarPainter::KDChartPolarPainter ( KDChartParams params  )  [protected]

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

Member Function Documentation

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

Implements KDChartPainter.

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

Reimplemented from KDChartPainter.

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

Reimplemented from KDChartPainter.

QPoint KDChartPolarPainter::polarToXY ( int  radius,
int  angle 
) [private]

void KDChartPolarPainter::paintAxisLabels ( QPainter *  painter,
QStringList &  labelTexts,
double  radiusDelta,
const QRect &  position,
const QPoint &  center,
double  radiusPPU,
double &  currentRadiusPPU,
const KDChartAxisParams paraCircular,
double  minSizeP1000 
) [private]

void KDChartPolarPainter::paintCircularAxisLabel ( QPainter *  painter,
bool  rotate,
int  txtAngle,
QPoint  center,
double  currentRadiusPPU,
const QString &  txt,
int  align,
int  step 
) [private]

Friends And Related Function Documentation

friend class KDChartPainter [friend]

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

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