A plotting widget that handles incremental addition of data.
More...
#include <IncrementalPlot.hh>
Inherits QwtPlot.
|
void | Add (const QString &_label, const QPointF &_pt) |
| Add a new point to a curve. More...
|
|
void | Add (const QString &_label, const std::list< QPointF > &_pts) |
| Add new points to a curve. More...
|
|
A plotting widget that handles incremental addition of data.
Constructor.
- Parameters
-
[in] | _parent | Pointer to a parent widget |
void Add |
( |
const QString & |
_label, |
|
|
const QPointF & |
_pt |
|
) |
| |
|
slot |
Add a new point to a curve.
- Parameters
-
[in] | _label | Name of the curve to add a point to. A curve will be added if it doesn't exist. |
[in] | _pt | Point to add. |
void Add |
( |
const QString & |
_label, |
|
|
const std::list< QPointF > & |
_pts |
|
) |
| |
|
slot |
Add new points to a curve.
- Parameters
-
[in] | _label | Name of the curve to add a point to. A curve will be added if it doesn't exist. |
[in] | _pt | Points to add. |
void Clear |
( |
const QString & |
_label | ) |
|
Clear a single curve from the plot.
- Parameters
-
[in] | _label | Name of the curve to remove. |
Clear all points from the plot.
void dragEnterEvent |
( |
QDragEnterEvent * |
_evt | ) |
|
|
protected |
Used to accept drag enter events.
- Parameters
-
void dropEvent |
( |
QDropEvent * |
_evt | ) |
|
|
protected |
Used to accept drop events.
- Parameters
-
bool HasCurve |
( |
const QString & |
_label | ) |
|
Return true if the plot has the labled curve.
- Parameters
-
[in] | _label | Name of the curve to check for. |
- Returns
- True if _label is currently plotted.
virtual QSize sizeHint |
( |
| ) |
const |
|
virtual |
Give QT a size hint.
- Returns
- Default size of the plot.
Update all the curves in the plot.
The documentation for this class was generated from the following file: