QGIS API Documentation
2.8.2-Wien
|
#include <qwt5_histogram_item.h>
Classes | |
class | PrivateData |
Public Types | |
enum | HistogramAttribute { Auto = 0, Xfy = 1 } |
Public Member Functions | |
HistogramItem (const QString &title=QString::null) | |
HistogramItem (const QwtText &title) | |
virtual | ~HistogramItem () |
double | baseline () const |
virtual QwtDoubleRect | boundingRect () const |
QColor | color () const |
const QwtIntervalData & | data () const |
virtual void | draw (QPainter *, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRect &) const |
virtual int | rtti () const |
void | setBaseline (double reference) |
void | setColor (const QColor &) |
void | setData (const QwtIntervalData &data) |
void | setHistogramAttribute (HistogramAttribute, bool on=true) |
bool | testHistogramAttribute (HistogramAttribute) const |
virtual void | updateLegend (QwtLegend *) const |
Update the widget that represents the curve on the legend. |
Protected Member Functions | |
virtual void | drawBar (QPainter *, Qt::Orientation o, const QRect &) const |
Definition at line 21 of file qwt5_histogram_item.h.
Definition at line 46 of file qwt5_histogram_item.h.
|
explicit |
Definition at line 89 of file qwt5_histogram_item.h.
|
explicit |
Definition at line 83 of file qwt5_histogram_item.h.
|
virtual |
Definition at line 95 of file qwt5_histogram_item.h.
double HistogramItem::baseline | ( | ) | const |
Definition at line 121 of file qwt5_histogram_item.h.
|
virtual |
Definition at line 151 of file qwt5_histogram_item.h.
QColor HistogramItem::color | ( | void | ) | const |
Definition at line 146 of file qwt5_histogram_item.h.
const QwtIntervalData & HistogramItem::data | ( | ) | const |
Definition at line 132 of file qwt5_histogram_item.h.
|
virtual |
Definition at line 202 of file qwt5_histogram_item.h.
|
protectedvirtual |
Definition at line 279 of file qwt5_histogram_item.h.
|
virtual |
Definition at line 179 of file qwt5_histogram_item.h.
void HistogramItem::setBaseline | ( | double | reference | ) |
Definition at line 112 of file qwt5_histogram_item.h.
void HistogramItem::setColor | ( | const QColor & | color | ) |
Definition at line 137 of file qwt5_histogram_item.h.
void HistogramItem::setData | ( | const QwtIntervalData & | data | ) |
Definition at line 126 of file qwt5_histogram_item.h.
void HistogramItem::setHistogramAttribute | ( | HistogramAttribute | attribute, |
bool | on = true |
||
) |
Definition at line 184 of file qwt5_histogram_item.h.
bool HistogramItem::testHistogramAttribute | ( | HistogramAttribute | attribute | ) | const |
Definition at line 197 of file qwt5_histogram_item.h.
|
virtual |
Update the widget that represents the curve on the legend.
Definition at line 352 of file qwt5_histogram_item.h.