summaryrefslogtreecommitdiffstats
path: root/examples/positioning/weatherinfo/WeatherInfo.qml
Commit message (Collapse)AuthorAgeFilesLines
* Fix a qmllint warning in the weatherinfo exampleMatthias Rauter2024-02-131-1/+1
| | | | | | | Change-Id: I4e3ea0c588783439b8979bc52043c46bb8ac472a Reviewed-by: Alex Blasche <alexander.blasche@qt.io> (cherry picked from commit 49bdf739be79c6dd489f09fa01a6a88dc9a8a4e3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Refresh weatherinfo exampleMatthias Rauter2024-02-131-48/+136
| | | | | | | | | | | Design: Rayam Pinto. Also fixed a bug where the forecast always sunny weather. Fixes: QTBUG-119741 Change-Id: I76606d4762419394d6ba71778b43dc58a47e3be3 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> (cherry picked from commit d590d0c1e2d4946e790a2c13ca3fc160da736175)
* Address one qmllint warning in weatherinfo exampleJuha Vuolle2023-02-081-4/+4
| | | | | | | | | | | According to PropertyChanges documentation using the id is preferred, and using the "target" is (mostly) for Qt 5 compatibility. Amends: 2fa47f02d793252f38d26256586a2bc1a8bca67e Pick-to: 6.5 Change-Id: I6ba4dd21c43f5ec2952fe32d4eee609dd935a567 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Refactor weatherinfo exampleIvan Solovev2023-02-021-0/+166
* Use versionless imports in QML * Use QQmlApplicationEngine::loadFromModule() to start the app * Update CMakeLists.txt to use qt_add_qml_module() properly * Update weatherinfo.pro to generate resources properly * Use pointer-to-member-function syntax for signal/slot connections * Fix includes * Update documentation * Fix qmllint warnings The user-facing strings are not wrapped into tr(), because the weather description received from the weather provides is always in English, so it does not make sense to have a partially-translated application. Fixes: QTBUG-110414 Pick-to: 6.5 Change-Id: I1debae7cdad59ee52de80a13c5abaab34b748c4b Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>