Sur cette page

QSplineSeries Class

QSplineSeries présente les données sous forme de graphiques spline. En savoir plus...

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érite de : QXYSeries

Propriétés

Fonctions publiques

Qt::PenCapStyle capStyle() const
void setCapStyle(Qt::PenCapStyle newCapStyle)
void setWidth(qreal newWidth)
qreal width() const

Signaux

Description détaillée

Le graphique affiche des segments de spline lisses qui passent par tous les points définis dans le graphique.

Documentation sur les propriétés

capStyle : Qt::PenCapStyle

Détermine le style des extrémités de la ligne spline. La valeur correspond à 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 également Qt::PenCapStyle.

width : qreal

Largeur de la ligne de 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.