Custom object scaling had a bug before 6.9 which made them
2 times too small by default. Adjust scaling in the example
to take that into account.
Pick-to: 6.9
Change-Id: I0b3bfa4fe8606394765372d96d19f4c82e63087e
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Reviewed-by: Niko Korkala <niko.korkala@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Also fixed style customization warnings by switching style to basic instead of using the native one
Task-number: QTBUG-119683
Pick-to: 6.9
Change-Id: I818b37cb9d8f4edfa2d1583f38897c2190a53e0c
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
We're using only one of the values, so they are not needed.
Pick-to: 6.9
Task-number: QTBUG-131427
Change-Id: If39b252c5e63f56b286a9d98ce71856035a67cca
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Shows how to print a graph to a pdf and printer
Fixes: QTBUG-124213
Pick-to: 6.8
Change-Id: I1835b77fc5e80d065e64b69b47002932487dfe68
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Change QSurfaceFormat link to IdealSurfaceFormat.
Pick-to: 6.8
Fixes: QTBUG-127689
Change-Id: Ic9a27fb421e510b51492984dacee2c68eb88919d
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Right now, it shows up in Qt Creator only under 'Other'.
Pick-to: 6.8
Change-Id: Ic594d854dfcc5c93bfbff61cceb4c4fcda86c805
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
Count was mistakenly implemented as an invokable function making
it unusable in QML for binding purposes.
Fixes: QTBUG-129272
Pick-to: 6.8 6.8.0
Change-Id: I9b985d69bebbac33972f42ef2177483e2b0f2b42
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Forcing extra link options with Qt 6.8.0 wasm caused crashes,
possibly due to the emscripten sdk version difference between
Qt 6.7 and Qt 6.8.
Pick-to: 6.8.0 6.8
Fixes: QTBUG-128889
Change-Id: Ica5b7158a52c4bb5049a59063a32bb9386d6d608
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
Note: Currently there's a bug with pie charts. When you remove slices they do not get removed from the draw, see QTBUG-128213
Task-number: QTBUG-124680
Change-Id: Ib0b2eecf01f77a77768d11fe7771e73f78da951b
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Users were still able to try and build widget examples
stand-alone on Android, for instance. Prevent it.
Pick-to: 6.8 6.8.0
Fixes: QTBUG-128799
Change-Id: I398b8c724e038d5142bbd5a3a2aa8c8ead17a1c2
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Documentation for 2D example was not present
Pick-to: 6.8
Task-number: QTBUG-128379
Change-Id: I7b2d19e732d43d4540f283f009ea83123bfc420e
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
QML plugins are missing for static build such as iOS.
Also issues on iOS when using QuickWidget in TabWidget
Pick-to: 6.8
Task-number: QTBUG-125480
Change-Id: I398ff13fab49731bb58d94018bc760f5125a9c66
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
This commit improves the readability, structure, style, and formatting
of the Qt Graphs docs. It also corrects several minor issues and broken
links.
Task-number: QTBUG-127820
Pick-to: 6.8
Change-Id: Ie564fde207f7059f6cd064ab74599aad0753ea6f
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
An example view of a fictional airplane cockpit
Pick-to: 6.8
Task-number: QTBUG-124682
Change-Id: I71fced0221eb85d4261a1c88d89938990b1fabf2
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
Also clean up extra semicolons from functions
Note: This fixes the problem in the linked ticket,
but does not fix the root cause of it. This is why the
ticket is left open.
Pick-to: 6.8
Task-number: QTBUG-127801
Change-Id: I5259ca55162e61ded68d5d3a2544944fb73a3bef
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Fixes the following warnings:
src/common/theme/qgraphstheme.cpp:
(qdoc) warning: Can't link to 'Default Theme'
examples/graphs/3d/equation/doc/src/equation.qdoc:
(qdoc) warning: Can't link to 'ListModel'
(qdoc) warning: Can't link to 'Scatter3DSeries.mesh'
(qdoc) warning: Can't link to 'View3D.importScene'
(qdoc) warning: Can't link to 'View3D.environment'
(qdoc) warning: Can't link to 'ExtendedSceneEnvironment.backgroundMode'
(qdoc) warning: Can't link to 'ExtendedSceneEnvironment.clearColor'
(qdoc) warning: Can't link to 'ExtendedSceneEnvironment.tonemapMode'
(qdoc) warning: Can't link to 'ExtendedSceneEnvironment.glowEnabled'
(qdoc) warning: Can't link to 'ExtendedSceneEnvironment.TonemapModeNone'
src/common/theme/qgraphstheme.cpp:
(qdoc) warning: Can't link to 'QQuickGraphs::theme'
src/graphs2d/qgraphsview.cpp:
(qdoc) warning: Can't link to 'Testbed'
src/graphs3d/doc/src/qtgraphs3d-overview.qdoc:
(qdoc) warning: Can't link to 'How to construct a minimal Q3DBars graph'
(qdoc) warning: Can't link to 'How to construct a minimal Q3DScatter graph'
(qdoc) warning: Can't link to 'How to construct a minimal Q3DSurface graph'
src/graphs3d/engine/q3dscene.cpp:
(qdoc) warning: Can't link to 'QtGraphs3D::SelectionRow'
(qdoc) warning: Can't link to 'QtGraphs3D::SelectionColumn'
src/doc/qtgraphs.qdocconf:
(qdoc) warning: Failed to find
qhp.QtGraphs.subprojects.gettingstarted.indexTitle
'Qt Graphs Getting Started'
Pick-to: 6.8
Change-Id: If43f23dcef00b5fccd9ddd449bb1fcc744e09668
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Add a connection to listen to platform color changes. This is done by
adding an internal color scheme enum that contains Automatic value
in addition to Unknown, Light and Dark. The user can opt in and out
of the automatic behavior by setting the color scheme with the new
enum.
Fixes: QTBUG-125782
Pick-to: 6.8
Change-Id: I21a82269d498b1fc17c675bcedae7fd71bc36e1c
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
Instead of doing it piece by piece, add a evaluator
javascript file that can parse an equation from a string.
Pick-to: 6.8
Task-number: QTBUG-124827
Change-Id: I496ecbfb0976dd7d5b89cf9dffaec85348369191
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
The equation itself still looks bad, we need to
do something about it in a subsequent patch.
Pick-to: 6.8
Task-number: QTBUG-124827
Change-Id: Ifa381e173e7c79a8e469a6ef64934c26b07a6ab3
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Windows Boot2Qt builds fail due to the case insensitivity
of the platform. Rename URIs to remove the problem.
Pick-to: 6.8
Fixes: QTBUG-119273
Change-Id: I8fa5afaddaadc072bea715f534b0e8a405c47acb
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
- Adjust renderers sizes to match the plot area and enable
clipping for them.
- Modify renderers math to match new sizes.
- Remove clipnode as unused.
- Disable GraphsView clipping by default. Users can enable this
easily "clip: true" if they for some reason want it.
- Don't make renderers available into QML as they are private.
- Add checkbox into axis tester to see that switching between
custom and default bars works.
Task-number: QTBUG-127302
Pick-to: 6.8
Change-Id: I8b54c6a684bdb3776c4d2422d9a6dd39743e5caf
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
IconImage is not found anymore in 6.8.0
Pick-to: 6.8
Change-Id: Ie2760aea9e8082a08cda4d1aca6378c0c697b03a
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
This issue also seems to appear for XYSeries in general which is also
fixed in this patch. Also fixed: AreaRenderer does not clear shape when
point is removed and size goes below 2.
Fixes: QTBUG-126875
Pick-to: 6.8
Change-Id: Ie50d114117518c1b769736e55412c61171c42ec7
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
This change also requires the patch in QtDeclarative
Pick-to: 6.8
Task-number: QTBUG-125754
Change-Id: If82a0c30e153ad71bb14839a992c043b31da52d6
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Therer is redandancy to the properties for lines.
So grouped them into grouped property.
Task-number: QTBUG-125378
Change-Id: I06e357375aed2dbb662f76669b3e0f8430a0e48d
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>