QWT API (English) 7.3.0
Qt Widget Library for Technical Applications - English API Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QwtSeriesStore< T > Class Template Reference

Class storing a QwtSeriesData object. More...

#include <qwt_series_store.h>

Inheritance diagram for QwtSeriesStore< T >:
QwtAbstractSeriesStore

Public Member Functions

void setData (QwtSeriesData< T > *series)
 
QwtSeriesData< T > * data ()
 
const QwtSeriesData< T > * data () const
 
sample (size_t index) const
 
virtual size_t dataSize () const override
 
virtual QRectF dataRect () const override
 
virtual void setRectOfInterest (const QRectF &rect) override
 Set a the "rectangle of interest" for the stored series.
 
QwtSeriesData< T > * swapData (QwtSeriesData< T > *series)
 

Additional Inherited Members

- Protected Member Functions inherited from QwtAbstractSeriesStore
virtual void dataChanged ()=0
 dataChanged() indicates, that the series has been changed.
 

Detailed Description

template<typename T>
class QwtSeriesStore< T >

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.

Member Function Documentation

◆ dataRect()

template<typename T >
QRectF QwtSeriesStore< T >::dataRect ( ) const
overridevirtual
Returns
Bounding rectangle of the stored series

Implements QwtAbstractSeriesStore.

◆ dataSize()

template<typename T >
size_t QwtSeriesStore< T >::dataSize ( ) const
overridevirtual
Returns
Number of samples

Implements QwtAbstractSeriesStore.

◆ setRectOfInterest()

template<typename T >
void QwtSeriesStore< T >::setRectOfInterest ( const QRectF &  )
overridevirtual

Set a the "rectangle of interest" for the stored series.

Implements QwtAbstractSeriesStore.


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