Commit Graph

339 Commits

Author SHA1 Message Date
Sami Varanka 7fdef0653e 3D: Fix row/column replace tests in surface
Row/column replace tests were disable in surface tst_proxy.qml.
The tests also used incorrect regex patterns.

Pick-to: 6.8
Task-number: QTBUG-132351
Change-Id: I1dbeb338c192c5c93d289e50c156b7bc3529b5cd
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Reviewed-by: Niko Korkala <niko.korkala@qt.io>
(cherry picked from commit 9592479c0b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-10-30 11:04:24 +00:00
Sami Varanka b787f45850 Fix: Graphs3D series item label visibility
Bars3D and Scatter3D didn't hide the item label according to series'
itemLabelVisible. This was also in the Surface3D but it was fixed
already. However, the fix was not complete since it did not work if the
selection was active.

Fixes: QTBUG-141370
Pick-to: 6.8
Change-Id: I65acfc33e0d41cd4322efe521b7d7ba509ca159a
Reviewed-by: Niko Korkala <niko.korkala@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit 8d8f2ffc91)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-10-28 12:18:12 +00:00
Sami Varanka feb5e97d99 3DScatter: Don't do unnecessary scalearray resize
When the modelhandler resolves the model, it always resizes scalearray.
This patch adds a check whether the itemmodel has scale roleindex. If
the model has no scale, it skips the resizing of scalearray.

Fixes: QTBUG-141186
Change-Id: I2718987f15c751cd187f1a398a92e10c71c9fbc6
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
(cherry picked from commit 77ac8a5a9a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-10-21 14:36:28 +00:00
Tomi Korpipaa 1846cd95c2 Check if textureFile has transparency
Textured surfaces ignored alpha channel in the images used as
textures. Added a check which forces transparency if the textureFile
source or texture property has other than 1.0 in alpha.

Pick-to: 6.8
Fixes: QTBUG-140660
Change-Id: Ibe95b4a4fb6b674b615d15c1b7e37e2cd6edee77
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit d890ea35d3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-10-09 09:01:32 +00:00
Tomi Korpipaa f0917f50ef Fix test failure on macOS 13
Pick-to: 6.8
Fixes: QTBUG-140088
Change-Id: I84cc0a27102a1b9ab313c2ecd5007450ff51b59e
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit 6ae44a9df0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-10-08 09:49:32 +00:00
Sakaria Pouke 04fba586fd Support selectionQueryPosition and graphPositionQuery
selectionQuery is essentially a legacy way to do picking
while graphPositionQuery returns a picked position of the graph.

Task-number: QTBUG-138828
Pick-to: 6.8
Change-Id: Ieb90086e0416558bb31633a2b28db37443dd6362
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit 47dc05aac6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-10-07 05:13:07 +00:00
Sakaria Pouke 4e7d43973e Handle NaN values in 3d series
Fixes: QTBUG-140240
Pick-to: 6.8
Change-Id: Ib476a877dea4815b91626f83c107c91c0354731d
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit 43ae07f6a8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-10-02 05:37:44 +00:00
Sami Varanka 2cca8ce8c5 2D: Warn when axis added to multiple graphs
Adding the same axis to multiple graphs is not supported. It will result
to crash since graphsview destructor tries to set axis' associated graph
to nullptr.

Fixes: QTBUG-138822
Pick-to: 6.9 6.8
Change-Id: If306e415f87f2366ae0d82f6fd5c9a9a5e356f85
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
Reviewed-by: Alexei Cazacov <alexei.cazacov@qt.io>
(cherry picked from commit 818613a0ee)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-09-09 13:23:02 +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
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
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 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
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
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
Kwanghyo Park 36c3af8810 Graphs: add parameters to angle span visibility change signals
Based on API review: Update angleSpanVisibleLimitChanged and
angleSpanVisibleModeChanged signals to include their
respective new values as parameters.
Maintain consistency with the rest of Qt.

Task-number: QTBUG-137478
Change-Id: I384ee60f933e0da15ca22cfc01eec693588dc183
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit c0f6e03ede)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-07-23 05:43:52 +00:00
Kwanghyo Park 88295d2e37 Graphs: rename drawOrder property to zValue
Based on API review: the drawOrder property has been renamed to
zValue for consistency within the Qt Graphics API.

