Commit Graph

15 Commits

Author SHA1 Message Date
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 9515142cfb Update widgetgraphgallery and docs
Pick-to: 6.8
Fixes: QTBUG-126830
Change-Id: I1a2e1a157c6243d43fc3d5e5c334e2744671aa1d
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2024-08-08 08:30:34 +03:00
Jere Tuliniemi 81c8f453c3 Change colors when platform color scheme changes
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>
2024-07-26 09:02:54 +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 f51cb5027e Change 'enabled' properties to visible in 3D
Task-number: QTBUG-125377
Pick-to: 6.8
Change-Id: I342bb9e6a125867fb5e2bcc858d5254047a3ac23
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
2024-06-11 09:29:53 +00: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
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 3520a9eea7 Fix examples and manual tests for background toggling
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>
2024-05-14 08:15:58 +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 ddc76bb7ea Add grabChanged signal to 3D graphs
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>
2024-03-11 11:11:32 +02: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