Commit Graph

4012 Commits

Author SHA1 Message Date
Qt Submodule Update Bot 4fda8d6403 Update dependencies on 'dev' in qt/qtcharts
Change-Id: If2f73468a3b7c95d9d15db11c374e753c7bdaff3
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-05 17:44:52 +00:00
Qt Submodule Update Bot 8eaade2f7d Update dependencies on 'dev' in qt/qtcharts
Change-Id: Ib436e423035e3a6bb5db6e6e863aa98cb38342b7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-02 01:08:05 +00:00
Tor Arne Vestbø 9efcac7d66 Skip tst_QLineSeries::qlineseries::GL when OpenGL is not available
Pick-to: 6.10
Change-Id: I86970505583c91098603519208aeff4af5dc5360
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
2025-08-13 09:36:53 +00:00
Qt Submodule Update Bot a348997790 Update dependencies on 'dev' in qt/qtcharts
Change-Id: Iee597b48af7e0e834144e92ad4a4789ac505a8cc
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-08-07 05:18:59 +00:00
Lucie Gérard 5460dc0e56 Remove year from Qt Copyright in REUSE.toml
Change-Id: I96d26d3f3cbfa40e9cc809124b94a0f3e2e552cb
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2025-07-14 09:46:40 +02:00
Qt Submodule Update Bot 35629f790b Update dependencies on 'dev' in qt/qtcharts
Change-Id: I30d03f4db4f19fd4a1b80fa2c7f8436669435155
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-07-07 15:40:40 +00:00
Qt Submodule Update Bot 138c399a88 Update dependencies on 'dev' in qt/qtcharts
Change-Id: I9b94a178334e1d82594e4b8eebe8cd695fe40705
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-07-03 22:18:35 +00:00
Qt Submodule Update Bot 1aa5916735 Update dependencies on 'dev' in qt/qtcharts
Change-Id: Ic8988a7754ee79b55f00f51214d015a2392dbdac
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-07-02 02:31:08 +00:00
Qt Submodule Update Bot a7a871570c Update dependencies on 'dev' in qt/qtcharts
Change-Id: I6f999d8b1f4ee85f97e78678036f133e0de18e5d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-06-30 17:56:44 +00:00
Qt Submodule Update Bot 73a2f8ebcf Update dependencies on 'dev' in qt/qtcharts
Change-Id: I9b91a1e14255bc7d373df52fe7c0f3a180f04c38
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-06-27 20:15:06 +00:00
Qt Submodule Update Bot 1626e467e8 Update dependencies on 'dev' in qt/qtcharts
Change-Id: I3fd4340686c2f8842d71f587fce896f374b9fdd0
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-06-26 04:25:21 +00:00
Cristian Le 227286fbe9 Move `qt_internal_project_setup` as early as possible
The earliest we can move this is right after `BuildInternals`. This
allows us to add function calls before navigating the `find_package`
tree of the dependents.

Task-number: QTBUG-135233
Change-Id: I0964165557da64c4753df637f773ccd1412fd5eb
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2025-06-20 15:26:28 +02:00
Qt Submodule Update Bot c0609affca Update dependencies on 'dev' in qt/qtcharts
Change-Id: Ifdb92f3324cb8f5ee1b163b96523ab1d94d4002d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-06-18 04:16:50 +00:00
Jani Heikkinen 976e516a3f Bump version to 6.11.0
Change-Id: I69d0e5c3bdbb409abe8703336e725058a8ad8ea1
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-06-14 09:40:13 +01:00
Qt Submodule Update Bot 071ccda64b Update dependencies on 'dev' in qt/qtcharts
Change-Id: I6f599423b3b3c791c494e6e33f6f8304ba13e014
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-06-14 08:40:11 +00:00
Ivan Solovev 406effc624 Fix a typo in QAbstractBarSeriesPrivate::insert()
Apparently, a copy-paste error, which lead to selectedBarsChanged()
signal never being handled properly.

Amends 1a0063ed15.

