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 |
| 继承者: | |
| 状态: | 技术预览 |
| enum class | DataType { None, Bar, Scatter, Surface } |
| 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 .
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.