Changeset View
Changeset View
Standalone View
Standalone View
src/declarativeimports/plasmacomponents3/BusyIndicator.qml
Show All 34 Lines | 33 | contentItem: PlasmaCore.SvgItem { | |||
---|---|---|---|---|---|
35 | visible: control.running | 35 | visible: control.running | ||
36 | svg: PlasmaCore.Svg { | 36 | svg: PlasmaCore.Svg { | ||
37 | imagePath: "widgets/busywidget" | 37 | imagePath: "widgets/busywidget" | ||
38 | colorGroup: PlasmaCore.ColorScope.colorGroup | 38 | colorGroup: PlasmaCore.ColorScope.colorGroup | ||
39 | } | 39 | } | ||
40 | elementId: "busywidget" | 40 | elementId: "busywidget" | ||
41 | 41 | | |||
42 | implicitWidth: units.gridUnit * 2 | 42 | implicitWidth: units.gridUnit * 2 | ||
43 | implicitHeight: width | 43 | implicitHeight: units.gridUnit * 2 | ||
44 | 44 | | |||
45 | Connections { | 45 | Connections { | ||
46 | target: control | 46 | target: control | ||
47 | onRunningChanged: { | 47 | onRunningChanged: { | ||
48 | rotationAnimator.from = rotation | 48 | rotationAnimator.from = rotation | ||
49 | rotationAnimator.to = rotation + 360 | 49 | rotationAnimator.to = rotation + 360 | ||
50 | } | 50 | } | ||
51 | } | 51 | } | ||
Show All 11 Lines |