example/SplashScreen: Use proper values.

This commit is contained in:
Mentalflow 2025-05-23 00:12:53 +08:00
parent 2afc633bdb
commit 5530b71d6c
Signed by: Mentalflow
GPG Key ID: 5AE68D4401A2EE71
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ import RibbonUI 1.1
RibbonSplashScreen {
id: root
homeUrl: "qrc:/qt/qml/RibbonUIAPP/example.qml"
delayMS: 10000
delayMS: 3000
contentArgs: {
"implicitHeight": 250,
"implicitWidth": 450,
@ -16,7 +16,7 @@ RibbonSplashScreen {
interval: 1000
triggeredOnStart: true
repeat: true
running: true
running: remainSeconds !== 0
property int remainSeconds: root.delayMS / 1000
onTriggered: {
remainSeconds -= 1

View File

@ -4,7 +4,7 @@ import RibbonUI
RibbonSplashScreen {
id: root
homeUrl: "qrc:/qt/qml/RibbonUIAPP/example.qml"
delayMS: 10000
delayMS: 3000
contentArgs: {
"implicitHeight": 250,
"implicitWidth": 450,
@ -16,7 +16,7 @@ RibbonSplashScreen {
interval: 1000
triggeredOnStart: true
repeat: true
running: true
running: remainSeconds !== 0
property int remainSeconds: root.delayMS / 1000
onTriggered: {
remainSeconds -= 1