
Definition at line 28 of file qwt_plot_item.h.
Public Types | |
| enum | RttiValues { Rtti_PlotItem = 0, Rtti_PlotGrid, Rtti_PlotMarker, Rtti_PlotCurve, Rtti_PlotHistogram, Rtti_PlotUserItem = 1000 } |
| enum | ItemAttribute { Legend = 1, AutoScale = 2 } |
Public Member Functions | |
| QwtPlotItem () | |
| virtual | ~QwtPlotItem () |
| void | attach (QwtPlot *plot) |
| void | detach () |
| QwtPlot * | plot () const |
| virtual int | rtti () const |
| void | setItemAttribute (ItemAttribute, bool on=true) |
| bool | testItemAttribute (ItemAttribute) const |
| double | z () const |
| void | setZ (double z) |
| void | show () |
| void | hide () |
| virtual void | setVisible (bool) |
| bool | isVisible () const |
| void | setAxis (int xAxis, int yAxis) |
| void | setXAxis (int axis) |
| int | xAxis () const |
| void | setYAxis (int axis) |
| int | yAxis () const |
| virtual void | itemChanged () |
| virtual void | draw (QPainter *p, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRect &rect) const =0 |
| virtual QwtDoubleRect | boundingRect () const |
| virtual void | updateLegend (QwtLegend *) const |
| virtual void | updateScaleDiv (const QwtScaleDiv &, const QwtScaleDiv &) |
| virtual QWidget * | legendItem () const |
|
|
Constructor.
Definition at line 45 of file qwt_plot_item.cpp. |
|
|
Destroy the QwtPlotItem.
Definition at line 51 of file qwt_plot_item.cpp. References attach(). |
|
|
Attach the item to a plot Definition at line 60 of file qwt_plot_item.cpp. References itemChanged(), and legendItem(). Referenced by ~QwtPlotItem(). |
|
|
Definition at line 184 of file qwt_plot_item.cpp. Referenced by QwtPlot::drawItems(). |
|
|
|
Return attached plot.
Definition at line 99 of file qwt_plot_item.cpp. Referenced by QwtPlotCurve::closestPoint(), and QwtPlotCurve::draw(). |
|
||||||||||||
|
Set x and y axis.
Definition at line 202 of file qwt_plot_item.cpp. References itemChanged(). |
|
|
Definition at line 171 of file qwt_plot_item.cpp. References itemChanged(). |
|
|
Set y axis.
Definition at line 214 of file qwt_plot_item.cpp. References itemChanged(). |
|
|
Set y axis.
Definition at line 224 of file qwt_plot_item.cpp. References itemChanged(). |
|
|
Return xAxis.
Definition at line 234 of file qwt_plot_item.cpp. Referenced by QwtPlotCurve::closestPoint(), QwtPlotCurve::draw(), QwtPlot::drawItems(), and QwtPlot::updateAxes(). |
|
|
Return yAxis.
Definition at line 240 of file qwt_plot_item.cpp. Referenced by QwtPlotCurve::closestPoint(), QwtPlotCurve::draw(), QwtPlot::drawItems(), and QwtPlot::updateAxes(). |
1.4.4