Version: 6.3.1
Public Member Functions | Protected Member Functions | Private Attributes

Plot2d_QwtPlotCurve Class Reference

#include <Plot2d_PlotItems.h>

Inheritance diagram for Plot2d_QwtPlotCurve:
Inheritance graph

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 QWidgetlegendItem () const

Private Attributes

QwtPlot::Axis myYAxis
bool myYAxisIdentifierEnabled

Constructor & Destructor Documentation

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


Member Function Documentation

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


Field Documentation

QwtPlot::Axis Plot2d_QwtPlotCurve.myYAxis [private]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS