QAbstractDataProxy Class

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

Header: #include <QAbstractDataProxy>
CMake: find_package(Qt6 REQUIRED COMPONENTS Graphs)
target_link_libraries(mytarget PRIVATE Qt6::Graphs)
qmake: QT += graphs
Instantiated By: AbstractDataProxy
Inherits: QObject
Inherited By:

QBarDataProxy, QScatterDataProxy, and QSurfaceDataProxy

Status: Technical Preview

Public Types

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

Properties

  • type : const QAbstractDataProxy::DataType

Public Functions

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

Detailed Description

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

For more information, see Qt Graphs Data Handling with 3D.

Member Type Documentation

enum class QAbstractDataProxy::DataType

This enum type specifies the data type of the proxy.

ConstantValueDescription
QAbstractDataProxy::DataType::None0No data type.
QAbstractDataProxy::DataType::Bar1Data type for Q3DBars.
QAbstractDataProxy::DataType::Scatter2Data type for Q3DScatter.
QAbstractDataProxy::DataType::Surface3Data type for Q3DSurface.

Property Documentation

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

This property holds the data type of the proxy.

Access functions:

QAbstractDataProxy::DataType type() const

Member Function Documentation

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

Deletes the abstract data proxy.

© 2024 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.