qmatrix4x4.h will lose its qquaternion.h include, so include
qquaternion.h explicitly in all files that mention 'QQuaternion',
unless, for a foo.cpp, the own foo.h has already included it.
Also add forward declarations, where needed.
Amends the start of this module's history.
Pick-to: 6.8
Change-Id: I605bf742be5bb92a676704f12d738d241bd9b0da
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit 6a44c5fe57)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit e23fb8de70)
reasoning: we are reading a text file from disk without doing any sanity checks
Task-number: QTBUG-127255
Pick-to: 6.8
Change-Id: Ie911841541c7423b039a733091eaa65d21810b16
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit 2ffc84aea4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
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.
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>
(cherry picked from commit 772873717a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
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>
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>
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>
Unify docs for QML properties \qmlsignal use.
Signals for {propertyName}Changed should be documented.
Move qml docs to proper source files.
Task-number: QTBUG-123522
Pick-to: 6.8
Change-Id: I47f34d10dc6bbf46d3c9712cee5d27aa5968a598
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
The naming of window/background/plotAreaBackground
created a couple of wrong behaviors in the examples.
Change-Id: I9932962e2567823ec72178ab2f5d4a70251ea299
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
- Remove duplicate entries for source directories from
qtgraphs.qdocconf.
- Qualify \snippet paths with '2d' or '3d'.
- Add correct examples.url to get automatic linking to example
projects in code.qt.io.
Pick-to: 6.7
Change-Id: I15ebf35b9e8ee4f6ff9dcbcfad3d11b37fb9a608
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
According to QUIP-18 [1], all example and snippet
files should be
LicenseRef-Qt-Commercial OR BSD-3-Clause
[1]: https://contribute.qt-project.org/quips/18
Pick-to: 6.7
Task-number: QTBUG-121787
Change-Id: I7c56c6ea4a37ba258008c395d1e637e381d34e7f
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
- Minor grammars have been fixed.
- Clang-format has been applied to the required lines.
- Changes have been made to the places where mentioned about proxy-series-data relationship.
Task-number: QTBUG-112471
Change-Id: I4ab9826340220f7ee7959b733e0c6358c5d9d7ec
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Allows the signal to be connected to for custom input handling
Fixes: QTBUG-122428
Change-Id: Ide9875454f9fee4431ed0fc8036b6cf967a01b94
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Dilek Akcay <dilek.akcay@qt.io>
'stateChanged' is deprecated: Use checkStateChanged() instead
:40:19: note: 'stateChanged' has been explicitly marked deprecated here
Change-Id: Ia5c56ede77277cf99863675f50652bcf5dfa6716
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Doing this removes the need to add setting the resize mode
on application code.
Fixes: QTBUG-121998
Pick-to: 6.6 6.7
Change-Id: I6545913cc1e8ebf9713f0244a6892b7d5a019a49
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
There are updates on APIs and this should be also
updated to document which can provide proper link
Fixes: QTBUG-121400
Change-Id: I75676182360013ec4745baead65d43679e69555c
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Documentation for 2D and 3D is mixed in places. Reorganize docs to
do a clean separation between 2D and 3D docs in the folder structure.
Pick-to: 6.7
Change-Id: Idf567c01c1d3967815c534486b132bb55285263e
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Dilek Akcay <dilek.akcay@qt.io>
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
The previoud input handlers have complicated architecture
to handle various types of inputs and also due to the previous
graphs' architecture.
This introduces a new approach which uses the quick handlers
for any types of input and also uses signal-slot based event
handling instead of setting custom input handlers.
Fixes: QTBUG-114451
Change-Id: I981ac8042fa43d20581605f4c42b25e9d0aa465d
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
qdoc expects a common installation directory for all examples in a
documentation project.
Fixes: QTBUG-120562
Pick-to: 6.7
Change-Id: Iafcc3b1867e62179aabe991e6d4013dafaf61678
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>