QwtPieCurve Class Reference

#include <QwtPieCurve.h>

Inheritance diagram for QwtPieCurve:

DataCurve PlotCurve

List of all members.


Detailed Description

Pie plot class.

Public Slots

QColor color (int i) const
int firstColor ()
void loadData ()
Qt::BrushStyle pattern ()
int ray ()
void setBrushStyle (const Qt::BrushStyle &style)
void setFirstColor (int index)
void setRay (int size)
void updateBoundingRect ()

Public Member Functions

 QwtPieCurve (Table *t, const char *name, int startRow, int endRow)

Private Member Functions

void draw (QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, int from, int to) const
void drawPie (QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, int from, int to) const

Private Attributes

int d_first_color
double d_left_coord
 Keeps track of the left side position of the pie bounding rectangle in scale coordinates.
int d_pie_ray

Constructor & Destructor Documentation

QwtPieCurve::QwtPieCurve ( Table t,
const char *  name,
int  startRow,
int  endRow 
)


Member Function Documentation

QColor QwtPieCurve::color ( int  i  )  const [slot]

void QwtPieCurve::draw ( QPainter *  painter,
const QwtScaleMap &  xMap,
const QwtScaleMap &  yMap,
int  from,
int  to 
) const [private]

void QwtPieCurve::drawPie ( QPainter *  painter,
const QwtScaleMap &  xMap,
const QwtScaleMap &  yMap,
int  from,
int  to 
) const [private]

int QwtPieCurve::firstColor (  )  [inline, slot]

void QwtPieCurve::loadData (  )  [virtual, slot]

Reimplemented from DataCurve.

Qt::BrushStyle QwtPieCurve::pattern (  )  [inline, slot]

int QwtPieCurve::ray (  )  [inline, slot]

void QwtPieCurve::setBrushStyle ( const Qt::BrushStyle &  style  )  [slot]

void QwtPieCurve::setFirstColor ( int  index  )  [inline, slot]

void QwtPieCurve::setRay ( int  size  )  [inline, slot]

void QwtPieCurve::updateBoundingRect (  )  [slot]


Member Data Documentation

int QwtPieCurve::d_first_color [private]

double QwtPieCurve::d_left_coord [private]

Keeps track of the left side position of the pie bounding rectangle in scale coordinates.

int QwtPieCurve::d_pie_ray [private]


The documentation for this class was generated from the following files:
Generated on Mon Oct 15 06:11:43 2007 for QtiPlot by  doxygen 1.5.3