QBarDataItem Class
Die Klasse QBarDataItem bietet einen Container für aufgelöste Daten, die zu Balkendiagrammen hinzugefügt werden können. Mehr...
Kopfzeile: | #include <QBarDataItem> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Graphs) target_link_libraries(mytarget PRIVATE Qt6::Graphs) |
qmake: | QT += graphs |
- Liste aller Mitglieder, einschließlich geerbter Mitglieder
- QBarDataItem ist Teil von Qt Graphs C++ Classes for 3D.
Öffentliche Funktionen
QBarDataItem() | |
QBarDataItem(float value) | |
QBarDataItem(float value, float angle) | |
float | rotation() const |
void | setRotation(float angle) |
void | setValue(float val) |
float | value() const |
Detaillierte Beschreibung
Ein Balkendatenelement enthält die Daten für einen einzelnen gerenderten Balken in einem Diagramm. Balkendaten-Proxys parsen Daten in QBarDataItem-Instanzen für Balkendiagramme.
Siehe auch QBarDataProxy und Qt Graphs C++-Klassen für 3D.
Dokumentation der Mitgliedsfunktionen
[constexpr noexcept]
QBarDataItem::QBarDataItem()
Konstruiert ein Balkendatenelement.
[explicit constexpr noexcept]
QBarDataItem::QBarDataItem(float value)
Konstruiert ein Balkendatenelement mit dem Wert value.
[explicit constexpr noexcept]
QBarDataItem::QBarDataItem(float value, float angle)
Konstruiert ein Balkendatenelement mit dem Wert value und dem Winkel angle.
[constexpr noexcept]
float QBarDataItem::rotation() const
Gibt den Drehwinkel in Grad für dieses Datenelement zurück.
Siehe auch setRotation().
[constexpr noexcept]
void QBarDataItem::setRotation(float angle)
Legt den Drehwinkel angle in Grad für dieses Datenelement fest.
Siehe auch rotation().
[constexpr noexcept]
void QBarDataItem::setValue(float val)
Setzt den Wert val auf dieses Datenelement.
Siehe auch value().
[constexpr noexcept]
float QBarDataItem::value() const
Gibt den Wert dieses Datenelements zurück.
Siehe auch setValue().
© 2025 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.