summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDheerendra Purohit <[email protected]>2025-07-03 12:57:35 +0530
committerDheerendra Purohit <[email protected]>2025-07-08 13:23:42 +0530
commit9b6916faa0f7a2ec60d629727e4364ee8c2abc14 (patch)
treedbe3d3698ebfb986157c0b000b3765c2f4f144ca
parentcc2154707be026c7380bb6e67bd9e62e62ba1d5c (diff)
Doc: Add Missing Property docs for QLineSeriesHEADdev
Adds missing \property documentation for capStyle and width in the QLineSeries class to enable proper anchor version generation in the documentation. pick-to: 6.10 6.9 Fixes: QTBUG-137716 Change-Id: I70874e93ba746c68c2a9f51e75b94f6433189bff Reviewed-by: Tomi Korpipää <[email protected]>
-rw-r--r--src/graphs2d/linechart/qlineseries.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/graphs2d/linechart/qlineseries.cpp b/src/graphs2d/linechart/qlineseries.cpp
index a4b5d777..c94ff85f 100644
--- a/src/graphs2d/linechart/qlineseries.cpp
+++ b/src/graphs2d/linechart/qlineseries.cpp
@@ -112,6 +112,12 @@ QAbstractSeries::SeriesType QLineSeries::type() const
QLineSeriesPrivate::QLineSeriesPrivate() {}
+/*!
+ \property QLineSeries::width
+ \brief the width of the line in the series.
+
+ This property holds the pen width used to draw the series line.
+*/
qreal QLineSeries::width() const
{
Q_D(const QLineSeries);
@@ -134,6 +140,13 @@ void QLineSeries::setWidth(qreal newWidth)
emit update();
}
+/*!
+ \property QLineSeries::capStyle
+ \brief the cap style used for line endings.
+
+ This property holds the pen cap style used for rending line ends
+ in the series.
+ */
Qt::PenCapStyle QLineSeries::capStyle() const
{
Q_D(const QLineSeries);