Changeset View
Changeset View
Standalone View
Standalone View
lookandfeel/contents/splash/Splash.qml
Show All 20 Lines | |||||
21 | import QtQuick.Window 2.2 | 21 | import QtQuick.Window 2.2 | ||
22 | 22 | | |||
23 | Rectangle { | 23 | Rectangle { | ||
24 | id: root | 24 | id: root | ||
25 | color: "black" | 25 | color: "black" | ||
26 | 26 | | |||
27 | property int stage | 27 | property int stage | ||
28 | 28 | | |||
29 | onStageChanged: { | 29 | function onStageChanged() { | ||
30 | if (stage == 2) { | 30 | if (stage == 2) { | ||
31 | introAnimation.running = true; | 31 | introAnimation.running = true; | ||
32 | } else if (stage == 5) { | 32 | } else if (stage == 5) { | ||
33 | introAnimation.target = busyIndicator; | 33 | introAnimation.target = busyIndicator; | ||
34 | introAnimation.from = 1; | 34 | introAnimation.from = 1; | ||
35 | introAnimation.to = 0; | 35 | introAnimation.to = 0; | ||
36 | introAnimation.running = true; | 36 | introAnimation.running = true; | ||
37 | } | 37 | } | ||
▲ Show 20 Lines • Show All 76 Lines • Show Last 20 Lines |