example/SplashScreen: Use proper values.
This commit is contained in:
parent
2afc633bdb
commit
5530b71d6c
|
@ -4,7 +4,7 @@ import RibbonUI 1.1
|
||||||
RibbonSplashScreen {
|
RibbonSplashScreen {
|
||||||
id: root
|
id: root
|
||||||
homeUrl: "qrc:/qt/qml/RibbonUIAPP/example.qml"
|
homeUrl: "qrc:/qt/qml/RibbonUIAPP/example.qml"
|
||||||
delayMS: 10000
|
delayMS: 3000
|
||||||
contentArgs: {
|
contentArgs: {
|
||||||
"implicitHeight": 250,
|
"implicitHeight": 250,
|
||||||
"implicitWidth": 450,
|
"implicitWidth": 450,
|
||||||
|
@ -16,7 +16,7 @@ RibbonSplashScreen {
|
||||||
interval: 1000
|
interval: 1000
|
||||||
triggeredOnStart: true
|
triggeredOnStart: true
|
||||||
repeat: true
|
repeat: true
|
||||||
running: true
|
running: remainSeconds !== 0
|
||||||
property int remainSeconds: root.delayMS / 1000
|
property int remainSeconds: root.delayMS / 1000
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
remainSeconds -= 1
|
remainSeconds -= 1
|
||||||
|
|
|
@ -4,7 +4,7 @@ import RibbonUI
|
||||||
RibbonSplashScreen {
|
RibbonSplashScreen {
|
||||||
id: root
|
id: root
|
||||||
homeUrl: "qrc:/qt/qml/RibbonUIAPP/example.qml"
|
homeUrl: "qrc:/qt/qml/RibbonUIAPP/example.qml"
|
||||||
delayMS: 10000
|
delayMS: 3000
|
||||||
contentArgs: {
|
contentArgs: {
|
||||||
"implicitHeight": 250,
|
"implicitHeight": 250,
|
||||||
"implicitWidth": 450,
|
"implicitWidth": 450,
|
||||||
|
@ -16,7 +16,7 @@ RibbonSplashScreen {
|
||||||
interval: 1000
|
interval: 1000
|
||||||
triggeredOnStart: true
|
triggeredOnStart: true
|
||||||
repeat: true
|
repeat: true
|
||||||
running: true
|
running: remainSeconds !== 0
|
||||||
property int remainSeconds: root.delayMS / 1000
|
property int remainSeconds: root.delayMS / 1000
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
remainSeconds -= 1
|
remainSeconds -= 1
|
||||||
|
|
Loading…
Reference in New Issue