QAbstractDataProxy Class
Die Klasse „QAbstractDataProxy“ ist eine Basisklasse für alle Datenproxys zur Datenvisualisierung. Mehr...
| Header: | #include <QAbstractDataProxy> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS DataVisualization) target_link_libraries(mytarget PRIVATE Qt6::DataVisualization) |
| qmake: | QT += datavisualization |
| Seit: | QtDataVisualization 1.0 |
| In QML: | AbstractDataProxy |
| Erbt von: | QObject |
| Vererbt an: | QBarDataProxy, „ QScatterDataProxy “ sowie QSurfaceDataProxy |
| Status: | Veraltet |
Diese Klasse ist veraltet. Wir raten dringend davon ab, sie in neuem Code zu verwenden.
Öffentliche Typen
| enum | DataType { DataTypeNone, DataTypeBar, DataTypeScatter, DataTypeSurface } |
Eigenschaften
- type : const DataType
Öffentliche Funktionen
| virtual | ~QAbstractDataProxy() |
| QAbstractDataProxy::DataType | type() const |
Detaillierte Beschreibung
Anstelle der Basisklasse werden die folgenden visualisierungstyp-spezifischen abgeleiteten Klassen verwendet: QBarDataProxy, QScatterDataProxy und QSurfaceDataProxy.
Weitere Informationen finden Sie unter „Qt Data Visualization – Datenverarbeitung“.
Dokumentation zu Mitgliedstypen
enum QAbstractDataProxy::DataType
Dieser Enum-Typ legt den Datentyp des Proxys fest.
| Konstante | Wert | Beschreibung |
|---|---|---|
QAbstractDataProxy::DataTypeNone | 0 | Kein Datentyp. |
QAbstractDataProxy::DataTypeBar | 1 | Datentyp für Q3DBars. |
QAbstractDataProxy::DataTypeScatter | 2 | Datentyp für Q3DScatter. |
QAbstractDataProxy::DataTypeSurface | 4 | Datentyp für Q3DSurface. |
Dokumentation der Eigenschaften
[read-only] type : const DataType
Diese Eigenschaft enthält den Datentyp des Proxys.
Zugriffsfunktionen:
| QAbstractDataProxy::DataType | type() const |
© 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.