QAbstractDataProxy Class

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

Header: #include <QAbstractDataProxy>
CMake: find_package(Qt6 REQUIRED COMPONENTS DataVisualization)
target_link_libraries(mytarget PRIVATE Qt6::DataVisualization)
qmake: QT += datavisualization
Since: QtDataVisualization 1.0
Instantiated By: AbstractDataProxy
Inherits: QObject
Inherited By:

QBarDataProxy, QScatterDataProxy, and QSurfaceDataProxy

Public Types

enum DataType { DataTypeNone, DataTypeBar, DataTypeScatter, DataTypeSurface }

Properties

  • type : const DataType

Public Functions

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

Detailed Description

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

For more information, see Qt Data Visualization Data Handling.

Member Type Documentation

enum QAbstractDataProxy::DataType

This enum type specifies the data type of the proxy.

ConstantValueDescription
QAbstractDataProxy::DataTypeNone0No data type.
QAbstractDataProxy::DataTypeBar1Data type for Q3DBars.
QAbstractDataProxy::DataTypeScatter2Data type for Q3DScatter.
QAbstractDataProxy::DataTypeSurface4Data type for Q3DSurface.

Property Documentation

[read-only] type : const DataType

This property holds the data type of the proxy.

Access functions:

QAbstractDataProxy::DataType type() const

Member Function Documentation

[virtual noexcept] QAbstractDataProxy::~QAbstractDataProxy()

Deletes the abstract data proxy.