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

Interface for iterating over an array of intervals 更多...

#include <qwt_series_data.h>

类 QwtIntervalSeriesData 继承关系图:
QwtArraySeriesData< QwtIntervalSample > QwtSeriesData< T >

Public 成员函数

 QwtIntervalSeriesData (const QVector< QwtIntervalSample > &=QVector< QwtIntervalSample >())
 Constructor
 
virtual QRectF boundingRect () const override
 Calculate the bounding rectangle
 
- Public 成员函数 继承自 QwtArraySeriesData< QwtIntervalSample >
 QwtArraySeriesData ()
 Constructor
 
 QwtArraySeriesData (const QVector< QwtIntervalSample > &samples)
 Constructor
 
 QwtArraySeriesData (QVector< QwtIntervalSample > &&samples)
 
void setSamples (const QVector< QwtIntervalSample > &samples)
 Assign an array of samples
 
void setSamples (QVector< QwtIntervalSample > &&samples)
 
const QVector< QwtIntervalSamplesamples () const
 
virtual size_t size () const override
 
virtual QwtIntervalSample sample (size_t index) const override
 
- Public 成员函数 继承自 QwtSeriesData< T >
 QwtSeriesData ()
 Constructor
 
virtual ~QwtSeriesData ()
 Destructor
 
virtual void setRectOfInterest (const QRectF &rect)
 Set a the "rect of interest"
 

额外继承的成员函数

- Protected 属性 继承自 QwtArraySeriesData< QwtIntervalSample >
QVector< QwtIntervalSamplem_samples
 Vector of samples
 
- Protected 属性 继承自 QwtSeriesData< T >
QRectF cachedBoundingRect
 Can be used to cache a calculated bounding rectangle
 

详细描述

Interface for iterating over an array of intervals

QwtIntervalSeriesData provides access to QwtIntervalSample samples stored in a QVector.

构造及析构函数说明

◆ QwtIntervalSeriesData()

QwtIntervalSeriesData::QwtIntervalSeriesData ( const QVector< QwtIntervalSample > &  samples = QVectorQwtIntervalSample >())

Constructor

参数
samplesSamples

成员函数说明

◆ boundingRect()

QRectF QwtIntervalSeriesData::boundingRect ( ) const
overridevirtual

Calculate the bounding rectangle

The bounding rectangle is calculated once by iterating over all points and is stored for all following requests.

返回
Bounding rectangle

实现了 QwtSeriesData< T >.


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