Commit Graph

1409 Commits

Author SHA1 Message Date
Qt Submodule Update Bot cf90c9505f Update dependencies on '6.10.0' in qt/qtgraphs
Change-Id: I7db6a78af7c407c31bcc458900f022545ca07d64
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-10-01 05:47:03 +00:00
Qt Submodule Update Bot a2e6b84f41 Update dependencies on '6.10.0' in qt/qtgraphs
Change-Id: I76d8526ffd110840235039459680ac56bdfc50ee
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-29 18:10:16 +00:00
Qt Submodule Update Bot c6c1065337 Update dependencies on '6.10.0' in qt/qtgraphs
Change-Id: I2c06d2d1bab2db984e736dabcf3a121464627f07
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-26 09:53:00 +00:00
Qt Submodule Update Bot d643623d4e Update dependencies on '6.10.0' in qt/qtgraphs
Change-Id: I7f6068d2ccc4f61cdf9ec10a21c336e281329b87
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-25 11:59:17 +00:00
Qt Submodule Update Bot 9deae755f4 Update dependencies on '6.10.0' in qt/qtgraphs
Change-Id: I07fa44f82588c640720fae3b1400f42006890040
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-17 22:38:27 +00:00
Qt Submodule Update Bot 1d9f4a6b45 Update dependencies on '6.10.0' in qt/qtgraphs
Change-Id: I560727b7d011914f5922aad473d8586bf22f029b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-16 12:29:35 +00:00
Qt Submodule Update Bot d0ede2e3d4 Update dependencies on '6.10.0' in qt/qtgraphs
Change-Id: I631e580141c1df2beb9ca101c2a572c92bf633f0
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-15 13:32:38 +00:00
Qt Submodule Update Bot 33c3e75541 Update dependencies on '6.10.0' in qt/qtgraphs
Change-Id: Icb4da381e093a3254654477f56bfdc43c801f2e6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-13 16:37:59 +00:00
Qt Submodule Update Bot 0fa5b4b198 Update dependencies on '6.10.0' in qt/qtgraphs
Change-Id: If44892092aa60d729ba9e307fc4f8d879bad48a7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-09 18:03:24 +00:00
Sami Varanka a3d9820da0 2D: Add QT_NAMESPACE to pierenderer.cpp
PieRenderer didn't have QT_BEGIN_NAMESPACE and QT_END_NAMESPACE.

Pick-to: 6.9 6.8
Change-Id: I70514460f89cb189a7a5cc75839d4e3098afa612
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit 43c7180d21)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-09-04 15:00:55 +00:00
Sami Varanka ddbf8a3ba3 3D: Add tracepoints to surface
Task-number: QTBUG-130380
Change-Id: Ifda3440e3ef586109fcf78a3eb13f7a37357d63d
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit 57ea495add)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-09-04 14:26:35 +00:00
Kwanghyo Park c0829ec48a Prevent improper fill for area series on the zero-axis
When an area series had consecutive points on the y=0 axis,
the renderer would draw a horizontal line segment which caused
visual glitches when filled.

This change avoids filling that problematic segment on the y=0
axis, which fixes the improper fill.

Pick-to: 6.9 6.8
Fixes: QTBUG-139112
Change-Id: I4461cbf80af9b059ccfcc714234fed5039d0cd43
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
(cherry picked from commit 52c5d1d3ec)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-09-04 11:35:14 +00:00
Sami Varanka 6d2194f90d Add tracepoints to QtGraphs3D
This adds tracepoints QQuickGraphsItem.

Task-number: QTBUG-130380
Change-Id: I42e59abd8451392c4219e3e0f017e2869e8104f9
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit 0d4f5c309c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-09-03 12:35:06 +00:00
Qt Submodule Update Bot 910e6b6541 Update dependencies on '6.10' in qt/qtgraphs
Change-Id: Ib221cd8f6f7d8d55b687fc19ee5083a482e92748
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-01 19:37:58 +00:00
Volker Hilsheimer 44d56f619d API review: don't return pointer to QImage from renderSliceToImage
In fact, don't return the QImage at all. It's an asynchronous function,
and the rendering will take an unknown time to complete. Callers must
connect to the sliceImageChanged() anyway to get the result, so just
let them do that, instead of clumsily polling with a timer.

Update the documentation and manual tests as much as possible for
now. There are baseline tests, but no auto-tests, so hard to say if this
still works correctly. It's likely that this needs a bit more work as a
follow up, but at least we don't release any dangerous API.

