Commit Graph

29 Commits

Author SHA1 Message Date
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
Dilek Akcay 98d5b4ebfd Change SelectionFlag enum to enum class
Task-number: QTBUG-125365
Change-Id: Id890ab19b0126f503824778c06a506dfb706c7b4
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2024-05-30 09:51:22 +00: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
Dilek Akcay d03e34fc6d Fix some manual test compilation warnings
Change-Id: I0c79e6e2ada0c8e8d7d4c6c777c06fb4c9a4ade9
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2024-05-28 10:29:34 +00: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
Kwanghyo Park 79b3a6a6ca Fix compile errors for ios build
There are some type conversion issues on ios build
to be fixed by this patch

Change-Id: Idce02b43f1689900ff773af2bff8779ee7410591
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
2024-05-20 16:27:16 +03:00
Sakaria Pouke c021676343 Support offsetting title position
Fixes: QTBUG-110161
Change-Id: I5246656dcc93345f3bb5af875ed17de8a9e03d23
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2024-05-02 11:26:37 +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
Dilek Akcay 670e85a477 Remove data members from proxy in scatter
Task-number: QTBUG-117226
Change-Id: Iae059d420b04383fb039f90cf8ce28b0bd032a6c
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2024-01-29 12:18:52 +00: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
Sami Varanka f40f762d53 Add possibility to modify axis segment count in scattertest
Task-number: QTBUG-112646
Change-Id: Ib71e89fa8235773d0c50572dab61575242e757a8
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2023-12-01 08:03:07 +02:00
Sami Varanka b17445d491 Fix ambiguous renderToImage API
Removed renderToImage overload taking a fileName as an argument. Users
can use only renderToImage which returns QQuickItemGrabResult. The
QQuickItemGrabResult result belongs to ready-made image capture
infrastructure.

Fixes: QTBUG-118554
Change-Id: If429bf2a6d2dbebcfa2c1495b66552facf4dbff0
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Dilek Akcay <dilek.akcay@qt.io>
2023-11-01 12:27:04 +02:00
Tomi Korpipaa d41e32d4c6 Remove obsolete 'Static' optimization
Fixes: QTBUG-118590
Change-Id: I14149f06ade0ba841296694af50ba44706659887
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2023-10-30 14:45:01 +03:00
Sami Varanka 14296a5c2f Add renderToImage functionality
Added renderToImage functionality to QAbstract3DGraph. It uses
the existing grabToImage functionality from QQuickItem. In addition,
modified the scattertest to use the renderToImage.

Task-number: QTBUG-111712
Change-Id: I1414473e97e8e6205f32d34cc9aa5258fab852c9
Reviewed-by: Dilek Akcay <dilek.akcay@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
2023-10-18 09:08:32 +03:00
Sami Varanka 03cb73fe89 Change data api for scatter graph
Task-number: QTBUG-114091
Change-Id: Iaf5626793680157d8ebae8dae7bca7c35b262bcb
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Reviewed-by: Dilek Akcay <dilek.akcay@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
2023-09-29 12:33:18 +03:00
Tomi Korpipaa eb3de67c9b Change CameraPreset enum to enum class
Fixes: QTBUG-114103
Change-Id: I1e36813d6d643b269f024a2b58871e04b65b779d
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Reviewed-by: Dilek Akcay <dilek.akcay@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2023-09-19 10:05:28 +03:00
Kwanghyo Park e5cad9dab0 Clean up Q3DCamera
Cleaning up the redundant Q3DCamera class

Task-number: QTBUG-114196
Change-Id: Ic996ad101c5dddec919de9f56b99b39e54516045
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
2023-09-15 18:03:03 +03:00
Sami Varanka 3f8fec8234 port manual scattertest away from foreach
All cases are trivial since the methods
used to obtain the iterated list
return a new list.

Task-number: QTBUG-115797
Change-Id: Id4e12ef2a5473c4792c16280a2cf4c1c2085e0a2
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2023-09-13 09:01:40 +03:00
Tomi Korpipaa 566d44d3aa Change Theme enum to enum class
Remove ThemeDigia at the same time, as that is a remnant
from old times we were still a part of Digia.

Task-number: QTBUG-114103
Change-Id: I37380274b349831134aacfdb295aa7eadd85880d
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
2023-09-06 06:49:51 +03:00
Tomi Korpipaa d33a8b7d96 Change ColorStyle enum to enum class
Task-number: QTBUG-114103
Change-Id: I94de9c51db7e2c1353099ed33f8a01cc93546fad
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
2023-09-05 13:38:29 +03:00
Tomi Korpipaa 7908fd8cec Change OptimizationHint enum to enum class
Task-number: QTBUG-114103
Change-Id: I0e98a0bb71d81c6f93578f6a3e8c19b4d99a9c6d
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
2023-09-05 13:37:43 +03:00
Tomi Korpipaa 7d9d6716cc Change ShadowQuality enum to enum class
Task-number: QTBUG-114103
Change-Id: I457c699f8596416392fa0cc1885fbee29ea1367b
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
2023-09-05 06:45:29 +03:00
Tomi Korpipaa 61715d17ce Change Mesh enum to enum class
Task-number: QTBUG-114103
Change-Id: I92e43219002849999682bd091e91918113b58fa2
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
2023-09-04 14:07:09 +03:00
Tomi Korpipaa 068a408dac Replace Q_FLAGS with Q_FLAG or Q_ENUM
The flags that need to be flags were changed from Q_FLAGS
to Q_FLAG, and the one that does not need to be a flag was
changed to Q_ENUM.

Fixes: QTBUG-114092
Change-Id: Ide04199d80dc5e68cf59d3167f33e2678d32f841
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
2023-09-01 13:10:26 +03:00
Marc Mutz a52f35e5b1 Mark the module as free of Q_FOREACH, except where it isn't
The density of Q_FOREACH uses is high here, too high for this author,
unfamiliar with this module, to tackle in a short amount of time. But
they're concentrated in just a few TUs, so pick a different strategy:

Mark the whole module with QT_NO_FOREACH, to prevent new uses from
creeping in, and whitelist the affected TUs by #undef'ing
QT_NO_FOREACH locally, at the top of each file. For TUs that are part
of a larger executable, this requires these files to be compiled
separately, so add them to NO_PCH_SOURCES (which implies
NO_UNITY_BUILD_SOURCES, too). Created QTBUG-115797 to keep track of
this.

Task-number: QTBUG-115797
Change-Id: If97ca6e164759a413dce8bcc72ab3d3a3b19b017
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
2023-08-15 13:10:35 +00:00
Tomi Korpipaa 7b82f27425 Reorganize optimizationHints
Make previous default mode the legacy mode, instanced the default,
and leave room for static mode.

Task-number: QTBUG-112445
Change-Id: Ib3f74e9c74e6570f2d01d75b257392aba5089c54
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Reviewed-by: Dilek Akcay <dilek.akcay@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2023-04-24 13:47:53 +03:00
Tomi Korpipaa 39ff5d93ac Clean up fps measurement code
Also fix the QML example using fps measurement, and
add fps debug message to a widget manual test.

Task-number: QTBUG-112389
Change-Id: I537e16b02e00f3eeffb3161ad74e250767d0ba28
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2023-03-29 15:36:28 +03:00
Jukka Jokiniva 8d18b56183 Initial commit 2023-03-02 15:45:23 +02:00