QSplineSeries Class
QSplineSeries stellt Daten in Spline-Diagrammen dar. Mehr...
| Kopfzeile: | #include <QSplineSeries> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Graphs)target_link_libraries(mytarget PRIVATE Qt6::Graphs) |
| qmake: | QT += graphs |
| In QML: | SplineSeries |
| Vererbt: | QXYSeries |
- Liste aller Mitglieder, einschließlich geerbter Mitglieder
- QSplineSeries ist Teil von Qt Graphs C++ Classes for 2D.
Eigenschaften
Öffentliche Funktionen
| Qt::PenCapStyle | capStyle() const |
| bool | isOptimized() const |
| void | setCapStyle(Qt::PenCapStyle newCapStyle) |
| void | setOptimized(bool optimized) |
| void | setWidth(qreal newWidth) |
| qreal | width() const |
Signale
| void | capStyleChanged() |
| void | optimizedChanged(bool newOptimized) |
| void | widthChanged() |
Detaillierte Beschreibung
Das Diagramm zeigt glatte Spline-Segmente an, die sich durch alle im Diagramm definierten Punkte bewegen.
Dokumentation der Eigenschaft
capStyle : Qt::PenCapStyle
Steuert den Kappenstil der Spline-Linie. Der Wert ist einer der Qt::PenCapStyle enum-Werte. Der Standardwert ist Qt::SquareCap.
Zugriffsfunktionen:
| Qt::PenCapStyle | capStyle() const |
| void | setCapStyle(Qt::PenCapStyle newCapStyle) |
Melder-Signal:
| void | capStyleChanged() |
Siehe auch Qt::PenCapStyle.
width : qreal
Die Breite der Spline-Linie in Pixeln. Der Standardwert ist 2.0.
Zugriffsfunktionen:
| qreal | width() const |
| void | setWidth(qreal newWidth) |
Melder-Signal:
| void | widthChanged() |
© 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.