10 #ifndef QWT_SERIES_STORE_H 11 #define QWT_SERIES_STORE_H 31 #ifndef QWT_PYTHON_WRAPPER 50 virtual QRectF
dataRect()
const {
return QRectF( 0.0, 0.0, -1.0, -1.0 ); }
51 virtual size_t dataSize()
const {
return 0; }
97 T sample(
int index )
const;
133 template <
typename T>
139 template <
typename T>
145 template <
typename T>
151 template <
typename T>
157 template <
typename T>
163 template <
typename T>
174 template <
typename T>
183 template <
typename T>
187 return QRectF( 1.0, 1.0, -2.0, -2.0 );
192 template <
typename T>
196 d_series->setRectOfInterest( rect );
199 template <
typename T>
205 return swappedSeries;
QwtSeriesData< T > * d_series
Abstract interface for iterating over samples.
virtual QRectF dataRect() const QWT_OVERRIDE
QwtSeriesStore()
Constructor The store contains no series.
void setData(QwtSeriesData< T > *series)
~QwtSeriesStore()
Destructor.
QwtSeriesData< T > * data()
virtual void dataChanged()=0
dataChanged() indicates, that the series has been changed.
virtual void setRectOfInterest(const QRectF &)=0
Class storing a QwtSeriesData object.
Bridge between QwtSeriesStore and QwtPlotSeriesItem.
T sample(int index) const
virtual void setRectOfInterest(const QRectF &rect) QWT_OVERRIDE
virtual ~QwtAbstractSeriesStore()
Destructor.
virtual size_t dataSize() const =0
QwtSeriesData< T > * swapData(QwtSeriesData< T > *series)
virtual size_t dataSize() const QWT_OVERRIDE
virtual QRectF dataRect() const =0