summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove excessive signaling from sizeBy and colorByMiikka Heikkinen2023-09-112-20/+41
| | | | | | | | | | | | | If sizeBy or colorBy changed more than one point configuration, a signal about the change was triggered for each point. There is only need for one signal after all points have been changed. Fixes: QTBUG-116647 Change-Id: Iec3ca822e9de4d594ef5327adf9f83a3da3906a2 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> (cherry picked from commit ffc79d1da5f8ad6cf3dfbaf6d7eb9298182132d6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* BoxWhiskers: use Q_DECL_UNUSED_MEMBERMarc Mutz2023-09-061-4/+2
| | | | | | | | | | | ... instead of [[maybe_unused]] and tons of warning suppression code. Amends 59648b2eb6dc116c53a247e1e6237fbab4a2b1e6. Change-Id: Idaefa5cc1e352106dd2f9f7a1b2128c100618e0a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit e32450601f331f88e5f3eff52587cb52d16058b7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsQt Submodule Update Bot2023-09-041-3/+3
| | | | | Change-Id: Id8f1848df04f62b2893dc9aea64b5fa4f48252e9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Doc: Add example categoryInkamari Harjula2023-09-041-0/+1
| | | | | | | | | | Added example category Data Visualization & 3D. Task-number: QTBUG-116535 Change-Id: Ie25c607db4b0bb66cda18032371f294d9592d700 Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io> (cherry picked from commit 3b7a747087d0ea8f428fc7079d04c17c79e5de38) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsQt Submodule Update Bot2023-09-011-3/+3
| | | | | Change-Id: Icb3c12347453236491f1a5cbe7da01710a0a5a2b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsQt Submodule Update Bot2023-08-301-3/+3
| | | | | Change-Id: Ifb5e06df358be6e66e66dac2f9334aea8162a556 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsQt Submodule Update Bot2023-08-291-3/+3
| | | | | Change-Id: I28b2cf81bc7c1093f9fbac25f0d28ab26bce643c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsQt Submodule Update Bot2023-08-281-3/+3
| | | | | Change-Id: Icba07461af81dfe4725106badc985b77f02642d6 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsQt Submodule Update Bot2023-08-241-3/+3
| | | | | Change-Id: I94488cd2ce92898bedb3a8c0a3ff0d4cf8dc0cd8 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsQt Submodule Update Bot2023-08-221-3/+3
| | | | | Change-Id: I6d3da7624bc17427cd2e3c0f2afccb1e605949b5 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsv6.6.0-beta3Qt Submodule Update Bot2023-08-161-3/+3
| | | | | Change-Id: Id27d9e3a6fd616bf76dd6bc95aa5affb0d889fd9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsQt Submodule Update Bot2023-08-151-2/+2
| | | | | Change-Id: I6c63a61bd650d4ffd7808991e4bd3d6f4822a398 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsQt Submodule Update Bot2023-08-151-3/+3
| | | | | Change-Id: I3e2bb19841ab3a5a69bc98f970185ebcbc6a9145 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Make chart example galleries change layout depending on orientationMiikka Heikkinen2023-08-103-18/+57
| | | | | | | | | | | When app window width is smaller than height, layout example and list in a column rather than a row. Fixes: QTBUG-115977 Change-Id: Ic7c3ae314ad51642f13cd73d84ee6d7f690dc23d Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> (cherry picked from commit e3cc0009a5a9c9ad51f2cff0ccc80196734d807b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsQt Submodule Update Bot2023-08-081-3/+3
| | | | | Change-Id: Ia13b88a3513f27ea2b5e4cf8ceab1f2a11769c0a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* ChartWidgetTest MainWindow: fix overly complicated QStringList copyMarc Mutz2023-08-071-6/+3
| | | | | | | | | | | | There's no reason to use a for loop to copy one QStringList into another, so don't. In fact, the copy isn't needed at all, we can just use the original, so do that, too. Task-number: QTBUG-115824 Change-Id: I73553ed220f227fa5f38974b84d1c1cbeb13a450 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> (cherry picked from commit b8d6d994d0303e00c792c392721dc0d0ce8176ef) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* GLXYSeriesDataManager: de-pessimize a for loopMarc Mutz2023-08-071-1/+1
| | | | | | | | | | | | | | | | We don't need to call QMap::values() to iterate over the list of values of the map. Iterating over the map itself is equivalent, unless the loop modifies the map, which it here clearly doesn't do. Also drop the Q_FOREACH in favor of a normal ranged for loop, which is safe for the same reason. Task-number: QTBUG-115824 Change-Id: Iea6261a9d2b50b03836b82edbf9e74285e226093 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 9f68c9bd41de3632c338d39331a373217845d957) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix typo in Qt Multimedia package nameAlexey Edelev2023-08-041-1/+1
| | | | | | | | | Amends 8f4629814f3df83e9ea85aebefb0e0c9929be476 Change-Id: I1ae0f23ef441c01a8a4020717709ccb8c526cb14 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> (cherry picked from commit 8a91deff9f9d636b2518bce0d91f0e6ef4eef3bb) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsQt Submodule Update Bot2023-08-031-3/+3
| | | | | Change-Id: Iee9dfb068feb1fedc47f67599b6030c3668d8b25 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Charts: Fix crash when clicking on scatter pointsAntti Määttä2023-08-012-4/+10
| | | | | | | | | | | | | | | | | There is a dependency loop in the chart marker implementation that causes a crash when clicking on the scatter points. The markers hold pointer to the parent item but when handling the mouseReleasedEvent, the markers gets deleted and the parent pointer becomes unusable. The code then returns to the marker code which uses the parent pointer and crashes. This change moves the event handling from the marker to the parent item. Fixes: QTBUG-115072 Change-Id: Ibdbbdf6b51d8a86f6bae8a9a8b7293ee3760876e Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> (cherry picked from commit 6f52849242fbfa1c6feec6591ecb837ff67dcb23) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsQt Submodule Update Bot2023-07-311-3/+3
| | | | | Change-Id: Iadd58767837b45a4b20282709ff20f56fac1d5d4 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsQt Submodule Update Bot2023-07-261-3/+3
| | | | | Change-Id: Iad8eeab1e3c93d185b540a3ef86dd2b1309a9566 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsQt Submodule Update Bot2023-07-211-3/+3
| | | | | Change-Id: Ie377fb7cec101fe30c18fd82da1adbbdbc5bf0cf Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Doc: List of all Qt overviews which are now termed as explanationJaishree Vyas2023-07-191-0/+1
| | | | | | | | | | | | | The autogenerated list of overviews was adding the \group command which included all the groups instead of overviews. The idea here is to categorize the overviews later on once we have the list of all overviews. Task-number: QTBUG-114762 Change-Id: I3cf53886be277abc86b5ec54d399cd6933fbe882 Reviewed-by: Kai Köhne <kai.koehne@qt.io> (cherry picked from commit 43e3bd6e7a0cf004d69fd951f983fc03d164d424) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add \examplecategory for Qt Charts examplesVenugopal Shivashankar2023-07-176-7/+7
| | | | | | | | Task-number: QTBUG-115244 Change-Id: Idc5e7587e0831fb43d42dd0efb99631847fd8d83 Reviewed-by: Kai Köhne <kai.koehne@qt.io> (cherry picked from commit c3530a8832df8f54c8f2af0046327447cae46251) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsQt Submodule Update Bot2023-07-121-3/+3
| | | | | Change-Id: Id57b6252a71a18ec32c5f047b4d024121523a4f9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Doc: Remove \ingroup all-examples command from the docsJaishree Vyas2023-07-121-1/+0
| | | | | | | | Fixes: QTBUG-115044 Change-Id: I83314f3b7955e1ef9c857bcc96c07f6f90b2f875 Reviewed-by: Topi Reiniö <topi.reinio@qt.io> (cherry picked from commit d807b8110b1485f95972947283dc169424d62a6b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsv6.6.0-beta2Qt Submodule Update Bot2023-07-071-3/+3
| | | | | Change-Id: I06ba454b368fef68bc48f5dfec94f4da16918632 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Audio example: Provide valid Info.plist dictionaryDoris Verria2023-07-055-14/+91
| | | | | | | | | | | | Add some missing required keys to the Info.plist dictionary and provide valid values for both qmake and CMake files. Ammends commit 1891ed96bf3bbaeee162a5c073ee14bd811a8ba8. Fixes: QTBUG-114943 Change-Id: I1dcdeeb1be1ad40361c9d834790aabfd9a84725d Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit bee94e4c148444f720d449e55267116bca718ced) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Fix broken snippet referenceAndreas Eliasson2023-07-051-5/+3
| | | | | | | | | Also, remove the floating commands as they seem to have no effect. Change-Id: I414d41046469e36f05eaa0947716e699574e0885 Reviewed-by: Topi Reiniö <topi.reinio@qt.io> (cherry picked from commit d4ff0a9b3a0101d25f88f3db8acc79b06256eb7e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsQt Submodule Update Bot2023-07-031-3/+3
| | | | | Change-Id: I8d99f0fac0106ace7e8db272d757f8a21aba1a1f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix brush setting on scatter series items when selectedMiikka Heikkinen2023-06-221-1/+4
| | | | | | | | | | | The selected color brush got overridden in updateGeometry() if custom colored points were also used. Fixes: QTBUG-113195 Change-Id: I6dc95e008f8b7f7591b8f7d25c7b6fa2f051eb38 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> (cherry picked from commit 96d80c9585dc84f923c57c9e2fe7fc4c998422a7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix assert on vertical color axis label countMiikka Heikkinen2023-06-221-1/+1
| | | | | | | | | | | | | Vertical color axes add additional empty label for some reason, which causes assert down the line when label count doesn't match label item count in VerticalAxis::updateGeometry(). Horizontal color axis doesn't add this extra label, and vertical axis seems to work fine without it, so it seems unnecessary. Change-Id: I681c330839cc2a027311453c03780ee9a4b6b487 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> (cherry picked from commit 6bb8df188f67d42568224458c39cb65e2b63d267) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsQt Submodule Update Bot2023-06-211-3/+3
| | | | | Change-Id: I5dd3eddd12f3ab0572c7e7263861255a6944a820 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsQt Submodule Update Bot2023-06-201-3/+3
| | | | | Change-Id: I763667632c579604dc93277473b5243b78737ab2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Doc: Move juicy content from QML types page to module landing pageAndreas Eliasson2023-06-202-11/+10
| | | | | | | | | | | | | | In fact, the link to the code snippet in the qml types page is broken in dev. Thus, remove the code snippet and image entirely from the qml types page, and add a small code example from the examples dir to the module landing page. Task-number: QTBUG-114080 Change-Id: I468f73a8f3cd8decf0cd07af06b4dfc49fe4471b Reviewed-by: Safiyyah Moosa <safiyyah.moosa@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io> (cherry picked from commit 4c07efba092aa75ca8c1ed54c79c1f4e1dac35b4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Fix broken links in Qt ChartsAndreas Eliasson2023-06-206-11/+11
| | | | | | | | | | | Still a few links that are broken in dev due to recent changes to the examples. Change-Id: I6617b9bbd698aea8c88ac992d82e7a00813a39ca Reviewed-by: Safiyyah Moosa <safiyyah.moosa@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io> (cherry picked from commit 0c2d91205d15a9e3eb0565e56e346481a83d34d5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Docs: Fix Charts API Docs Broken LinksNicholas Bennett2023-06-1727-47/+40
| | | | | | | | | | Removed some links, mostly pointed to the new collated examples. Fixes: QTBUG-114221 Change-Id: Idac312fb819e7a3bbb0fb2aced7f56f5f90db1c1 Reviewed-by: Paul Wicking <paul.wicking@qt.io> (cherry picked from commit 83b2c1f09efecc127eabfb4923e34d93437a2758) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Docs: Update documentation for Qt Charts QML GalleryNicholas Bennett2023-06-1614-214/+230
| | | | | | | | | | | | Relocated documentation to the example folder, updated it to reflect the current application, and fixed broken snippets. Fixed the highlighted examples in qdocconf, this should correct the examples manifest file. Change-Id: I0c6e1e31d148079ce1977277c702cee6d434021b Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> (cherry picked from commit 227c44e5afaa6427a01310874a70bcfe67edd103) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsQt Submodule Update Bot2023-06-151-3/+3
| | | | | Change-Id: I64f49652de3590ddb2f22b289c1df96679f75dd0 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Docs: Rework example documentation into charts widget gallery exampleNicholas Bennett2023-06-1545-725/+457
| | | | | | | | | | | | | | | Removed example commands, fixed snippets to point to new locations, added page commands that have the existing html address and added \ingroup commands to create a table that points to the new pages. Removed examples documentation with no code walk-through. Move example documentation source files to example folder. Fixes: QTBUG-114221 Change-Id: I7ab3b56457df4d33b52be6fd0022e7a92809d82c Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> (cherry picked from commit 5852d85f2743c62f9d79c17043b9b48826f5ffc3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Rename gallery and qmlgallery examples as they are too genericv6.6.0-beta1Miikka Heikkinen2023-06-09163-25/+25
| | | | | | | | | | | Gallery name conflicted with widgets example of same name. New names are chartsgallery and qmlchartsgallery. Fixes: QTBUG-114408 Change-Id: Iee9fdfa1f685685a4118fb9d401c1e53147546cb Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> (cherry picked from commit 2ae46ef08f6a10a0d44557bb592db06be667f2bb) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsQt Submodule Update Bot2023-06-081-3/+3
| | | | | Change-Id: I3e6b6c51d673be5d6a36ab3a8231ffd04baa3f0d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Remove conanfile.pyTor Arne Vestbø2023-06-071-57/+0
| | | | | | | | | | The conan experiment has ended, and the file is only bitrotting nowadays. Change-Id: I9a74328ba460387f1d4eef97d60982026aa6a280 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 3828bb5805bd8e08f001464d72a191baf004b902) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtchartsQt Submodule Update Bot2023-06-071-3/+3
| | | | | Change-Id: If105314e3a35f861739bda2249cb2ce049d2983b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Remove the manual undef of the min/max macros, or def NOMINMAXAmir Masoud Abdol2023-06-061-9/+0
| | | | | | | | | | | We now add NOMINMAX to PlatformCommonInternal target which will be linked to everything else, so min/max will not be defined upon the inclusion of `windows.h`, or other headers. Change-Id: I5d08d8c60e8dc3cb007d67e415f06b0b9f7112b9 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> (cherry picked from commit dffdbfee0ca6880bbc7e116342f0f29a67f5453a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Revamp examplesMiikka Heikkinen2023-06-01389-8252/+5647
| | | | | | | | | | | | | | | | | | | | | | | Separate gallery example was created for widget and qml examples and most example code was moved under those two gallery examples. Examples left outside galleries for various reasons: - audio: Requires multimedia, which is an optional addon - openglseries: Requires OpenGL backend - qmloscilloscope: Complicated hybrid C++/QML example - qmlweather: Uses optional command line parameter - zoomlinechart: Uses gestures, which require grabbing main window Cleaned up the code of the remaining examples to same standard as galleries. Examples documentation will be updated in a separate commit. Task-number: QTBUG-94181 Task-number: QTBUG-111053 Task-number: QTBUG-113655 Change-Id: I6a98a4386364fcb2530e2667aea95760e6ff2983 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2023-06-011-3/+3
| | | | | Change-Id: I57f97db5c3496978f964163540066ad7d99848a9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add the use of the qt_internal_project_setup functionAlexey Edelev2023-05-311-0/+1
| | | | | | | | | The function sets the required CMake variables and policies. Pick-to: 6.5 Task-number: QTBUG-112685 Change-Id: I6919ce5e5c31e55533911fbf58cf000ace69ada8 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2023-05-291-3/+3
| | | | | Change-Id: I30a479df7d539676bbd5d783ea7e62ebee89751d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>