Task-number: QTBUG-137478
Change-Id: I8b82a998ca2d5165169d3184c493708b3214f24a
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit 9a2b68a825)
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
2025-07-22 12:03:09 +03:00
Kwanghyo Park 74f76ec3d3 Graphs: rename VisibleMode to LabelVisibility
Based on API review: Rename the VisibleMode enum to LabelVisibility
to specifically state that it controls label visibility in pie series.

Task-number: QTBUG-137478
Change-Id: If7834e180a3be90c8a5f69807ac9763b7e4ac853
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit 8a24be6330)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-07-21 06:41:27 +00:00
Kwanghyo Park 30d9763c31 Graphs: rename textElide to textElideMode
Based on API review: Renamed the textElide property to textElideMode
to improve clarity and align with Qt naming conventions.

Task-number: QTBUG-137478
Change-Id: I5261055f686dd8b96576809ca266599a5c258fee
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
(cherry picked from commit 49468e7019)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-07-17 12:15:44 +00:00
Kwanghyo Park 3829364e43 Graphs: remove scaleRole constructor from QItemModelScatterDataProxy
Based on API review: Removed the constructor overload that
accepted a scaleRole parameter in QItemModelScatterDataProxy.

Task-number: QTBUG-137478
Change-Id: Iae85f6321e53189f68da5b15d586c9b52fadfd25
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit 74ef58cc32)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-07-17 10:58:45 +00:00
Marc Mutz e23fb8de70 Include what you use: qquaternion.h
qmatrix4x4.h will lose its qquaternion.h include, so include
qquaternion.h explicitly in all files that mention 'QQuaternion',
unless, for a foo.cpp, the own foo.h has already included it.

Also add forward declarations, where needed.

Amends the start of this module's history.

Pick-to: 6.9 6.8
Change-Id: I605bf742be5bb92a676704f12d738d241bd9b0da
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit 6a44c5fe57)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-07-14 15:59:21 +00:00
Sakaria Pouke f1a3a164b6 Consider reverse axis in custom item positioning
Fixes: QTBUG-133759
Pick-to: 6.9 6.8
Change-Id: I755e353cb527070f61fe18c14c19118675d1af8e
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit 4f2f67f245)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-07-14 07:22:18 +00:00
Kwanghyo Park 06f0db7b66 Graphs: remove get prefix for DataPointCoordinate getter
Based on API review: Renamed the getDataPointCoordinates method to
dataPointCoordinatesAt to align with Qt naming conventions and improve API clarity.

Task-number: QTBUG-137478
Change-Id: If9edbba24fdefde1beed168992cb3cbf076375bb
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
(cherry picked from commit 8f22dc0959)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-07-11 09:46:13 +00:00
Sami Varanka 63e32e8094 Fix asan error with 3d qmltest
asan build kept failing on qmltest tst_bars.qml. Fixing this required
to move nullptr check in QQuickGraphsItem::addCustomItemto the top of
the function, and changing the tst_bars.qml to not use dynamic
creation of qmlobjects.

Change-Id: I4649bf2f8178555ad69c6581a85654a58ce58d1f
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit bf73e296a1)
2025-06-09 14:11:58 +03:00
Marc Mutz 734d59ca63 Normalize signal/slot signatures 2025
This is the result of running util/normalize on the code base. The
following manual edits were needed:

(none)

Pick-to: 6.9 6.8
Change-Id: I26d9ba6799dec9fba0220d718679353231a7c8c7
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit 4c03576ce1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-06-04 15:22:09 +00:00
Sakaria Pouke 52a361988d Add unlit shading to 3d graphs
Fixes: QTBUG-136978
Change-Id: I57dc414e28742b5cce2ed6facae745ce90881a99
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
2025-06-01 09:19:10 +03:00
Sakaria Pouke 65f74386ef Add scale to scatter item
Also update ItemModelScatterDataProxy and ScatterItemModelHandler.
Added manual test for vector fields.

