Changeset View
Changeset View
Standalone View
Standalone View
src/declarativeimports/plasmastyle/BusyIndicatorStyle.qml
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Line(s) | 41 | onRunningChanged: { | |||
---|---|---|---|---|---|
43 | rotationAnimator.to = rotation + 360 | 43 | rotationAnimator.to = rotation + 360 | ||
44 | } | 44 | } | ||
45 | } | 45 | } | ||
46 | 46 | | |||
47 | RotationAnimator on rotation { | 47 | RotationAnimator on rotation { | ||
48 | id: rotationAnimator | 48 | id: rotationAnimator | ||
49 | from: 0 | 49 | from: 0 | ||
50 | to: 360 | 50 | to: 360 | ||
51 | duration: 1500 | 51 | duration: 2000 | ||
52 | running: control.running && control.visible && control.opacity > 0; | 52 | running: control.running && control.visible && control.opacity > 0; | ||
53 | loops: Animation.Infinite | 53 | loops: Animation.Infinite | ||
54 | } | 54 | } | ||
55 | } | 55 | } | ||
56 | } | 56 | } |