PlotCurve Class Reference

#include <PlotCurve.h>

Inheritance diagram for PlotCurve:

DataCurve FunctionCurve BoxCurve QwtBarCurve QwtErrorPlotCurve QwtPieCurve VectorCurve QwtHistogram

List of all members.


Detailed Description

Abstract 2D plot curve class.

Public Member Functions

 PlotCurve (const QString &name=QString())
int plotStyle ()
 The plot style of the curve.
void restoreCurveLayout (const QStringList &lst)
QString saveCurveLayout ()
void setPlotStyle (int s)
void setType (int t)
void setXOffset (double dx)
void setYOffset (double dy)
int type ()
 Sort of rtti().
double xOffset ()
double yOffset ()

Protected Attributes

int d_plot_style
int d_type
double d_x_offset
double d_y_offset

Constructor & Destructor Documentation

PlotCurve::PlotCurve ( const QString &  name = QString()  )  [inline]


Member Function Documentation

int PlotCurve::plotStyle (  )  [inline]

The plot style of the curve.

See also:
Graph::CurveType

References d_plot_style.

Referenced by Graph::saveCurveLayout(), Graph::setCurveStyle(), and Graph::updateCurveLayout().

void PlotCurve::restoreCurveLayout ( const QStringList &  lst  ) 

QString PlotCurve::saveCurveLayout (  ) 

void PlotCurve::setPlotStyle ( int  s  )  [inline]

void PlotCurve::setType ( int  t  )  [inline]

void PlotCurve::setXOffset ( double  dx  )  [inline]

References d_x_offset.

void PlotCurve::setYOffset ( double  dy  )  [inline]

References d_y_offset.

int PlotCurve::type (  )  [inline]

double PlotCurve::xOffset (  )  [inline]

References d_x_offset.

Referenced by QwtHistogram::draw().

double PlotCurve::yOffset (  )  [inline]

References d_y_offset.


Member Data Documentation

int PlotCurve::d_plot_style [protected]

int PlotCurve::d_type [protected]

double PlotCurve::d_x_offset [protected]

Referenced by setXOffset(), and xOffset().

double PlotCurve::d_y_offset [protected]

Referenced by setYOffset(), and yOffset().


The documentation for this class was generated from the following files:

Generated on Fri Nov 7 03:36:56 2008 for QtiPlot by  doxygen 1.5.6