QAbstractDataProxy Class

The QAbstractDataProxy class is a base class for all data visualization data proxies. 更多...

头: #include <QAbstractDataProxy>
CMake: find_package(Qt6 REQUIRED COMPONENTS DataVisualization)
target_link_libraries(mytarget PRIVATE Qt6::DataVisualization)
qmake: QT += datavisualization
Since: QtDataVisualization 1.0
实例化: AbstractDataProxy
继承: QObject
继承者: QBarDataProxy , QScatterDataProxy ,和 QSurfaceDataProxy

公共类型

enum DataType { DataTypeNone, DataTypeBar, DataTypeScatter, DataTypeSurface }

特性

公共函数

virtual ~QAbstractDataProxy ()
QAbstractDataProxy::DataType type () const

详细描述

The following visualization type specific inherited classes are used instead of the base class: QBarDataProxy , QScatterDataProxy ,和 QSurfaceDataProxy .

更多信息,见 Qt Data Visualization 数据处理 .

成员类型文档编制

enum QAbstractDataProxy:: DataType

This enum type specifies the data type of the proxy.

常量 描述
QAbstractDataProxy::DataTypeNone 0 No data type.
QAbstractDataProxy::DataTypeBar 1 Data type for Q3DBars .
QAbstractDataProxy::DataTypeScatter 2 Data type for Q3DScatter .
QAbstractDataProxy::DataTypeSurface 4 Data type for Q3DSurface .

特性文档编制

[read-only] type : const DataType

This property holds the data type of the proxy.

访问函数:

QAbstractDataProxy::DataType type () const

成员函数文档编制

[虚拟] QAbstractDataProxy:: ~QAbstractDataProxy ()

Deletes the abstract data proxy.