Commit Graph

297 Commits

Author SHA1 Message Date
Matthias Rauter c75b665d8a Indicate SSL support in the colorpalette UI
Ammends 7a62659880

Pick-to: 6.7
Change-Id: I9b51af41f752ae5da826ae1c98ae7cb2bf20b3aa
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
2024-02-19 10:10:37 +01:00
Mats Honkamaa 55f6970464 Doc: Update OSM example docs
Minor updates to the OSM example documentation

Pick-to: 6.7
Change-Id: I3a903246e9660abde552ac51628372265a4cc10e
Reviewed-by: Sadegh Taghavi <sadegh.taghavi@qt.io>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Esa Törmänen <esa.tormanen@qt.io>
2024-02-16 12:14:20 +02:00
Axel Spoerl 54d105b901 Don't build documentviewer demo on Android
The demo crashes on Android with a nullptr dereference, because it fails
to locate any plugins. The reason is currently under investigation, and
probably related to an issue in the Android content file.

Prevent documentviewer from being built on Android.

Task-number: QTBUG-122041
Pick-to: 6.7
Change-Id: I810bf9787df4d4105c5d11e36f27d0bbe61b8d3d
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2024-02-16 06:34:14 +01:00
Axel Spoerl 1857297f60 Documentviewer demo: Disconnect print related connections
The documentviewer demo re-uses its viewer plugins. It connects its
print button to the viewers' print functionalities, without keeping
track of the connections. That leads to double connects and crashes.

Store relevant connections in an array and disconnect them.

Fixes: QTBUG-121940
Pick-to: 6.7
Change-Id: Ifcef2097d874d6d37c7891bafc1805264282e984
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2024-02-15 09:39:58 +01:00
Nicholas Bennett 68049fd0db Demos: Add iOS app icon to coffee application example
Added the required folder structure, and files. Adjusted the project
CMake file.

Fixes: QTBUG-118700
Pick-to: 6.7
Change-Id: I09d6f45cbb10928d3e2bcf1b6828c1cdc5fe379a
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
2024-02-14 19:49:43 +00:00
Juha Vuolle 02885ea89d Fix type related space character usage in colorpaletteclient example
Change '* ' into ' *', and '& ' into ' &'

Pick-to: 6.7
Change-Id: I29223b069d92f67195405fa88795469a6cc767a0
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2024-02-14 14:05:52 +02:00
Juha Vuolle 6a6212a652 Change colorpaletteclient demo to use REST helpers
Pick-to: 6.7
Fixes: QTBUG-114649
Change-Id: I26723e51951bf8285c0bcc30ff3bc6f4970c1e8b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2024-02-14 14:05:42 +02:00
Konsta Alajärvi 0cac392e36 Separate UI from business logic on re-designed Coffee Machine example
Added .ui.qml counterpart files for components that needed separation
between the UI and business logic.

Rebased to dev to get the newest changes

Added Cup snippet tags to ProgressForm.ui.qml

Added AbstractButton snippet tags to CoffeeCardForm.ui.qml

Fix ambiguous id's and corresponding property aliases in CoffeeCardForm.ui.qml

Added qdoc snippet tags to ChoosingCoffeeForm.ui.qml

Fixed incorrect file paths in snippet tags in coffee.qdoc

Moved transitions from ProgressForm.ui.qml to Progress.qml
as they did not work properly from there to make the coffee cup
animation work properly.

Added property alias "contentItem" to ProgressForm.ui.qml
to access it's properties from Progress.qml to make the progress bar
animation work properly.

Fixed x coordinates in custom sliders so that the slider handle
will not go over the slider bar and become unresponsive.

Removed "brewTime" property int from ProgressForm.ui.qml as it was
not needed there.

* Fixed x coordinate in Sliders to work like they are described
in official documentation.

* Created property int in Progress.qml to better describe cup animation
velocity factor.

Fixes: QTBUG-120280
Pick-to: 6.6 6.7
Change-Id: I3ed0e1c6777674e2d9502aab1e5c670b6099f60a
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
2024-02-08 10:18:18 +02:00
Nicholas Bennett 5fcd391653 Add app icons for Android to Coffee Machine
Added adaptable icon and monochrome icon.

Task-number: QTBUG-118700
Pick-to: 6.7
Change-Id: Id498546fcbd81202d3d5d53ec3768cf73f41581e
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2024-02-07 13:07:28 +00:00
MohammadHossein Qanbari c5fe729e0c Lightning Viewer Example: Remove Qt5Compat Dependency
The ColorOverlay is replaced with IconLabel to remove the dependency on
Qt5Compat.GraphicalEffects.

