QSeriesTheme Class

The QSeriesTheme class handles theming of series. 更多...

头: #include <QSeriesTheme>
CMake: find_package(Qt6 REQUIRED COMPONENTS Graphs)
target_link_libraries(mytarget PRIVATE Qt6::Graphs)
qmake: QT += graphs
实例化: SeriesTheme
继承: QObject and QQmlParserStatus
状态: 技术预览

公共函数

QList<QColor> borderColors () const
qreal borderWidth () const
QSeriesTheme::SeriesColorTheme colorTheme () const
QList<QColor> colors () const
void setBorderColors (const QList<QColor> & newBorderColors )
void setBorderWidth (qreal newBorderWidth )
void setColorTheme (const QSeriesTheme::SeriesColorTheme & newColorTheme )
void setColors (const QList<QColor> & newColors )

信号

void borderColorsChanged ()
void borderWidthChanged ()
void colorThemeChanged ()
void colorsChanged ()

详细描述

Series theme is used to handle color, border color and border width.