Sur cette page

QSplineSeries Class

QSplineSeries présente les données sous forme de graphiques splines. Plus d'informations...

En-tête : #include <QSplineSeries>
CMake : find_package(Qt6 REQUIRED COMPONENTS Graphs)
target_link_libraries(mytarget PRIVATE Qt6::Graphs)
qmake : QT += graphs
En QML : SplineSeries
Héritages : QXYSeries

Propriétés

Fonctions publiques

Qt::PenCapStyle capStyle() const
bool isOptimized() const
void setCapStyle(Qt::PenCapStyle newCapStyle)
void setOptimized(bool optimized)
void setWidth(qreal newWidth)
qreal width() const

Signaux

void capStyleChanged()
void optimizedChanged(bool newOptimized)
void widthChanged()

Description détaillée

Le graphique affiche des segments de spline lisses qui se déplacent à travers tous les points définis dans le graphique.

Documentation sur les propriétés

capStyle : Qt::PenCapStyle

Contrôle le style de capuchon de la ligne spline. La valeur est l'une des valeurs de l'énumération Qt::PenCapStyle. La valeur par défaut est Qt::SquareCap.

Fonctions d'accès :

Qt::PenCapStyle capStyle() const
void setCapStyle(Qt::PenCapStyle newCapStyle)

Signal de notification :

void capStyleChanged()

Voir aussi Qt::PenCapStyle.

width : qreal

La largeur de la ligne spline en pixels. La valeur par défaut est 2,0.

Fonctions d'accès :

qreal width() const
void setWidth(qreal newWidth)

Signal de notification :

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.