summaryrefslogtreecommitdiffstats
path: root/src/datavisualizationqml
Commit message (Collapse)AuthorAgeFilesLines
* Use SPDX license identifiersLucie Gérard2022-06-1331-868/+62
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I3b3112f5a36673b90fff0010f973d020886cf08d Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Remove clash with QmlModels QAbstractItemModel foreign typeAlexandru Croitor2022-04-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Both define a struct called QAbstractItemModelForeign. This led to a linking duplicate symbol issue with static Qt libraries: duplicate symbol 'QAbstractItemModelForeign::staticMetaObject' in: libQt6DataVisualizationQml_debug.a(mocs_compilation.cpp.o) lib/libQt6QmlModels_debug.a(mocs_compilation.cpp.o) Add a DataVis infix to the foreign types created by the module, so they don't clash with the QmlModels ones. Amends 8691caff2b685aba4b1e83292de6c4d34775ec0b QmlModels type was added in 528547f5d9d6929f41c94e11591dae36f2794ba2 Pick-to: 6.3 Task-number: QTBUG-102256 Change-Id: I0134ffb7da9e97ff347991a144b5297643aa4c0c Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Sami Varanka <sami.varanka@qt.io>
* Make sure all private headers include at least one otherThiago Macieira2022-03-082-1/+3
| | | | | | | | | | See script in qtbase/util/includeprivate for the rules. Since these files are being touched anyway, I also ran the updatecopyright.pl script too. Change-Id: Ib056b47dde3341ef9a52ffff13ef677e471674b6 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* CMake: Record package dependency on DataVisualizationPrivateAlexandru Croitor2022-03-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | The build system only records dependencies on module packages when they start with the Qt:: prefix. Do that for DataVisualizationPrivate. This fixes the warning / error: Found package configuration file: Qt6DataVisualizationQml/Qt6DataVisualizationQmlConfig.cmake but it set Qt6DataVisualizationQml_FOUND to FALSE so package "Qt6DataVisualizationQml" is considered to be NOT FOUND. Reason given by package: The following imported targets are referenced, but are missing: Qt6::DataVisualizationPrivate Amends 8691caff2b685aba4b1e83292de6c4d34775ec0b Pick-to: 6.3 Fixes: QTBUG-99724 Change-Id: I92a280121a0584bc1718237e8965a2b5dd0ba774 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Do not use PUBLIC_LIBRARIES in qml moduleKai Köhne2021-11-021-1/+1
| | | | | | | | Fixes: QTBUG-97931 Pick-to: 6.2 Change-Id: I94cb6076ff5ce23240be2a5f04325dc724a55707 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Add row colors for Bar3DSeriesSami Varanka2021-10-082-1/+119
| | | | | | | | | | | | | Added rowColors property for Bar3DSeries. The property can be used draw the individual rows in the series in different colors. Autotests and a manualtest for the property were added also. Fixes: QTBUG-96682 Change-Id: I5c4f778189d079206500a9289490792584eab2b9 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Add hasSeries method to Abstract3D graphSami Varanka2021-09-242-0/+7
| | | | | | | | | | | | | Added a hasSeries method to Abstract3Dgraph. The method can be used to check whether a series has already been added to the graph. In addition, modified cpp and qml autotests to test the added method. Fixes: QTBUG-96683 Change-Id: I91f70ca15b6c5fbaa7691cd17bbfc2ef460c3d37 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix: change signals to take values by const refSami Varanka2021-09-025-8/+8
| | | | | | | | | | | Changed signals in declaratives to take their arguments as const ref when suitable. Pick-to: 6.1 6.2 Fixes: QTBUG-95941 Change-Id: I3d582422793ee2bfb4cb5251dcacd55d3d3acca9 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Add: Margin between series columns in Bars3DSami Varanka2021-08-242-2/+20
| | | | | | | | | | | | | | Added a new property to Bars3D. The property controls the margin between the columns of series. It can be used to show bars belonging to same column, but different series side by side. Also added autotest for qml and cpp. Fixes: QTBUG-69036 Change-Id: I3c353e9097a8be8cafc05f8f5120e4266baa4a5c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix: Rotate and zoom don't work on androidSami Varanka2021-08-041-0/+3
| | | | | | | | | | | | | On touch controlled platforms, the AbstractDeclarative didn't get any touchevents. Fixed this by setting acceptTouchEvents to true in AbstractDeclarative constructor. Pick-to: 6.1 6.2 Fixes: QTBUG-94364 Change-Id: I072be80a942afc71e86e5c352d078a90baaa066c Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Split other resources from QML_FILESUlf Hermann2021-06-301-0/+5
| | | | | | | | | As we have the RESOURCES argument to qt_add_qml_module now, we can as well use it. Pick-to: 6.2 Change-Id: I51311bb73bd200eecacf0d9e5e9bb8a2c7e60232 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Encapsulate raw string with QLatin1StringKai Köhne2021-06-221-1/+1
| | | | | | | | | Fixes warning C4996: 'QString::operator ==': Use fromUtf8, QStringLiteral, or QLatin1String Pick-to: 5.15 6.2 Change-Id: I54fc1a85fa7a91806c9f8026a7258e80c944cbdf Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Modernize and update to latest CMake APIUlf Hermann2021-06-1139-0/+6244
Use declarative registration for QML types, and separate the backing library from the plugin. Also, bump the revision numbers to account for Qt6 and drop the "2" from the source directory name. Change-Id: Ib48f90ad32a3624e7c31f1d2af9fcd92f069ee7f Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>