casa
$Rev:20696$
|
#include <QtPlotHistogram.h>
Public Member Functions | |
QtPlotHistogram (const QString &label=QString::null) | |
QtPlotHistogram (const QwtText &title) | |
~QtPlotHistogram () | |
void | setData (const QwtIntervalData &data) |
const QwtIntervalData & | data () const |
QwtDoubleRect | boundingRect () const |
int | rtti () const |
void | draw (QPainter *, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRect &) const |
void | setBaseline (double reference) |
double | baseline () const |
void | setColor (const QColor &c) |
QColor | color () const |
Private Member Functions | |
virtual void | draw_bar (QPainter *, Qt::Orientation orientation, const QRect &) const |
Private Attributes | |
QwtIntervalData | data_ |
double | reference_ |
QColor | color_ |
Definition at line 37 of file QtPlotHistogram.h.
QtPlotHistogram::QtPlotHistogram | ( | const QString & | label = QString::null | ) | [explicit] |
QtPlotHistogram::QtPlotHistogram | ( | const QwtText & | title | ) | [explicit] |
QtPlotHistogram::~QtPlotHistogram | ( | ) | [inline] |
Definition at line 41 of file QtPlotHistogram.h.
double QtPlotHistogram::baseline | ( | ) | const [inline] |
Definition at line 52 of file QtPlotHistogram.h.
References reference_.
QwtDoubleRect QtPlotHistogram::boundingRect | ( | ) | const |
QColor QtPlotHistogram::color | ( | ) | const [inline] |
Definition at line 55 of file QtPlotHistogram.h.
References color_.
const QwtIntervalData& QtPlotHistogram::data | ( | ) | const [inline] |
Definition at line 44 of file QtPlotHistogram.h.
References data_.
void QtPlotHistogram::draw | ( | QPainter * | , |
const QwtScaleMap & | xMap, | ||
const QwtScaleMap & | yMap, | ||
const QRect & | |||
) | const |
virtual void QtPlotHistogram::draw_bar | ( | QPainter * | , |
Qt::Orientation | orientation, | ||
const QRect & | |||
) | const [private, virtual] |
int QtPlotHistogram::rtti | ( | ) | const [inline] |
Definition at line 47 of file QtPlotHistogram.h.
void QtPlotHistogram::setBaseline | ( | double | reference | ) |
void QtPlotHistogram::setColor | ( | const QColor & | c | ) |
void QtPlotHistogram::setData | ( | const QwtIntervalData & | data | ) |
QColor QtPlotHistogram::color_ [private] |
Definition at line 62 of file QtPlotHistogram.h.
Referenced by color().
QwtIntervalData QtPlotHistogram::data_ [private] |
Definition at line 60 of file QtPlotHistogram.h.
Referenced by data().
double QtPlotHistogram::reference_ [private] |
Definition at line 61 of file QtPlotHistogram.h.
Referenced by baseline().