Fixes: QTBUG-121929
Pick-to: 6.7
Change-Id: I7dc6fd6538a2a1dd3c1e20a4dd401137a9e1030a
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2024-02-07 11:15:31 +01:00
Juha Vuolle 5f69e07142 Address QTP0002 CMake policy warning in colorpaletteclient example
Happens on Android builds

Task-number: QTBUG-115085
Change-Id: Ib8abdf297d5bac5d8bc01b9480f328f569ecc36b
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2024-02-07 11:10:48 +02:00
Juha Vuolle ad5c428718 Make colorpalette's qtexamplestyle qml module accessible on macOS
... by making sure it's properly part of the app bundle.

Task-number: QTBUG-115085
Change-Id: I196d309c9400acb897950dbfb5fe99d9d7f13756
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2024-02-07 11:10:43 +02:00
Matthias Rauter 7a62659880 Refactor GUI for color palette example
Task-number: QTBUG-115085
Change-Id: I35f9e7a26b929353a25bc2959350b161bed5e59b
Reviewed-by: Mate Barany <mate.barany@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2024-02-07 08:12:43 +00:00
Sadegh Taghavi db0658e8ea Add OSM Buildings To the Doc highlights
Change-Id: I707ae2a2bf84604a403c1416d32229a811c94a3c
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
2024-02-06 13:06:09 +02:00
Kai Köhne e6f034d212 Improve StocQt example metadata
Rename to just 'StocQt', as we don't talk about demos
anymore. Also mark example as to be highlighted.

Pick-to: 6.6 6.7
Change-Id: I2b88db8b505ea628702484eaf21e896c2097ed65
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2024-02-02 08:31:31 +01:00
MohammadHossein Qanbari 6cc0edc108 Lightning Viewer Example: Support LocationPermission
If the permission is granted, the user location will be visible and the
map view can be recentered.
Otherwise, if the user has already denied the permission and triggers
any action that needs the permission, a message dialog will notify the
user that the application needs the location permission, and the
permission is needed to be granted and the application needs to be
restarted.

Additionally, the PositionSource is not active when the permission is
not granted, and the distance and time layer is not able to show the
information until the user allows the application to use the location.

The user's location will be set from QML by PositionSource, then there
is no need to keep the QGeoPositionInfoSource object.

Task-number: QTBUG-121412
Task-number: QTBUG-121123
Pick-to: 6.7
Change-Id: I78856f8cc8d182aa7b02c1ffaba01a8871e0a0c6
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2024-02-01 14:15:21 +01:00
Alexey Edelev 3a3cb92b9b Add the missing check for Qt6::Positioning presence
osmbuildings requires Qt6::Positioning which shouldn't trigger a configure
issue when building qtdoc repo without QtPositioning module. The example
should be skipped instead.

Amends 180704c87c

Change-Id: I74f8010db5b6a1591f04e725a2f0711e5990f066
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2024-01-31 14:37:50 +01:00
Mikko Hallamaa 2b714d357d MediaPlayer example: Fix scrolling of track options
The MediaPlayer demo had an issue in the track options list where nested
scrolling caused some options to be difficult to access.

This is fixed by positioning all track options in a Column instead of a
ListView.

Additionally modified the TracksOptions implicit height binding to size
the component based on the amount of options.

Fixes: QTBUG-119285
Pick-to: 6.7 6.6
Change-Id: Iaa1ed2c370118a5c0119b233a59c7f4d8c0c70eb
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Reviewed-by: Lars Sutterud <lars.sutterud@qt.io>
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
2024-01-31 09:46:07 +01:00
Ed Cooke e847d6565b Correct the calqlatr package name for Android
The format for the package name for Android should follow the file
structure. Therefore, "org.qtproject.example" should be
"org.qtproject.example.calqlatr".

Fixes: QTBUG-121660
Pick-to: 6.6 6.7
Change-Id: Ic3281ec8ab695f5a10c368e736200aed9d9d8d0b
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2024-01-30 15:58:51 +01:00
Sakaria Pouke 41a14b9679 Check for android_openssl in stocQt
Fixes: QTBUG-121524
Pick-to: 6.7 6.6 6.6.2
Change-Id: Ia48eedd665dd57d45b0e515ec18ecb2f95d951ef
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2024-01-29 08:01:34 +02:00
Jonas Karlsson 7b243c46f3 Dice example: fix deprecated warning
"Injection of parameters into signal handlers is deprecated"

