|
Qwt User's Guide
|
Class storing a QwtSeriesData object. More...
#include <qwt_series_store.h>

Public Member Functions | |
| QwtSeriesStore () | |
| Constructor The store contains no series. | |
| ~QwtSeriesStore () | |
| Destructor. | |
| void | setData (QwtSeriesData< T > *series) |
| QwtSeriesData< T > * | data () |
| const QwtSeriesData< T > * | data () const |
| T | sample (int index) const |
| virtual size_t | dataSize () const |
| virtual QRectF | dataRect () const |
| virtual void | setRectOfInterest (const QRectF &rect) |
| QwtSeriesData< T > * | swapData (QwtSeriesData< T > *series) |
Class storing a QwtSeriesData object.
QwtSeriesStore and QwtPlotSeriesItem are intended as base classes for all plot items iterating over a series of samples. Both classes share a virtual base class ( QwtAbstractSeriesStore ) to bridge between them.
QwtSeriesStore offers the template based part for the plot item API, so that QwtPlotSeriesItem can be derived without any hassle with templates.
| QwtSeriesData< T > * QwtSeriesStore< T >::data | ( | ) | [inline] |
| const QwtSeriesData< T > * QwtSeriesStore< T >::data | ( | ) | const [inline] |
| QRectF QwtSeriesStore< T >::dataRect | ( | ) | const [virtual] |
Implements QwtAbstractSeriesStore.
| size_t QwtSeriesStore< T >::dataSize | ( | ) | const [virtual] |
Implements QwtAbstractSeriesStore.
| T QwtSeriesStore< T >::sample | ( | int | index | ) | const [inline] |
| index | Index |
| void QwtSeriesStore< T >::setData | ( | QwtSeriesData< T > * | series | ) |
Assign a series of samples
| series | Data |
| void QwtSeriesStore< T >::setRectOfInterest | ( | const QRectF & | rect | ) | [virtual] |
Set a the "rect of interest" for the series
| rect | Rectangle of interest |
Implements QwtAbstractSeriesStore.
| QwtSeriesData< T > * QwtSeriesStore< T >::swapData | ( | QwtSeriesData< T > * | series | ) |
Replace a series without deleting the previous one
| series | New series |