#include <QwtPieCurve.h>
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 |
QwtPieCurve::QwtPieCurve | ( | Table * | t, | |
const char * | name, | |||
int | startRow, | |||
int | endRow | |||
) |
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] |
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] |