Auf dieser Seite

QAbstractDataProxy Class

Die Klasse „QAbstractDataProxy“ ist eine Basisklasse für alle 3D-Graph-Proxies. Mehr...

Header: #include <QAbstractDataProxy>
CMake: find_package(Qt6 REQUIRED COMPONENTS Graphs)
target_link_libraries(mytarget PRIVATE Qt6::Graphs)
qmake: QT += graphs
In QML: AbstractDataProxy
Erbt von: QObject
Vererbt an:

QBarDataProxy, „ QScatterDataProxy “ sowie QSurfaceDataProxy

Öffentliche Typen

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

Eigenschaften

  • type : const QAbstractDataProxy::DataType

Öffentliche Funktionen

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

Ausführliche Beschreibung

Anstelle der Basisklasse werden die folgenden graphs-typspezifischen abgeleiteten Klassen verwendet: QBarDataProxy, QScatterDataProxy und QSurfaceDataProxy.

Weitere Informationen finden Sie unter „Qt Graphs “ – Datenverarbeitung mit 3D.

Dokumentation zu Mitgliedstypen

enum class QAbstractDataProxy::DataType

Dieser Enum-Typ legt den Datentyp des Proxys fest.

KonstanteWertBeschreibung
QAbstractDataProxy::DataType::None0Kein Datentyp.
QAbstractDataProxy::DataType::Bar1Datentyp für „ Q3DBarsWidgetItem “.
QAbstractDataProxy::DataType::Scatter2Datentyp für „ Q3DScatterWidgetItem “.
QAbstractDataProxy::DataType::Surface3Datentyp für „ Q3DSurfaceWidgetItem “.

Eigenschaftsdokumentation

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

Diese Eigenschaft gibt den Datentyp des Proxys an.

Zugriffsfunktionen:

QAbstractDataProxy::DataType type() const

Dokumentation zu den Mitgliedsfunktionen

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

Löscht den abstrakten Datenproxy.

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