#include <QwtPieCurve.h>
Public Member Functions | |
QString | customText () |
PieLabel (Graph *, QwtPieCurve *pie=0) | |
void | setCustomText (const QString &s) |
void | setPieCurve (QwtPieCurve *pie) |
Private Member Functions | |
void | closeEvent (QCloseEvent *e) |
Private Attributes | |
QString | d_custom_text |
QwtPieCurve * | d_pie_curve |
PieLabel::PieLabel | ( | Graph * | plot, | |
QwtPieCurve * | pie = 0 | |||
) |
References LegendWidget::setBackgroundColor(), and LegendWidget::setFrameStyle().
void PieLabel::closeEvent | ( | QCloseEvent * | e | ) | [private] |
References d_pie_curve, and QwtPieCurve::removeLabel().
QString PieLabel::customText | ( | ) |
References d_custom_text, and LegendWidget::text().
Referenced by QwtPieCurve::addLabel(), QwtPieCurve::drawDisk(), QwtPieCurve::drawSlices(), and QwtPieCurve::removeLabel().
void PieLabel::setCustomText | ( | const QString & | s | ) | [inline] |
void PieLabel::setPieCurve | ( | QwtPieCurve * | pie | ) | [inline] |
QString PieLabel::d_custom_text [private] |
Referenced by customText(), and setCustomText().
QwtPieCurve* PieLabel::d_pie_curve [private] |
Referenced by closeEvent(), and setPieCurve().