Fixes: QTBUG-132357
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: I7f305dbb7af1daadc8abf687b0dacbd0dbf3a603
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2025-06-05 11:08:59 +02:00
Ivan Solovev ea13d9ad24 QAbstractBarSeries: fix ownership when calling insert()
The docs claim that the series takes ownership of the inserted bar set.
However, that didn't happen in practice. Fix by explicitly calling
setParent(this), like it's done for other similar operations.

Amends 978d41b59a.

Pick-to: 6.10 6.9 6.8 6.5
Change-Id: I19d1399195a63d096bb00b1a13d15e1b9a8d9493
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2025-06-05 11:08:59 +02:00
Ivan Solovev 159994409d QXYSeries: properly handle selected points in replace(QList<QPointF>)
The replace() overload taking a list of points did not consider the
fact that the new list can be shorter than the original.
If some points were selected before the replace() call, and there
are no points with such indexes in the new list, then selectedPoints()
was still reporting non-existent indexes.

This patch updates the logic of replace(QList<QPointF>) to also make
sure that all the non-existent indexes are removed from the set
that keeps track of the selected points.

Amends 86f3ac473a.

Fixes: QTBUG-132790
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: Ief1d1791d09302b4f22ff65c978f6f7d60741ee3
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2025-06-05 11:08:59 +02:00
Ivan Solovev d52ca5a49d PieSliceAnimation: also interpolate alpha channel
The animation interpolation did not consider the alpha channel when
interpolating QPen and QBrush. As a result, the colors were always
considered opaque, even if the users specified a custom alpha channel.

Fix it by also interpolating the alpha channel.

Apparently, there is no possibility to unit-test the change, since
there's no API to access the PieSliceItem and its properties.

To test the fix, update the manual qmlchartproperties test with the
possibility to change the opacity of the slice for the PieChart.

Amends 7d415c8db7.

Fixes: QTBUG-135240
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: I559067f11ad7fba1853e1af1fe49de228a6eb6f6
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2025-06-05 11:08:59 +02:00
Marc Mutz 0754576b6a Normalize signal/slot signatures 2025
This is the result of running util/normalize on the code base. The
following manual edits were needed:

- folded long connect() lines

As a drive-by, re-flowed line-broken connect() statements to follow
canonical form

    connect(sender, signal,
            receiver, slot);

as opposed to, e.g.,

    connect(sender, signal, receiver,
            slot);

As another drive-by, port from .data() to std-compliant .get(). This
will help porting away from QSharedPointer and QScopedPointer, going
forward.

Pick-to: 6.10 6.9 6.8 6.5
Change-Id: I948549e3eb041509059f85d2aeab8ec9c403db7c
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2025-06-05 11:08:59 +02:00
Antti Määttä 0a0ba8575e Clear polar paths when the series is empty
If the polar chart gets cleared, the old series is still drawn, because
the m_linePathPolarLeft/Right are not cleared properly.

Pick-to: 6.10 6.9 6.8 6.5
Fixes: QTBUG-136770
Change-Id: I2ff4946c6948a40b6766cba069e3698d65cbfedd
Reviewed-by: Janne Roine <janne.roine@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2025-06-05 11:15:58 +03:00
Qt Submodule Update Bot 9d9a15c4d8 Update dependencies on 'dev' in qt/qtcharts
Change-Id: Ibd8ce5dc7392fefa0e0fa369d48337763714f83d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-05-24 10:26:30 +00:00
Sami Varanka 5a7ad3e526 Fail compilation when QtGraphs in the same TU
Because QtGraphs has inherited many of its classes
from QtCharts, the modules have many classes with the same
name. Therefore, mixing QtCharts and QtGraphs headers in
the same TU violates ODR. This patch includes the check for that and
fails compilation with an error message.

