QSplineSeries Class
QSplineSeries presenta i dati sotto forma di grafici spline. Per saperne di più...
| Intestazione: | #include <QSplineSeries> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Graphs) target_link_libraries(mytarget PRIVATE Qt6::Graphs) |
| qmake: | QT += graphs |
| In QML: | SplineSeries |
| Eredita da: | QXYSeries |
- Elenco di tutti i membri, compresi quelli ereditati
- QSplineSeries fa parte delle classi C++ diQt Graphs per il 2D.
Proprietà
Funzioni pubbliche
| Qt::PenCapStyle | capStyle() const |
| void | setCapStyle(Qt::PenCapStyle newCapStyle) |
| void | setWidth(qreal newWidth) |
| qreal | width() const |
Segnali
| void | capStyleChanged() |
| void | widthChanged() |
Descrizione dettagliata
Il grafico mostra segmenti spline regolari che passano per tutti i punti definiti nel grafico.
Documentazione delle proprietà
capStyle : Qt::PenCapStyle
Controlla lo stile delle estremità della linea spline. Il valore è uno dei valori dell'enumerazione Qt::PenCapStyle. Il valore predefinito è Qt::SquareCap.
Funzioni di accesso:
| Qt::PenCapStyle | capStyle() const |
| void | setCapStyle(Qt::PenCapStyle newCapStyle) |
Segnale di notifica:
| void | capStyleChanged() |
Vedi anche Qt::PenCapStyle.
width : qreal
La larghezza della linea spline in pixel. Il valore predefinito è 2,0.
Funzioni di accesso:
| qreal | width() const |
| void | setWidth(qreal newWidth) |
Segnale di notifica:
| 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.