Change-Id: I12f6257b4cf2f5b79d9ba7153ad256292eebc0fd
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
2024-01-26 19:57:58 +01:00
MohammadHossein Qanbari c4f90b3df7 Lightning Viewer Example: Add OpenSSL for Android
The android_openssl libraries included.
reference: https://doc.qt.io/qt-6/android-openssl-support.html

Task-number: QTBUG-121123
Pick-to: 6.7
Change-Id: Icf21b4768d74cafe6b9a93e4e18fd4da780bdf14
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
2024-01-26 15:45:05 +01:00
MohammadHossein Qanbari 0f8bf79538 Lightning Viewer Example: Use QML Module and Restructure Project Files
Restructure resource file management by relocating QML and asset files
from the resource files (qrc) to their respective modules within the
application. Moreover, the project has been divided into two distinct
submodules: LightningViewer and LightningViewerStyle.

The LightningViewer module includes the project's sources, QML files,
and assets, used for the model, view, and controller aspects.

On the other hand, the LightningViewerStyle module is dedicated to
defining a custom style generated by a tool. The purpose of separating
style-related files from LightningViewer is to simplify updates by
allowing the style generator tool to only modify contents within the
style subdirectory.

Task-number: QTBUG-121123
Pick-to: 6.7
Change-Id: Ib04fb156bd47b4033526c8eb9b33ccab76ab50e9
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
2024-01-26 14:21:19 +01:00
Samuli Piippo 22315147d0 CMake: fix installation of demos projects
Projects need install instructions to be usable on embedded platforms.
Fix existing instructions to put files into correct places.

Fixes: QTBUG-112024
Pick-to: 6.7
Change-Id: I6a3d84edc1c67281d5497e99144c159faf0f783c
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Kimmo Ollila <kimmo.ollila@qt.io>
2024-01-25 15:13:29 +02:00
Samuli Piippo 6f0c2b21ca CMake: Add components needed by demos
Demos want to use more Qt modules, try to find all of them.

Pick-to: 6.7
Change-Id: I478a8dc7accdadd1c521f50491326e978f644f18
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Kimmo Ollila <kimmo.ollila@qt.io>
2024-01-25 15:13:25 +02:00
Axel Spoerl 85ff73b5ff Documentviewer/Q3DViewer: pass correct bounds argument
displayModel.handleBoundsChanged() didn't take an argument and always
handled the bounds of the display model. If a RuntimeLoader was used,
the object was out of bounds.

Make the function take a bounds argument and pass the right bounds to
be handled.

Task-number: QTBUG-119176
Pick-to: 6.7
Change-Id: I8a9986d9ebea14dea2246f02937fe47bbcf95191
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
2024-01-25 11:00:25 +01:00
Sadegh Taghavi 7675c93ee3 Android OpenSSL support
Add android OpenSSL Libs to cmake

Change-Id: Ie1aa076e35df8380719f878646e489b13bb8d2f8
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
2024-01-25 10:02:53 +02:00
MohammadHossein Qanbari 103e54fe5e Lightning Viewer Example: Improve Updating Distance/Time
There was no need to waste time for calculating the distance and time
of the last strike. The calculation should be considered when there's a
need for it, e.g. when the distance/time layer is visible.

Task-number: QTBUG-121123
Pick-to: 6.7
Change-Id: Ib841502baa5138c91730a308194c6485a28fca1a
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
2024-01-19 11:09:25 +01:00
Kai Köhne 9a61a3a987 Demos: Add dependency info to example metadata
Add metadata about build time / runtime dependencies in the form
of Qt documentation modules. This should allow Qt Creator to hide
examples where needed Qt modules are not installed (because they
are optional in the Qt Online Installer).

Pick-to: 6.7
Task-number: QTBUG-120759
Change-Id: I03d8d75b273fe497803b9af9783b90e397b0638d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-01-19 10:26:22 +01:00
Sadegh Taghavi 180704c87c OSM Buildings Demo
It's a demonstration of using qtQuick3d to load and render big scene

Change-Id: Ie9065bd71f69f622f07c3bf78520cfbea0b2ce8b
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
2024-01-18 15:39:32 +02:00
MohammadHossein Qanbari 3a8e89543c Lightning Viewer Example: Wrong Last Strike Info on User Location Change
Fix a bug in the information of the last strike on the change of the
user's location.

Fixes: QTBUG-121043
Pick-to: 6.7
Change-Id: I2b9af6ad3246e58075ac60ce486299e4b7a62b4e
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2024-01-17 18:56:11 +01:00
MohammadHossein Qanbari e7aa32c8fb Lightning Viewer Example: Avoid Using Heap Memory When Is Not Necessary
Remove the implementation of copy/move constructors/assignments to
follow the rule of zero/five (LastStrikeInfo).