Pick-to: 6.8 6.9
Fixes: QTBUG-135691
Change-Id: Ic612ec36b1369ceee0eef83220c41e75f38a611e
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2025-05-23 10:31:31 +00:00
Qt Submodule Update Bot 9afa6433ae Update dependencies on 'dev' in qt/qtcharts
Change-Id: I0156ccf9469ef308727c1013643e825d9325506f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-05-22 04:44:46 +00:00
Qt Submodule Update Bot bada9b4d6a Update dependencies on 'dev' in qt/qtcharts
Change-Id: I4c1911e37d2aff07d68715821e74fb9940daab5b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-05-18 14:35:41 +00:00
Qt Submodule Update Bot ec15a190f5 Update dependencies on 'dev' in qt/qtcharts
Change-Id: I02973ccfba5e477442eaefbab91c3bda93446d14
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-05-15 21:26:06 +00:00
Qt Submodule Update Bot ddf58864af Update dependencies on 'dev' in qt/qtcharts
Change-Id: I14a21ddd2933bc9ba3528811549f04c24ab8b455
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-05-08 20:47:24 +00:00
Qt Submodule Update Bot de85db072b Update dependencies on 'dev' in qt/qtcharts
Change-Id: I5bec0a5607ce4835b2d15d5c443a7d1d1142d034
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-05-03 05:56:12 +00:00
Qt Submodule Update Bot a7f2862748 Update dependencies on 'dev' in qt/qtcharts
Change-Id: I18e53a7afa006f28f2972fe429d060988eb0286f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-05-01 12:07:53 +00:00
Qt Submodule Update Bot 15c2df84da Update dependencies on 'dev' in qt/qtcharts
Change-Id: I74c81671a7953a93903f3c053076534522213e24
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-04-29 17:47:53 +00:00
Qt Submodule Update Bot 8c251ab4b2 Update dependencies on 'dev' in qt/qtcharts
Change-Id: I9b9e068c43d909e7b958b80fc84edddfa2f06741
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-04-24 15:22:15 +00:00
Niko Korkala da50fcdcd7 mark qmlweather examples main.qml as security sensitive
Example makes Http GET request, response text gets parsed into JSON object and the JSON object is passed on to parsing function which parses the data for chart series

Task-number: QTBUG-135749
Pick-to: 6.9 6.8
Change-Id: I53503e44b4adb86c1fce48cd6a72a9c624bf7592
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2025-04-24 09:16:05 +03:00
Qt Submodule Update Bot fa1028c2bb Update dependencies on 'dev' in qt/qtcharts
Change-Id: I130facf76b75fab050cf990ffa98e45bd6bb426c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-04-23 05:23:03 +00:00
Volker Hilsheimer 0a290d98b8 Use QElapsedTimer::start instead of restart
restart() becomes [[nodiscard]] in qtbase.

Change-Id: If5e1032fc124468a0bf67f3b7cb8f3ac1a62a376
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
2025-04-18 02:25:13 +02:00
Qt Submodule Update Bot b5a2d85606 Update dependencies on 'dev' in qt/qtcharts
Change-Id: I28301f6c1093a6173e79abac8e13249a02e22e26
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-04-15 17:14:12 +00:00
Miikka Heikkinen f1a0abc19f Fix duplicate exports in plugins.qmltypes
Between 1.0 and 1.1 version of charts, two qml types changed names,
but were still backed up by the same C++ type. To avoid duplicate
entries for same C++ type in plugins.qmltypes, we just provide two
exports for the same C++ type. This will unify the version numbers
for the combined types as well, but this shouldn't be a problem.

Fixes: QTBUG-115358
Pick-to: 6.9 6.8
Change-Id: I5f8d91fd4902f9f29b589d9f7abb08071105829b
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2025-04-08 10:26:55 +03:00
Qt Submodule Update Bot c0a5fb552e Update dependencies on 'dev' in qt/qtcharts
Change-Id: I562a61d8bf75e9afa30ab2d875c91367b1fd871e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-04-03 19:00:29 +00:00
Qt Submodule Update Bot 80ca6c5fa7 Update dependencies on 'dev' in qt/qtcharts
Change-Id: I35041f77f680bcdf274ae1d06e763f843d4824e0
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-04-01 15:58:25 +00:00
Paul Wicking 5486727f4b Add .gitreview file
`git-review` is a command line tool for interacting with Gerrit.
Some IDEs offer support for this tool, either natively or through
plugins. The tool relies on a configuration file, .gitreview. Adding
this configuration file to our repositories simplifies initial setup
for contributors that use the tool directly or through their IDE of
choice.

