QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
QwtSeriesStore< T > 模板类 参考

Class storing a QwtSeriesData object 更多...

#include <qwt_series_store.h>

类 QwtSeriesStore< T > 继承关系图:
QwtAbstractSeriesStore

Public 成员函数

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)
 

额外继承的成员函数

- Protected 成员函数 继承自 QwtAbstractSeriesStore
virtual void dataChanged ()=0
 dataChanged() indicates, that the series has been changed.
 

详细描述

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.

成员函数说明

◆ dataRect()

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

实现了 QwtAbstractSeriesStore.

◆ dataSize()

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

实现了 QwtAbstractSeriesStore.

◆ setRectOfInterest()

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

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

实现了 QwtAbstractSeriesStore.


该类的文档由以下文件生成: