#include <Plot2d_PlotItems.h>

Classes | |
| class | Plot2d_DeviationData |
Public Member Functions | |
| Plot2d_QwtPlotCurve (const QString &, QwtPlot::Axis=QwtPlot::yLeft) | |
| virtual | ~Plot2d_QwtPlotCurve () |
| virtual void | setYAxisIdentifierEnabled (const bool) |
| virtual void | drawSeries (QPainter *p, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect, int from, int to) const |
| void | setDeviationData (const double *min, const double *max, const QList< int > &idx) |
| bool | hasDeviationData () const |
| void | clearDeviationData () |
Public Member Functions inherited from Plot2d_SelectableItem | |
| Plot2d_SelectableItem () | |
| ~Plot2d_SelectableItem () | |
| void | setSelected (const bool) |
| bool | isSelected () const |
| void | setLegendPen (const QPen &) |
| QPen | legendPen () const |
| void | setLegendSymbol (const QwtSymbol *) |
| QwtSymbol * | legendSymbol () const |
Protected Member Functions | |
| virtual void | updateLegend (const QwtPlotItem *, const QList< QwtLegendData > &) |
| virtual void | itemChanged () |
| QColor | deviationMarkerColor () const |
| int | deviationMarkerLineWidth () const |
| int | deviationMarkerTickSize () const |
Private Attributes | |
| QwtPlot::Axis | myYAxis |
| bool | myYAxisIdentifierEnabled |
| Plot2d_DeviationData * | myDeviationData |
| Plot2d_QwtPlotCurve::Plot2d_QwtPlotCurve | ( | const QString & | title, |
| QwtPlot::Axis | yAxis = QwtPlot::yLeft |
||
| ) |
Constructor of Plot2d_QwtPlotCurve
|
virtual |
Destructor of Plot2d_QwtPlotCurve
References clearDeviationData().
| void Plot2d_QwtPlotCurve::clearDeviationData | ( | ) |
Remove deviation data from the plot item.
References myDeviationData.
|
protected |
Return color of the deviation marker.
References PLOT2D_DEVIATION_COLOR.
|
protected |
Return line width of the deviation marker.
References PLOT2D_DEVIATION_LW.
|
protected |
Return tick size of the deviation marker.
References PLOT2D_DEVIATION_TS.
|
virtual |
Redefined method, which draw a set of points of a curve.
References deviationMarkerColor(), deviationMarkerLineWidth(), deviationMarkerTickSize(), hasDeviationData(), Plot2d_SelectableItem::isSelected(), myDeviationData, Plot2d_Object::selectionColor(), and Plot2d_QwtPlotCurve::Plot2d_DeviationData::values().
| bool Plot2d_QwtPlotCurve::hasDeviationData | ( | ) | const |
Return true if deviation is assigned to the plot item, false otherwise.
References myDeviationData.
|
protectedvirtual |
Redefined method, which updates and calls QwtPlot::autoRefresh() for the parent plot
References updateLegend().
| void Plot2d_QwtPlotCurve::setDeviationData | ( | const double * | min, |
| const double * | max, | ||
| const QList< int > & | idx | ||
| ) |
Sets deviation data for the plot item.
References clearDeviationData(), and myDeviationData.
|
virtual |
Enable / disable Y axis identifier
References myYAxisIdentifierEnabled.
|
protectedvirtual |
Redefined method, which updates legend of the curve
References Plot2d_QwtLegendLabel::IM_Left, Plot2d_QwtLegendLabel::IM_None, Plot2d_QwtLegendLabel::IM_Right, Plot2d_SelectableItem::isSelected(), Plot2d_SelectableItem::legendPen(), Plot2d_SelectableItem::legendSymbol(), myYAxis, myYAxisIdentifierEnabled, and yRight.
|
private |
|
private |
|
private |