The configuration file adds a remote called 'gerrit'. This is the
default for the tool, and also the name set for
codereview.qt-project.org by Qt's `init-repository` script. Thus,
the configuration should work seamlessly alongside other repository
helpers.

Task-number: QTBUG-132604
Pick-to: 6.9 6.8
Change-Id: I4199d36f3601889345832b13651354d4027cb669
Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
2025-03-24 17:26:44 +01:00
Qt Submodule Update Bot a4e81a4b3c Update dependencies on 'dev' in qt/qtcharts
Change-Id: I0ff32900949204e2757d7bb69ad5e093dfaa3b5f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-03-21 11:22:29 +00:00
Lucie Gérard dd539e9b5b Update licensing of files with infrastructure type
A QUIP 18[1] update sets git files, REUSE.toml and licenseRule.json
as infrastructure type files. They are licensed with:
LicenseRef-Qt-Commercial OR BSD-3-Clause

[1]: https://contribute.qt-project.org/quips/18

Pick-to: 6.9 6.8
Change-Id: I81597d6a4f75b1d27cc1fbcf1abfca6a7dddc577
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2025-03-12 16:05:18 +01:00
Samuel Gaist dc9bbbb641 doc: refactor C++ usage
The documentation mentions both a namespace that has been removed
and the use of the module include which should be avoided in user code.

This patch removes both, and adds CMake usage for the module.

Pick-to: 6.9 6.8
Change-Id: I378fbcaffa3edc5bdb94cdb7e05c9876b2418931
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2025-03-11 12:33:07 +00:00
Liang Qi 028f64f898 tests: blacklist tst_QBarSeries::mousehovered() on u2404 x11
Pick-to: 6.9 6.8
Task-number: QTBUG-134519
Change-Id: Ica9b7e9b549633a3997121285c325d001e9caf01
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2025-03-09 20:48:50 +01:00
Qt Submodule Update Bot 9a098b14f8 Update dependencies on 'dev' in qt/qtcharts
Change-Id: I8d703ce2f6dbe3edfff73ae99800eff469afe675
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-02-28 12:51:50 +00:00
Tomi Korpipaa 2152ded63e Deprecate qtcharts module
Task-number: QTBUG-133659
Change-Id: If25ebf0b198f517d476e6f67a13e7d25a8658a1a
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2025-02-24 13:02:53 +02:00
Lucie Gérard 7fc95e8788 Make module ready for source SBOM checking
This includes:
- turning VERIFY_SOURCE_SBOM ON
- adding rules to the licenseRule.json files
- correcting the licensing given via REUSE.toml files

A lot of files are skipped during the license test,
but all are present in the source SBOM.
This is why corrections are needed before turning the
source SBOM check on.

Task-number: QTBUG-131434
Pick-to: 6.9 6.8
Change-Id: I7880a9c8fbda06422a09cf70ac9ffbed750cd781
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2025-02-24 10:42:40 +01:00
Qt Submodule Update Bot 37962dfa4a Update dependencies on 'dev' in qt/qtcharts
Change-Id: I427a43c29c2a7500c86249aa1ca1bd27fe03da22
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-02-21 06:01:10 +00:00
David Boddie 8026ec7b36 doc: Update types of QML properties to QML types
qdoc will soon warn about C++ types in QML property documentation.
This change fixes existing documentation to prevent warnings.

Pick-to: 6.8
Change-Id: Ie7034ebab2568b7401023feb666886e8f8e3254a
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
2025-02-21 06:01:04 +00:00
Qt Submodule Update Bot 4f06ece24f Update dependencies on 'dev' in qt/qtcharts
Change-Id: If74a57f912f7104d18a2f7a12b23f9c9b417dbda
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-24 04:32:07 +00:00
Qt Submodule Update Bot 19831f7dd1 Update dependencies on 'dev' in qt/qtcharts
Change-Id: I612b9b8941749bcb41a0d2978aa4d127b5333f9f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-20 19:19:19 +00:00