#include <Plot2d_PlotItems.h>
◆ Plot2d_HistogramItem() [1/2]
Plot2d_HistogramItem::Plot2d_HistogramItem |
( |
const QString & |
theTitle = QString() | ) |
|
|
explicit |
◆ Plot2d_HistogramItem() [2/2]
Plot2d_HistogramItem::Plot2d_HistogramItem |
( |
const QwtText & |
theTitle | ) |
|
|
explicit |
◆ ~Plot2d_HistogramItem()
Plot2d_HistogramItem::~Plot2d_HistogramItem |
( |
| ) |
|
|
virtual |
◆ draw()
void Plot2d_HistogramItem::draw |
( |
QPainter * |
thePainter, |
|
|
const QwtScaleMap & |
theXMap, |
|
|
const QwtScaleMap & |
theYMap, |
|
|
const QRectF & |
|
|
) |
| const |
|
virtual |
◆ drawRectAndLowers()
void Plot2d_HistogramItem::drawRectAndLowers |
( |
QPainter * |
thePainter, |
|
|
Qt::Orientation |
, |
|
|
const QRect & |
theRect |
|
) |
| const |
|
protected |
◆ getBars()
QList< QRect > Plot2d_HistogramItem::getBars |
( |
| ) |
const |
◆ getCrossedTop()
int Plot2d_HistogramItem::getCrossedTop |
( |
const QRect & |
theRect | ) |
const |
|
protected |
Returns top value of the given rect in the context of other bars.
It's necessary to remember, that theRect has inverted coordinate Y.
References getBars().
◆ isCrossItems()
bool Plot2d_HistogramItem::isCrossItems |
( |
| ) |
const |
Get "cross items" option
References myCrossed.
◆ itemChanged()
void Plot2d_HistogramItem::itemChanged |
( |
| ) |
|
|
virtual |
◆ legendIcon()
QwtGraphic Plot2d_HistogramItem::legendIcon |
( |
int |
index, |
|
|
const QSizeF & |
size |
|
) |
| const |
|
virtual |
◆ setCrossItems()
void Plot2d_HistogramItem::setCrossItems |
( |
bool |
theCross | ) |
|
Set/clear "cross items" option
References myCrossed.
◆ updateLegend()
void Plot2d_HistogramItem::updateLegend |
( |
const QwtPlotItem * |
thePlotItem, |
|
|
const QList< QwtLegendData > & |
theLegendData |
|
) |
| |
|
virtual |
◆ myBarItems
QList<QRect> Plot2d_HistogramItem::myBarItems |
|
protected |
◆ myCrossed
bool Plot2d_HistogramItem::myCrossed |
|
protected |
The documentation for this class was generated from the following files: