summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/heartrate-game/SplashScreen.qml
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2023-11-17 15:49:14 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-12-21 14:58:07 +0000
commitc3f69a2da4ee563f056eb0da52f0e8ae75a858db (patch)
treefc5a3d388f141778ce7586bcc43cbcc142ae2f18 /examples/bluetooth/heartrate-game/SplashScreen.qml
parent0e8bd451adef1ce67b1260fc0062c5a7e0c2ce3e (diff)
Update BTLE Heartrate Game example UI
Improve the example according to the new design: * Apply new colors * Rework layouts to match the updated design * Use icons in the notification/error box * Apply new font sizes * Update screenshots in the docs, convert them to webp so that they do not take too much space. * Disable the Start button on the Measure tab if the device is not connected, or if the proper service is not discovered. * As a drive-by - fix the wording in the docs. Fixes: QTBUG-118905 Pick-to: 6.6 Change-Id: I90669ea05c5c6b76eb711862c494f1180dbd8dd7 Reviewed-by: Juha Vuolle <juha.vuolle@qt.io> (cherry picked from commit 375e0e2c74adad9b609f5e48dffb88b07158bbfe) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/bluetooth/heartrate-game/SplashScreen.qml')
-rw-r--r--examples/bluetooth/heartrate-game/SplashScreen.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bluetooth/heartrate-game/SplashScreen.qml b/examples/bluetooth/heartrate-game/SplashScreen.qml
index 2f9ac1b3..918319d7 100644
--- a/examples/bluetooth/heartrate-game/SplashScreen.qml
+++ b/examples/bluetooth/heartrate-game/SplashScreen.qml
@@ -23,7 +23,7 @@ Item {
Timer {
id: splashTimer
interval: 1000
- onTriggered: splashIsReady = true
+ onTriggered: root.splashIsReady = true
}
Component.onCompleted: splashTimer.start()