Fixes: QTBUG-134242
Task-number: QTBUG-134558
Change-Id: Ie4f128419ea176d1b8e0f8e874f447ce7fb35b39
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
2025-05-30 16:50:09 +00:00
Niko Korkala c1ccb5b834 Add categorized logging to graphs 3d pt1
Feature allows developers to turn on categorized logging in graphs 3D which will log various different things
qt.graphs3d.general, general purpose logs
qt.graphs3d.series, series addition/removal
qt.graphs3d.properties, property changes
qt.graphs3d.events, sliceview enter/exit, zoom/rotate values
qt.graphs3d.inputEvents, pick results
qt.graphs3d.axis.general, axis general purpose
qt.graphs3d.axis.properties, axis properties
qt.graphs3d.critical, critical

Task-number: QTBUG-128886
Change-Id: I714ff59af47f9ec583eae57e89fd0ae417d900df
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
2025-05-29 06:02:13 +00:00
Jere Tuliniemi 1841af2b5b Add support for series draw order
Adds drawOrder property to each series so that the user can change
the order in which the series list is drawn.

Task-number: QTBUG-124929
Change-Id: If50aa81268dce11a09687013afe9ab0e5a4749c8
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
2025-05-29 01:13:59 +03:00
Niko Korkala f4d674e412 Fix tst_qmlbarscatter
CustomScatter in tst_qmlbarscatter was still trying to use QQmlComponent *pointMarker property even though it has been renamed to pointDelegate

Pick-to: 6.8 6.9
Fixes: QTBUG-136950
Change-Id: Ic2d9d3b01d71e415f789e85253928471b2f5e0b3
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
2025-05-27 09:29:48 +00:00
Tomi Korpipaa 778fa8cf5b Add odd / even visibility modes
Change EveryOther mode to Odd and Even modes.

Task-number: QTBUG-135929
Change-Id: I5bada3eeaf014251af4164c66656fac4af360860
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
2025-05-26 11:43:38 +03:00
Tomi Korpipaa cb49398dbd Allow hiding all or some labels of very small slices
Add properties for controlling the visibility of slice labels
in slices that fall under a size limit set by the user.

Fixes: QTBUG-135929
Change-Id: I0d88b08bcf66b60f1be01156f1ae723b04507e12
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
2025-05-23 08:20:20 +00:00
Sami Varanka f16113d1dd Add clipPlotArea property for GraphsView in 2D
For too long, developers were bound by an unyielding rule:
Every graph item that dared to venture beyond the plot area was
mercilessly clipped, with no means to defy this constraint.

But now, everything changes.

With the arrival of this patch, a new power emerges — a property named
clipPlotArea. This simple yet formidable addition grants developers the
ong-sought ability to choose:
Should the outliers be silenced... or set free?

The control is finally in your hands.

Task-number: QTBUG-135887
Change-Id: Id1d4b5b3fa4405b23bfe606ef83d2712dcd15d27
Reviewed-by: Alexei Cazacov <alexei.cazacov@qt.io>
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
2025-05-21 18:07:48 +03:00
Sakaria Pouke 34aa87f998 Use 2D data with surface graph in 2D performance test
Change-Id: I17d9e1c976f008919536755bd0db45970266a34c
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
2025-05-21 15:23:44 +03:00
Sakaria Pouke e1ccf0406a Add line rendering to surface3D
Task-number: QTBUG-134716
Change-Id: I71d704087cae6dcb9ec2d989803d553f00d6eda3
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2025-05-19 09:26:39 +03:00
Sakaria Pouke 3ce7bc6c26 Add 2D data performance tests
Fixes: QTBUG-134714
Change-Id: Ie089e67c81fb9f20757b50eeb2fba8674dc85c22
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
2025-05-19 09:26:35 +03:00
Sami Varanka 3ab339061b Graphs 2D: Add api for horizontal text elide
Axis labels on 2D graphs now support horizontal text elide.

Task-number: QTBUG-120502
Task-number: QTBUG-135930
Change-Id: Id89e59bfb9791e8512124432f0d6235880c6b2fe
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Alexei Cazacov <alexei.cazacov@qt.io>
2025-05-15 16:42:27 +03:00
Tomi Korpipaa fc178f0006 Remove warning if FEATURE_graphs_2d_line is not enabled
Also remove a warning in a manual test

