QAbstractDataProxy Class

The QAbstractDataProxy class is a base class for all 3D graph proxies. 更多...

头: #include <QAbstractDataProxy>
CMake: find_package(Qt6 REQUIRED COMPONENTS Graphs)
target_link_libraries(mytarget PRIVATE Qt6::Graphs)
qmake: QT += graphs
实例化: AbstractDataProxy
继承: QObject
继承者:

QBarDataProxy , QScatterDataProxy ,和 QSurfaceDataProxy

状态: 技术预览

公共类型

enum class DataType { None, Bar, Scatter, Surface }

特性

  • type : const QAbstractDataProxy::DataType

公共函数

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

详细描述

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

更多信息,见 Qt Graphs Data Handling with 3D .

成员类型文档编制

enum class QAbstractDataProxy:: DataType

This enum type specifies the data type of the proxy.

常量 描述
QAbstractDataProxy::DataType::None 0 No data type.
QAbstractDataProxy::DataType::Bar 1 Data type for Q3DBars .
QAbstractDataProxy::DataType::Scatter 2 Data type for Q3DScatter .
QAbstractDataProxy::DataType::Surface 3 Data type for Q3DSurface .

特性文档编制

[read-only] type : const QAbstractDataProxy::DataType

This property holds the data type of the proxy.

访问函数:

QAbstractDataProxy::DataType type () const

成员函数文档编制

[override virtual noexcept] QAbstractDataProxy:: ~QAbstractDataProxy ()

Deletes the abstract data proxy.