Use std::unique_ptr instead of QScopedPointer.

Remove the copy/move constructors and assignments of some classes
because they are not copyable/movable.

Prefer stack memory over heap memory whenever possible.

Fixes: QTBUG-121018
Pick-to: 6.7
Change-Id: Ie8784a49beeb23d4ccbf4c18a3158ab7b25b5c5b
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
2024-01-17 14:26:40 +01:00
Axel Spoerl a86081100d Revert "Port samegame to qt_add_qml_module"
This reverts commit 8fc3cd6675.

Reason for revert: As opposed to the commit message, this is not a minimal port. It changes the directory structure of the example, by starting to popuplate the previously empty samegame/samgame directory inconsistently. It breaks qtdoc build with examples.

Change-Id: I0749043047b21a34b613f73e36f2ade629e41f8d
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2024-01-17 07:16:10 +00:00
Jaishree Vyas d741f3d9cb Doc: Create separate Graphics Multimedia example categories
Fixes: QTBUG-117884
Pick-to: 6.6 6.7
Change-Id: I52b36360e4967efc6da74972218b7496c7830291
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
2024-01-16 14:40:08 +01:00
Sakaria Pouke 75ed068b04 StocQt minor fixes
Fixes are based on comments in "Overhaul StocQt example" patch

Fixes: QTBUG-120471
Pick-to: 6.7 6.6
Change-Id: I5eae5aa4825f02066fae6430795c87f5ac633d42
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2024-01-16 11:31:54 +02:00
MohammadHossein Qanbari c1962e9196 Lightning Viewer Example: Use chrono for Time Duration + Fix Bug
chrono::duration is used for time duration from the last strike.
Also there was a bug in calculation of the display text of time duration
in DistanceTimeLayer.qml that is fixed in this commit.

Fixes: QTBUG-121011
Fixes: QTBUG-121012
Pick-to: 6.7
Change-Id: I55f253bc7821328762cbff957eb9125c441bca2b
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
2024-01-16 09:36:06 +01:00
Bartlomiej Moskal ffc1984fd3 QDice Example: Add a timer-guard for rolling dices
There is a problem in QQ3DPhysics. onBodyContact may still refer to
already deleted object - which causes the application to crash.
It happens when Accelerometer spam a lot with scene.spawnDice(...)
calls.

To avoid this crash, the timer-guard for rolling dices was added.

Pick-to: 6.7 6.6
Fixes: QTBUG-120364
Change-Id: I3ca3811662fb2400d61cb256c8b34885a6fe028a
Reviewed-by: Jonas Karlsson <jonas.karlsson@qt.io>
2024-01-16 09:06:00 +01:00
Tuukka Turunen 84a7477e2a Add possibility to adjust dice size with a slider
New slider UI controls added to adjust dice size.

Pick-to: 6.7 6.6
Change-Id: Ie01efacff8eae0a33644f943bfd50d2cd258a7b1
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2024-01-12 11:04:10 +01:00
Shawn Rutledge 7690e3909b photosurface example: use correct types for required properties
Pick-to: 6.5 6.6 6.7
Change-Id: Ia1763bbefa6ebc9a4e173859ef279f937ad640c2
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
2024-01-10 10:08:11 -07:00
MohammadHossein Qanbari 3f9efa6140 Lightning Viewer Example: Replace QSharedPointer with LightningItemData
The usage of QSharedPointer is replaced with the LightningItemData as
a value type to avoid heap memory allocation. Using stack-memory is
more efficient than heap-memory allocation for the high-speed arrival
of new lightning data.

Task-number: QTBUG-116750
Pick-to: 6.7
Change-Id: Ica837f5f3c5f24980bb597307c408aaffe3fbd02
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2024-01-10 16:02:48 +01:00
Kai Köhne 625b277c58 Doc: drop 'example' from title of application examples
There is no need to keep the example in the title, see also
https://wiki.qt.io/Qt6/Example-Guideline .

Pick-to: 6.7
Change-Id: If173285c2e0f0ef7d21a113e4e0713aef84511dc
Reviewed-by: Pranta Ghosh Dastider <pranta.dastider@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
2024-01-10 16:02:48 +01:00
Konsta Alajärvi 37ceea97b4 Rename Coffee Machine example QML module and .qrc file
Renamed QML module and .qrc file in Coffee Machine example, because
using same name for application and QML module causes errors.

