QAbstractDataProxy Class
QAbstractDataProxy 类是所有 3D 图形代理的基类。更多
头文件: | #include <QAbstractDataProxy> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Graphs) target_link_libraries(mytarget PRIVATE Qt6::Graphs) |
qmake: | QT += graphs |
在 QML 中: | AbstractDataProxy |
继承: | QObject |
继承于 |
- 所有成员的列表,包括继承成员
- QAbstractDataProxy 是Qt Graphs C++ Classes for 3D 的一部分。
公共类型
enum class | DataType { None, Bar, Scatter, Surface } |
属性
- type : const QAbstractDataProxy::DataType
公共功能
virtual | ~QAbstractDataProxy() override |
QAbstractDataProxy::DataType | type() const |
详细说明
以下图形类型的特定继承类可代替基类:QBarDataProxy,QScatterDataProxy, 和QSurfaceDataProxy 。
更多信息,请参见Qt Graphs 3D 数据处理。
成员类型文档
enum class QAbstractDataProxy::DataType
该枚举类型指定代理的数据类型。
常量 | 值 | 描述 |
---|---|---|
QAbstractDataProxy::DataType::None | 0 | 无数据类型。 |
QAbstractDataProxy::DataType::Bar | 1 | Q3DBarsWidgetItem 的数据类型。 |
QAbstractDataProxy::DataType::Scatter | 2 | Q3DScatterWidgetItem 的数据类型。 |
QAbstractDataProxy::DataType::Surface | 3 | Q3DSurfaceWidgetItem 的数据类型。 |
属性文档
[read-only]
type : const QAbstractDataProxy::DataType
该属性用于保存代理的数据类型。
访问函数:
QAbstractDataProxy::DataType | type() const |
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.