Pick-to: 6.8 6.9
Change-Id: I498792834e86843b7245a27b37f7e2594d2f9ef9
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
2025-05-06 10:24:32 +03:00
Joerg Bornemann 176f7d945a CMake: Don't enable ASM language
Remove the ASM language where no assembler files are used.

Pick-to: 6.8 6.9
Change-Id: I461058a754991599d566cb9e63b43510b505f794
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2025-05-02 13:08:36 +02:00
Jere Tuliniemi 47cde04c4a Add multi axis support
Each series can now have their own axisX and axisY that the
AxisRenderer now renders as separate axis lines and tickers.

Task-number: QTBUG-132333
Change-Id: I2e529de167171bf81a2fb952876717f99ac75d4a
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2025-04-28 14:22:21 +03:00
Sakaria Pouke 961edc90f8 Add picking to graph nodes
Task-number: QTBUG-134041
Change-Id: Ie7113d88ea31021d25a7fb58060cfe31f0bccc3a
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2025-04-28 13:19:07 +03:00
Sami Varanka 05d38aebe0 Add easy way to get plot area point from point
User cannot just click the screen and get the correct position on the
graph's coordinates. That require's calculating plot area position from
the mousearea click position. This patch adds method to lineseries
for calculating the graph coordinates from plot area click.

Task-number: QTBUG-134499
Change-Id: Id020d040f87c5c8cfe6661aee941b1dd783f0e49
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
2025-03-28 10:42:51 +02:00
Sakaria Pouke 55cea0dc89 Add graph node classes
Creates Surface3DNode, Bars3DNode and Scatter3DNode QML elements.

The node classes create a graph, reparent the graphs rootNode to itself
and forward the parameters.

Task-number: QTBUG-134041
Change-Id: I7e53ff96e59bb42febeaf5c0c084646b50785d19
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2025-03-24 09:59:42 +02:00
Volker Hilsheimer 8092e44167 Baseline test: fix warning from unused QFile::open result
As in other baseline test implementations, exit with a fatal
message when the reference file cannot be opened.

Pick-to: 6.9
Change-Id: I112f3ed3bfa57af17eab91357dd0056e7b5c5585
Reviewed-by: Jonas Karlsson <jonas.karlsson@qt.io>
2025-02-27 13:46:38 +01:00
Volker Hilsheimer cceb78d130 Baseline test: add QtCorePrivate as a used module
The scene grabber uses QUnifiedTimer from the private QtCore API.

Pick-to: 6.9
Change-Id: I6dd4354b3acaa6e35be239b6aefb86b481b2492d
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2025-02-27 12:51:07 +01:00
Kwanghyo Park 609e036600 Create offscreen slice view of given index and grab it to image
Slice view creation of given index of row or column
The requested slice view is rendered outisde of window and grabbed to
QQuickGrabbedResult.
QML side provides to save it to a specified path.
grabsliceview manual test for feature test

Task-number: QTBUG-105607
Change-Id: Ia8019f99134abbb328a027b656ba85552ffcaf92
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
2025-02-27 17:18:46 +09:00
Sakaria Pouke 5abf761b74 Implement filled surface
Fixes: QTBUG-132615
Change-Id: I2f1e14cd179da707ecb314e6a57177684fca76d5
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2025-02-24 08:48:26 +02:00
Niko Korkala 6090cb94f1 Add support for printf style formatting for valueAxisLabels
Task-number: QTBUG-133359
Pick-to: 6.9 6.8
Change-Id: Ice8c69dbb98874617de126b945361b23bc4e1b97
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2025-02-13 09:11:47 +02:00
Sami Varanka b719d7d19c Expose qabstractseries series as anonymous
If a type is not exposed to qml, having revision macro in the type's
signals causes problems in subtypes that are exposed to qml.
This patch exposes qabstractseries as an anonymous type.
In addition fix missing " problems in qmltestbed.
Amends 28df8f7f37

Change-Id: I21573713d5096df961fabd4ee9c1e8d8932c49bb
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
2025-02-05 06:49:44 +00:00