Change-Id: I19d616c76746a826c4a46ed1df0aab4dc988556c
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 5a97dd4180)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-09-01 12:55:53 +00:00
Volker Hilsheimer 05f405e13a API review: pass QImage as const-ref also in signal arguments
Change-Id: I8e47aa0facd73d0ef099836d649cc1770dcc8b0e
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit f502431b18)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-08-31 08:05:10 +00:00
Volker Hilsheimer 66cfed3b2c Use isSharedWith to test if two QList instances hold the same data
Calling data() on mutable objects forces a detach, which voids the
optimization attempted by comparing data pointers of QList
specializations, such as QSurfaceDataArray or QBarDataArray. Test
with isSharedWith instead; the pointer returned by data() can only be
the same if the two lists are shared copies of each other.

Pick-to: 6.9 6.8
Change-Id: I3b4707c6e44ed9b7f08f76086ade4f08465b7653
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit 0320e79022)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-08-29 12:57:00 +00:00
Qt Submodule Update Bot faf9ce2a15 Update dependencies on '6.10' in qt/qtgraphs
Change-Id: I3f0ab7bb00681d5ae3374a8dcef71c195bea4e21
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-08-29 10:45:36 +00:00
Alexey Edelev e486f98cbc Make 'qtquick3d' optional dependency for the module
QtQuick3D was listed as a required module in dependencies. However,
you should be able to build QtGraphs without 3D features. In that case,
it is not necessary to have Quick3D. Therefore, the Quick3D required
field should be false in the dependencies. In addition, the baseline
tests must be turned off if 3D features are unavailable, as they link
to Quick3D.

Pick-to: 6.9 6.8
Change-Id: I6c45fde93d75d54b4adf89471441d989452b0245
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit 6300f5af2f)
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2025-08-27 09:59:33 +02:00
Qt Submodule Update Bot 432b7ace32 Update dependencies on '6.10' in qt/qtgraphs
Change-Id: I59012e08cf87cd4f33d0b5364b26fa0b4a714885
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-08-25 14:33:17 +00:00
Tomi Korpipaa 46d013f1b0 GraphsWidgets: Pass QImage by reference to const instead of by value
Based on API review.

Rationale: Non-trivial types should not be passed by value.

Task-number: QTBUG-137478
Change-Id: I9be369facb9f214e8bd11edbd67ef03c3c331de7
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit 60a29fd7f9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-08-21 11:06:30 +00:00
Volker Hilsheimer 85cda1d547 Doc: remove "Sets" from QML property documentation
Properties hold a value, only the setter sets the value.

Change-Id: I986abb3f5424ef5d71bd44a08b643138fd1f36e3
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit 75ec4ffe74)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-08-20 14:50:13 +00:00
Tomi Korpipaa dc9c9cedc7 Fix extra asterisks in documentation
Scatter3DNode is not a part of Qt before 6.10, hence
2 separate commits with different pick targets.

Fixes: QTBUG-138797
Change-Id: Iaed5d38c81847ce9f75d21fb7b492d2cc8a972f6
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit 1367d26953)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-08-20 07:17:24 +00:00
Volker Hilsheimer 4c19e5c558 QAbstract3DSeries: don't fully qualify enum in member functions
The enum from the same class can be used in member functions without
fully qualifying the type with the class name. This makes a difference
for string-based signal/slot connections, where the declaration without
the full scope makes connections also work if the full scope is not
provided in the SIGNAL and SLOT macros.

Addresses header review comment and amends
52a361988d.

As a drive-by, fix the capitalization of the setter parameter, and the
documentation of the property.

Change-Id: I1d9ca21dc8fd173852ca89ec3060dbb1da50c046
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit 8f9c14c383)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-08-19 15:34:18 +00:00
Kwanghyo Park 39c5cdc6f8 Decouple pie and hole size setters
Removes logic that caused setPieSize() and setHoleSize() to implicitly
modify each other. The setters now only affect their own respective
properties.

