#include <Plot2d_PlotItems.h>

Public Member Functions | |
| Plot2d_QwtPlotCurve (const QString &, QwtPlot::Axis=QwtPlot::yLeft) | |
| virtual | ~Plot2d_QwtPlotCurve () |
| virtual void | setYAxisIdentifierEnabled (const bool) |
Protected Member Functions | |
| virtual void | updateLegend (QwtLegend *) const |
| virtual QWidget * | legendItem () const |
Private Attributes | |
| QwtPlot::Axis | myYAxis |
| bool | myYAxisIdentifierEnabled |
| Plot2d_QwtPlotCurve::Plot2d_QwtPlotCurve | ( | const QString & | title, |
| QwtPlot::Axis | yAxis = QwtPlot::yLeft |
||
| ) |
Constructor of Plot2d_QwtPlotCurve
| Plot2d_QwtPlotCurve::~Plot2d_QwtPlotCurve | ( | ) | [virtual] |
Destructor of Plot2d_QwtPlotCurve
| void Plot2d_QwtPlotCurve::setYAxisIdentifierEnabled | ( | const bool | on | ) | [virtual] |
Enable / disable Y axis identifier
References myYAxisIdentifierEnabled.
| void Plot2d_QwtPlotCurve::updateLegend | ( | QwtLegend * | legend | ) | const [protected, virtual] |
Redefined method, which updates legend of the curve
References Plot2d_QwtLegendItem.IM_Left, Plot2d_QwtLegendItem.IM_None, Plot2d_QwtLegendItem.IM_Right, myYAxis, and myYAxisIdentifierEnabled.
| QWidget * Plot2d_QwtPlotCurve::legendItem | ( | ) | const [protected, virtual] |
Redefined method, which creates and returns legend item of the curve
QwtPlot::Axis Plot2d_QwtPlotCurve.myYAxis [private] |
bool Plot2d_QwtPlotCurve.myYAxisIdentifierEnabled [private] |