Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

QwtPlotMarker Class Reference

Marker class for QwtPlot. More...

#include <qwt_plot_classes.h>

Inheritance diagram for QwtPlotMarker:

QwtMarker QwtPlotMappedItem QwtPlotItem List of all members.

Public Member Functions

 QwtPlotMarker (QwtPlot *parent)
double xValue () const
double yValue () const
void setXValue (double val)
void setYValue (double val)

Protected Member Functions

virtual void markerChanged ()

Private Attributes

double d_xValue
double d_yValue

Detailed Description

Marker class for QwtPlot.

Definition at line 60 of file qwt_plot_classes.h.


Constructor & Destructor Documentation

QwtPlotMarker::QwtPlotMarker QwtPlot parent  )  [inline]
 

Constructor.

Definition at line 64 of file qwt_plot_classes.h.


Member Function Documentation

virtual void QwtPlotMarker::markerChanged  )  [inline, protected, virtual]
 

Calls itemChanged().

Reimplemented from QwtMarker.

Definition at line 84 of file qwt_plot_classes.h.

References QwtPlotItem::itemChanged().

void QwtPlotMarker::setXValue double  val  )  [inline]
 

Set X Value.

Definition at line 77 of file qwt_plot_classes.h.

References QwtMarker::markerChanged().

Referenced by QwtPlot::setMarkerPos(), and QwtPlot::setMarkerXPos().

void QwtPlotMarker::setYValue double  val  )  [inline]
 

Set Y Value.

Definition at line 80 of file qwt_plot_classes.h.

References QwtMarker::markerChanged().

Referenced by QwtPlot::setMarkerPos(), and QwtPlot::setMarkerYPos().

double QwtPlotMarker::xValue  )  const [inline]
 

Returns:
X Value

Definition at line 71 of file qwt_plot_classes.h.

Referenced by QwtPlot::closestMarker(), QwtPlot::drawCanvasItems(), and QwtPlot::markerPos().

double QwtPlotMarker::yValue  )  const [inline]
 

Returns:
Y Value

Definition at line 74 of file qwt_plot_classes.h.

Referenced by QwtPlot::closestMarker(), QwtPlot::drawCanvasItems(), and QwtPlot::markerPos().


Member Data Documentation

double QwtPlotMarker::d_xValue [private]
 

Definition at line 87 of file qwt_plot_classes.h.

double QwtPlotMarker::d_yValue [private]
 

Definition at line 88 of file qwt_plot_classes.h.


The documentation for this class was generated from the following file:
Generated on Fri Nov 7 14:11:49 2003 for Qwt Developer's Guide by doxygen 1.3.2