Pick-to: 6.9 6.8
Fixes: QTBUG-134003
Change-Id: I2d7b3e36d692248cd2de19dc6daa9d09a61c8158
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
(cherry picked from commit e2def3779a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-08-18 15:50:28 +00:00
Sakaria Pouke 07c44e94e0 Improve surface graph picking
Implements custom picking for surfaces.
Completely removes proxyModel from use.

Fixes: QTBUG-138788
Change-Id: Id851ad264e0a35889cc4d320eac0c5060ea8dbc5
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit cad6ebb98d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-08-18 10:02:38 +00:00
Qt Submodule Update Bot a90df0e970 Update dependencies on '6.10' in qt/qtgraphs
Change-Id: I3013be6a3ab61f0a090040b26a83eb555237053c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-08-15 19:16:20 +00:00
Qt Submodule Update Bot 07dbd1482b Update dependencies on '6.10' in qt/qtgraphs
Change-Id: I16cff280d012641ea49bbf680acd2ddd5e31cb65
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-08-14 11:51:17 +00:00
Sakaria Pouke 8236a17098 Surface: recalculate bounds in updateModel, always set gradient uniforms
Fixes: QTBUG-138923
Fixes: QTBUG-138924
Pick-to: 6.9 6.8
Change-Id: I619fd5382e078b225356fd3d6822164ff7db1512
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit f7d363f5f5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-08-14 08:47:17 +00:00
Sami Varanka 43ccf20e67 Fix: crash when closing Graphs2D
When series is created outside of graphsview and then added into
a graphsview, the app crashes while closing. This seems to be because
it ends up calling pure virtual type function from the QAbstractSeries
in the getSeriesRendererIndex. This patch adds type variable to
QAbstractSeriesPrivate. The variable is set by QAbstractSeriesPrivate
constructor. The getSeriesRendererIndex function checks the value of
that variable instead of calling the virtual type().

Pick-to: 6.8 6.9
Fixes: QTBUG-138506
Change-Id: I7aca4970c38cbf83413818b0a77e7cf5d76195b6
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
(cherry picked from commit 630b38b3ee)
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
2025-08-13 20:33:34 +03:00
Qt Submodule Update Bot 86c90e3ae2 Update dependencies on '6.10' in qt/qtgraphs
Change-Id: I38bcae10e8039b71cef8dd5de12fc5398fd0b3eb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-08-13 16:29:28 +00:00
Tomi Korpipaa b04c8deb94 Fix extra asterisks in documentation
Task-number: QTBUG-138797
Pick-to: 6.9 6.8
Change-Id: If3d5ea7ecb530fd20d7d297156e9fa6d322f9e09
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit fee3df178a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-08-13 04:43:34 +00:00
Qt Submodule Update Bot d1e2abd722 Update dependencies on '6.10' in qt/qtgraphs
Change-Id: Ibbbedb6000d8bd3d9e5e9dc018624c30783422ff
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-08-09 01:44:05 +00:00
Qt Submodule Update Bot 024f170bb2 Update dependencies on '6.10' in qt/qtgraphs
Change-Id: I902704e34153826fe8ae8efa57e89d9c2745791a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-08-05 20:15:40 +00:00
Tomi Korpipaa 786c7b2c7f Fix clazy-non-pod-global-static warning
Doing it this way should not break unity build, unlike
the previous attempt.

Pick-to: 6.9
Change-Id: Ibe7f305ba9e41d1465bad7bbb7fb61860b225a98
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit 4b815129c6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-08-05 06:31:55 +00:00
Tomi Korpipaa 35939f0732 Revert "Fix clazy-non-pod-global-static warning"
This broke unity build, so it has to be reverted in this form.

This reverts commit 6ba5d8f00c.

Pick-to: 6.9
Change-Id: I58719cd79c53af764e973b47e115e0f4f02af917
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit ee46f585d9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-08-05 06:31:49 +00:00
Sakaria Pouke 9dddd4178c Use mask alphamode in labels
Switching to mask mode does not seem to visually change
the labels much if at all, and it fixes the problem with approximate
OIT.

Fixes: QTBUG-138827
Change-Id: Ia222cf6c5ec6a8e764d06217b1593abe27e166e3
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit 330273682e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-08-04 06:37:51 +00:00
Jere Tuliniemi 510dd17c10 Fix horizontal orientation for non-bar series
Fixes: QTBUG-138740
Change-Id: I328a1fd22a66d53643b0e81be1b832e5cee9bac5
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit 13e23a8337)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-07-31 22:28:17 +00:00
Kwanghyo Park f2560a0384 Fix the doc for zValueChanged signal
Change-Id: I809f3c5e3bc3005613f30809ff308b8c5d71f914
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit 88fa4d12ed)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-07-31 11:51:36 +00:00
Qt Submodule Update Bot 5f6b39c42a Update dependencies on '6.10' in qt/qtgraphs
Change-Id: Ibaf9ebbb97b200f2db86a738fd5be3e8593a3692
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-07-30 22:57:43 +00:00
Kwanghyo Park b2c9b257ae Graphs: Set LightingMode enum's underlying type to bool
Based on API review: Since the enum only has two states,
`bool` is a more fitting and efficient underlying type.

