Commit Graph

16 Commits

Author SHA1 Message Date
Marc Mutz cfe277399d Include what you use: qquaternion.h
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)
2025-07-14 23:56:37 +00:00
Friedemann Kleint ed3893c5b1 widgetgraphgallery: Fix some clang-tidy warnings
Change-Id: I180ec5481b1eafc8a537f7b37cbea0567a2bbe52
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit 1467296bfa)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-05-13 10:35:06 +00:00
Tomi Korpipaa 9d6edfb25b Fix scaling of custom objects in widgetgraphgallery example
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>
2025-02-14 09:55:16 +00:00
Sami Varanka 7569772b09 Rename labelAutoRotation to labelAutoAngle
Pick-to: 6.8
Task-number: QTBUG-125364
Change-Id: I74c9c556708616aba45beeb9d5d4a356bb391198
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2024-07-31 09:15:28 +03:00
Dilek Akcay c86ee31bf3 Add an enum class for shading type in Surface3D
Task-number: QTBUG-126146
Pick-to: 6.8
Change-Id: Ide9bd731f348fb83cb10863efc4aa25484d9fac0
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2024-07-15 15:46:48 +03:00
Dilek Akcay dfd54c826c Change QGraphs3D namespace name to QtGraphs3D
Task-number: QTBUG-125886
Pick-to: 6.8
Change-Id: Ifcde54306e518c352d9b354c9bfe92c52c0bb0e3
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2024-06-19 14:09:12 +00:00
Sami Varanka 3e570bf59d Use composition with QQuickWidget
Pick-to: 6.8
Task-number: QTBUG-125771
Change-Id: Id7e5a0b730f47d2a38916c52cd3ab0a0a453c0b8
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2024-06-13 10:29:48 +02:00
Dilek Akcay 0c2ca80e6a Change 'enabled' properties to visible in GraphsTheme
Task-number: QTBUG-125377
Change-Id: I3e7ad9ec44e58af221b94cbe46186b92c0ae5a63
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2024-05-31 10:22:00 +03:00
Kwanghyo Park 752dc742c8 Fix dragging event on widget graph gallery example
Fixes: QTBUG-125855
Change-Id: Ia6df6f72566a2ad297d5036c8b9ea67cb3bbc7a5
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2024-05-29 08:52:39 +03:00
Sami Varanka d4e5e224d1 Move widgets to another module
Fixes: QTBUG-125719
Change-Id: Ieeab2e64d0d2a3a8d3969df5384b7ddd0fd180b7
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
2024-05-28 18:33:49 +03:00
Sami Varanka aae5e99117 Move enums away from QAbstract3DGraph
Fixes: QTBUG-125409
Change-Id: Ide84873da6fe4f59399c8c5f25416db5ae547620
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
2024-05-22 19:02:19 +03:00
Tomi Korpipaa f2dbec757a Re-theme Graph Gallery example
Task-number: QTBUG-124883
Change-Id: I368c9d569748e1a06c17cf19ee114ca6a8665b43
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Reviewed-by: Dilek Akcay <dilek.akcay@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2024-05-02 12:22:51 +03:00
Kwanghyo Park c8be94138e Introduce integrated theme for graphs
Task-number: QTBUG-123223
Task-number: QTBUG-123461
Task-number: QTBUG-124837
Task-number: QTBUG-124836
Change-Id: Iaa5ab35a0707fc63329b07f10a203fc63e033f0d
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2024-04-30 08:15:46 +03:00
Sakaria Pouke 56acb72aaa Fix topography example zooming
Fixes: QTBUG-123371
Change-Id: I08a89414eb146292197e9d71166ce320a1dca328
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Dilek Akcay <dilek.akcay@qt.io>
2024-04-03 13:16:39 +03:00
Kwanghyo Park 58780ff563 Revamp InputHandlers
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>
2024-01-22 06:52:41 +02:00
Kai Köhne 60542fd8ee Re-establish common examples/graphs dir
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>
2024-01-09 07:10:03 +01:00