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) |
Additional Inherited Members | |
![]() | |
virtual | ~QwtAbstractSeriesStore () |
Destructor. | |
virtual void | dataChanged ()=0 |
dataChanged() indicates, that the series has been changed. | |
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.
|
inline |
|
inline |
|
virtual |
Implements QwtAbstractSeriesStore.
|
virtual |
Implements QwtAbstractSeriesStore.
|
inline |
index | Index |
void QwtSeriesStore< T >::setData | ( | QwtSeriesData< T > * | series | ) |
Assign a series of samples
series | Data |
|
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 |