Task-number: QTBUG-137478
Change-Id: Ieceb07b275f7fcee7a25982d856518690de04b78
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
(cherry picked from commit 006758ac5f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-07-30 11:30:50 +00:00
Kwanghyo Park 9d63aff151 Graphs: re-implement scale support in 3D scatter graph
Based on API review: support for per-item scale for scatter graph
has been moved from QScatterDataItem to QScatter3DSeries.
This change avoids adding member data to QScatterDataItem, which
would break binary compatibility.

Task-number: QTBUG-137478
Change-Id: I07668e20a358e99740ea348f4c744e05518e2fcb
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
(cherry picked from commit e8ed058e22)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-07-29 13:28:50 +00:00
Qt Submodule Update Bot 17f57b2c32 Update dependencies on '6.10' in qt/qtgraphs
Change-Id: Ibdd3fd5a1a24cc3da948e5a04c3edc1359ee43ce
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-07-29 12:08:15 +00:00
Tomi Korpipaa 7e3bd53ad5 GraphsWidgets: Do not introduce new QSharedPointers
Based on API review: Do not introduce new APIs with QSharedPointer

Rationale: QSharedPointer's implementation is poor and requires
twice the number of atomic operations on copy than std::shared_ptr.
We want to remove the class in Qt 7.

Solution: Instead of returning shared pointer to a QQuickItemGrabResult
that is received from the QQuick3DViewport, extract the image from
the grab result and return a pointer to that instead.

Task-number: QTBUG-137478
Change-Id: I54cc9aece72cf8cf5ec4abaddc1da189d0c31b2b
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
(cherry picked from commit 544bc177fd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-07-29 07:46:01 +00:00
Tomi Korpipaa 82fbf9395d Fix clazy-non-pod-global-static warning
Pick-to: 6.9
Change-Id: Iac3ba82a158acd495e76b841bce5bca3ba96c5d5
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
(cherry picked from commit 6ba5d8f00c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-07-29 03:47:08 +00:00
Jere Tuliniemi 31f9a360eb Update GraphView when series axis is changed
Fixes: QTBUG-138598
Change-Id: I456dfa64244acfedbd11a68e5de9fbe31c2174e2
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit 453df72f28)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-07-28 15:32:06 +00:00
Jere Tuliniemi eb3e79e661 Document the axis properties of QAbstractSeries
Task-number: QTBUG-132333
Change-Id: Ice90c1ee70309eff8c9404b046ca2819ff94526c
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit 1aa6025991)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-07-28 15:32:02 +00:00
Andreas Eliasson 6fbd4edba6 Doc: Fix broken links to Node types
The QML type is called Bars3DNode, not BarsNode. The same applies
for ScatterNode and SurfaceNode.

Change-Id: I040ab1bae22fc7e79f3b769d162d2c1b90ba1a7d
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
(cherry picked from commit 2a19994f52)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-07-24 11:03:07 +00:00
Kwanghyo Park 428a3fd680 Graphs: rename enum SliceType to SliceCaptureType
Based on API review: this change improves the clarity and semantics
of the enum by renaming SliceType to SliceCaptureType.
Enum values were also renamed to explicitly indicate the type of
slice being captured to an image.

Task-number: QTBUG-137478
Change-Id: I1c21180f064d26189ba4121e412f103017c00fd6
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit ff599b3b56)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-07-24 07:51:53 +00:00
Dheerendra Purohit b00358a33d Doc: Make QAbstractSeries::graph() as \internal to hide private type
The QAbstractseries::graph() function returned a private type
QGraphView which was mistakenly exposed in public documentation.
Added \internal to the doc comment to hide the function from public
API docs. Fixes the documentation leak of the private class.

Pick-to: 6.9 6.8
Task-number: QTBUG-138456
Change-Id: I4f2af5e43ada043788f841e570df1911351dcdbb
Reviewed-by: Sze Howe Koh <szehowe.koh@gmail.com>
(cherry picked from commit 16b5a594e6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-07-24 05:13:12 +00:00