이 페이지에서

QSplineSeries Class

QSplineSeries는 데이터를 스플라인 그래프로 표시합니다. 더 보기...

Header: #include <QSplineSeries>
CMake: find_package(Qt6 REQUIRED COMPONENTS Graphs)
target_link_libraries(mytarget PRIVATE Qt6::Graphs)
qmake: QT += graphs
QML에서: SplineSeries
상속합니다: QXYSeries

속성

공공 기능

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

신호

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

상세 설명

그래프에 정의된 모든 점을 통과하는 부드러운 스플라인 세그먼트를 표시합니다.

프로퍼티 문서

capStyle : Qt::PenCapStyle

스플라인 선의 캡 스타일을 제어합니다. 값은 Qt::PenCapStyle 열거형 값 중 하나입니다. 기본값은 Qt::SquareCap 입니다.

함수에 액세스합니다:

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

알림 신호:

void capStyleChanged()

Qt::PenCapStyle참조하세요 .

width : qreal

스플라인 선의 너비(픽셀 단위)입니다. 기본값은 2.0입니다.

기능에 액세스합니다:

qreal width() const
void setWidth(qreal newWidth)

알림 신호:

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.