By adding it to the default build flags via .cmake.conf.
This amends commit 7390c505e6.
Task-number: QTBUG-116296
Change-Id: Ie766c862c20824630a62e7e111115c6bea26ea95
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This disables the 3-arg QObject::connect() overload:
QObject::connect(sender, signal, functor)
For details see:
https://lists.qt-project.org/pipermail/development/2023-July/044141.html
No changes were required.
Change-Id: I8605b0927a147c3d9c22c60cc543d0b7af175d02
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
CMakeLists.txt and .cmake files of significant size
(more than 2 lines according to our check in tst_license.pl)
now have the copyright and license header.
Existing copyright statements remain intact
Task-number: QTBUG-88621
Change-Id: I47400c953dbec676442d195cc32aba55c590741e
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
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: Ibb797d52859b5c504f7300f4a5dc956a7b44ac11
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
This auto refactor to remove charts namespace, just use qt one.
[ChangeLog] Use QT_NAMESPACE as other modules.
Change-Id: I7722ed2ff5cd84c594ea96db15e5df50a24f06b4
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Took Q_SIGNALS and Q_SLOTS macros into use where required.
Fixed chartsnamespace.h header for regular builds.
Task-number: QTRD-3609
Change-Id: I4bae1b88829105b60c8c1cf3b2e109da955f2328
Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
The distinction between release and debug dlls for the Charts designer
plugin is done by adding 'd' to the dll name for debug version.
Change-Id: I7f3a52c94360889452e28a639fadab53b784ce60
Task-number: QTRD-1846
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
The includes for the whole project are changed to syntax:
'#include <module/class>
Change-Id: If32f8b6c3f47516ad6bc30ed40789ea9042d5664
Task-number: QTRD-3373
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
Charts repository structure is changed to follow the structure of a
Qt Add-On module. The task includes following changes:
- All macros and definitions named 'commercial' have been renamed.
- Compile errors related to QString and qSort usage have been fixed.
- Old demos are moved under examples. The QML examples now support only
Qt Quick 2.0, the support for Qt Quick 1 is removed.
- The QML examples with multiple views are updated so that they are
usable also with touch devices.
- Unnecessary version checks are removed from examples.
- The build stamp has been removed as it was only meant for Charts
development purposes and it's no longer needed. Also development
build related debug prints are removed as __DATE__ can't be used
for all OS thus it doesn't make much sense.
- Documentation structure has been updated based on the new module
structure. The raw HTML files have been removed. Demos are
combined to examples.
- Unnecessary .qdocinc files are no longer needed. The content is
moved to the corresponding .cpp files.
- The Charts widget designer plugin is updated according to the module
change.
- The test cases updated according to the project structure change.
Tests are added also for version 2.0.
- cmake modules generation is not needed with Qt 5.4 and Qt Charts
so it's disabled.
- The new module name and version are updated to the plugin.qmltypes
file.
Task-number: QTRD-2844, QTRD-3217, QTRD-3218, QTRD-3277, QTRD-3228,
QTRD-2526, QTRD-3233, QTRD-3222
Change-Id: Ib7fb26057cde710ffaf6bc780c8bf52a16f45160
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
- Default value for localizeNumbers is now false, as it would look
weird if numbers were localized in otherwise unlocalized app.
- Added locale property to qml ChartView.
- Added registrations for latest revisions of all QML types for 2.0,
since apparently this is necessary to make them visible when
importing Charts 2.0
Change-Id: I46997b3af4458c6dbf6755a19e01115d5393013a
Reviewed-by: Titta Heikkala <titta.heikkala@digia.com>
This locale is used for localizing the numbers on various labels when
localizeNumbers is set to true. It is also the locale that
QDateTimeAxis labels use for month and day names.
Task-number: QTRD-3179
Change-Id: Ib9a9cad770c5a6890311fe45a1d4cabd5f40aff4
Reviewed-by: Mika Salmela <mika.salmela@digia.com>
When this property is true, the default QLocale is used to convert
various values to strings for series and axis labels instead of
corresponding QString functions, which always use "C" locale.
Task-number: QTRD-3231
Change-Id: I95a936ae6d49c2589a7c53a481fd850c90846ae4
Reviewed-by: Titta Heikkala <titta.heikkala@digia.com>
WinRT is one of those, but you might want to configure Qt
in that way also on other platforms.
Change-Id: I40e5d0b8bc0c347f058d5f30d64ddbf55653f904
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Reviewed-by: Titta Heikkala <titta.heikkala@digia.com>
For line, spline and scatter series it is possible to show the point
values above the point. The format, color and the font of the label can
be set.
For bar series the format and position of the value label can be set.
Task-number: QTRD-2808
Change-Id: I0488d98c4d9060eaa8331e5b3c97dc83d86aeb0c
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
The DeclarativeChart::legend property should be marked as CONSTANT
because the legend can't be changed. This is to avoid unnecessary
message about a dependency to non-NOTIFYable property.
Change-Id: Ib7c832b3fcb034602e4c3271c211ab2fe9cdd076
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Changed set count to property for QBoxPlotSeries.
Task-number: QTRD-2504
Change-Id: Id65e0b2b6e43b3a6330fbb21c66e1cfa4d0db3d2
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
User can set a brush image for AreaSeries, BarSet, BoxPlotSeries,
BoxSet, PieSlice and ScatterSeries by specifying 'brushFilename'.
Task-number: QTRD-2603
Change-Id: Ie4b75cec1f64da513b1b85749c28984cb7f88e38
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
When building statically then static will be set not staticlib, therefore
we need to ensure we check for static in those cases. And also protect
against Mac specific flags when building for iOS.
Task-number: QTRD-3036
Change-Id: Ib2c534974ad9292e3634b8b692344c71e26e56cd
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
It should be possible to set the values for a BarSet also as Qt.point
as documented.
Task-number: QTRD-2437
Change-Id: I1f9eb045b6abc155345cf703854d7d120d8270f8
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Added new property for legend which defines whether the markers in
legend are shown in reverse order or not.
Task-number: QTRD-2512
Change-Id: Ia6e6551be74a183c9f544d7cb9fff679150f4d7e
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Since it relies on QtWidgets for Qt Quick 2 then qmlplugindump is unable
to generate the plugins.qmltypes file on request by Qt Creator. So we
create it ourselves and copy it when installing the qmldir file.
Change-Id: I04370687ad18cd2fc03f65ffdf228800d4f2eaaa
Reviewed-by: Titta Heikkala <titta.heikkala@digia.com>
The paths for qdocinc files and for images has been fixed so that
creating the documentation works also for Mac.
Task-number: QTRD-2492
Change-Id: Ibfefd06dfb4d85bbdb10b400aadda204ad50c21a
Reviewed-by: Mika Salmela <mika.salmela@digia.com>
Visibility attribute is not supported for Android X86. Therefore it's
removed for android.
Replace the slashes for declarative directories to copy files correctly.
Change-Id: I4be8a70cb7ef8f89040e455a61d27c2bb08d0a4d
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
The documentation structure is changed so that it can be generated with
both Qt5 and Qt4.
Also the erroneous VBarModelMapper is removed from VBoxPlotModelMapper
documentation.
Task-number: QTRD-2492, QTRD-2495
Change-Id: I45028915ca55f6ff1170db58518a8f08ac4158fb
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
The documentation was missing remarks of deprecated properties.
A warning of using deprecated property is triggered when the property
in question is accessed therefore the documentation should mention it.
Change-Id: I5efa185fceb85a9375e41297ab18ce002f3239ed
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Added new theme template ChartThemeQt. The colors are the ones
used in official Qt documentation.
Task-number: QTRD-1924
Change-Id: I2bb2d33b0198cad6275244d2e815908a2db033a3
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
The axis is set so that previously attached axes are deleted.
Task-number: QTRD-1936
Change-Id: I4fc486b3f2552eea168ba5fb44c1b82f1c5ebad0
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
No explicit initialization resulted in this sometimes
initializing to true, which caused chart to never draw
in multithreaded rendering environments (linux/mac)
Change-Id: I5c9a4eb54c0a4aef7c1df171aa04d4b8c4c7fe05
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Also fix bounding rect to get rid of some pen width related
drawing artifacts.
Change-Id: Ib498545cecd497d845031a3ccba572a9cba8e91d
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
It looked like the signal was connected to wrong slot. Probably copy&paste
bug.
Change-Id: Ie4887970891f3b902b71fb0b686c4adbbc1d48b1
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
No need to bring these back after release, tasks were created in
JIRA for relevant TODOs.
Change-Id: I4cf5fb09276ee720000329b9ac2a48021cfe0830
Reviewed-by: Mika Salmela <mika.salmela@digia.com>
- Antialiasing should now work with threaded rendering
- Optimize rendering to use old way if single threaded
case is detected.
Change-Id: I6de87cbd04c108eae7ee55c5a0e27dd5fc07db89
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>