Fixes: QTBUG-120230
Change-Id: Iacb73681df83236cf01e3bae75da748de4cf4875
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-01-10 17:02:48 +02:00
Konsta Alajärvi 4c3e6e6152 Fix Coffee Machine clipping UI elements on lower resolution displays
Reason for these changes is that it was discovered that some of the
UI elements of the re-designed Coffee Machine example did overflow the
target device display with lower than ~1080x1920 display resolution.

Added states to coffee cards that will scale the cards and their content
down if target device screen resolution is lower than set limit.

Added state to home component where text components will be scaled
down in target device screen resolution is lower than set limit.

Added some colors to Colors.qml to remove hardcoded color values.

Added states to sliders in Settings.qml and in CustomSlider.qml
that will scale them down if target device screen resolution is
lower than set limit.

Scaled the custom buttons heights down a bit throughout the
app to make them fit on screen.

Added state to progress page that will scale the caption text
down if target device screen resotion is lower than set limit
and set minimum width and height to dialog component so that
the text will not overflow its container.

Added states to ready page that will reduce the row spacing of the
grid component and scale the caption font size down if target device
screen resolution is lower than the set limit.

Tested successfully  with Android emulators with screen resolution
ranging from 320x480 to 1440x3120.

Removed multiple property changes regarding text sizes in
Settings.qml and replaced them by binding the text objects
font size to a new property int that will be modified through state.

Added the missing when condition in state change to change
the font size in Setting.qml.

Renamed ambiguous id's

* Removed unused property aliases

* Re-applied missing qdoc snippet tags to Settings.qml which were removed
by mistake. This should fix one of the qdoc warnings in CI.

Fixes: QTBUG-116402
Pick-to: 6.7 6.6
Change-Id: I2524be43f943494f5ab7b2689b222a977996dac6
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
2024-01-10 07:19:54 +00:00
Axel Spoerl 57b2d37b47 Documentviewer: Add q3dviewer as a conditional plugin target
q3dviewer was missing as a plugin target in the example's
CMakeLists.txt.

Pick-to: 6.7 6.6
Change-Id: I1ec6791198551c45cbc1e2efaf4c7d2fd8792bcd
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-01-09 22:56:02 +00:00
Samuli Piippo f80bee1a42 documentviewer: fix deployment of abstractviewer library
Amend ba61af0bf3 and install the
abstractviewer library so that demo works after being deployed.

Pick-to: 6.7 6.6
Change-Id: I481b1d655d5666e11eef4d4aee99359750913750
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2024-01-08 17:14:44 +02:00
MohammadHossein Qanbari 7570109747 Lightning Viewer Example: Improve Warning Message
The warning message is updated to cover the whole conditions.

Fixes: QTBUG-120482
Pick-to: 6.7
Change-Id: Ia11baf481510520dd250412d382616b9b25a8ac0
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2024-01-08 16:14:44 +01:00
Kai Köhne fc73718913 Fix license of car-configurator example in the sources
Examples should be made available under the Commercial/BSD 3 clause license -- see e.g. QUIP-13 for this.

Pick-to: 6.7
Change-Id: Id12f62dc1f63363b8d4ab79ce3ac16d055e44c52
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2023-12-25 11:13:28 +00:00
MohammadHossein Qanbari 60cf689c6a Examples: Add LightningViewer (V1)
Implemented lightning viewer example using a web socket connection to
an AWS gateway for real-time lightning data visualization worldwide.
Supports both landscape and portrait modes for optimal screen
presentation. Added diverse map layers, including live data and
distance-time layers. Added functionality to toggle between different
map types. The lv_style is auto-generated using figma-style-generator
tool based on specified design requirements (see the task description
and comments for more details).

Fixes: QTBUG-116750
Pick-to: 6.7
Change-Id: I2507c9b030cb0c91d1a7cf51267770735a35419b
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-12-23 00:07:03 +01:00
Sakaria Pouke 08d2700a81 Overhaul StocQt example
Implementing a new design and implementation for the StocQt example.
The new example uses Qt's REST API and json parser to read live stock
data.

Fixes: QTBUG-116593
Fixes: QTBUG-116594
Pick-to: 6.7
Change-Id: I2b491673bd7c9acb7812f88c508f42ad9cc9f869
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-12-22 20:40:50 +01:00
Nicholas Bennett 39074ca944 Fix menu icon on Android, fix initial msg not wrapping on small screens
The menu button icon did not appear on Android with the text method, so
added an icon svg to use on all platforms.

The initial label pop up was not wrapping on small screens so added a
height, modified properties to keep the original text size but wrap the
text.

Fixes: QAA-2183
Pick-to: 6.6 6.7
Change-Id: I2265e7558dfec839530b5f9b6a7a4129d7b081b2
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
2023-12-22 12:22:52 +02:00