DetailPlot Class Reference

A detail plotting widget. More...

#include <detailplot.h>

List of all members.

Public Member Functions

 DetailPlot (int linesize, QPointF lineAxis, QWidget *parent=0)
void setData (const double *x, const double *y, const QString &dateTimeLabel)
void setSampleBounds (QPoint p)
void setLineAxisBounds (QPointF p)
QSize sizeHint () const

Detailed Description

A detail plotting widget.

DetailPlot is a widget which has the capabilites to plot 2D graphs. It holds a single curve, a detailed representation of a subset (segment) of SimplePlot.

Definition at line 40 of file detailplot.h.

Constructor & Destructor Documentation

DetailPlot::DetailPlot ( int  linesize,
QPointF  lineAxis,
QWidget *  parent = 0 


linesize Length of the cruve.
lineAxis Y-axis scale.
parent Parent widget.

Definition at line 36 of file detailplot.cpp.

Member Function Documentation

void DetailPlot::setData ( const double *  x,
const double *  y,
const QString &  dateTimeLabel 

Set curve data to be displayed.

x Pointer to x values.
y Pointer to y values.
dateTimeLabel The start timestamp of the curve data.

Definition at line 45 of file detailplot.cpp.

void DetailPlot::setLineAxisBounds ( QPointF  p  )  [inline]

Set Y-axis scale.

p A pair of points, min and max.

Definition at line 88 of file detailplot.h.

void DetailPlot::setSampleBounds ( QPoint  p  )  [inline]

Set X-axis scale. UNUSED.

p A pair of points containing the range of the X-axis.

Definition at line 86 of file detailplot.h.

QSize DetailPlot::sizeHint (  )  const [inline]


fix widget size based on screen resolution (and keep squareness).

Definition at line 74 of file detailplot.h.

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

Generated on Wed May 20 14:28:20 2009 for CardioCurves by  doxygen 1.5.9