Changeset View
Changeset View
Standalone View
Standalone View
applets/taskmanager/package/contents/ui/AudioStream.qml
Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Line(s) | 81 | Transition { | |||
---|---|---|---|---|---|
83 | NumberAnimation { | 83 | NumberAnimation { | ||
84 | property: "opacity" | 84 | property: "opacity" | ||
85 | duration: units.longDuration | 85 | duration: units.longDuration | ||
86 | } | 86 | } | ||
87 | } | 87 | } | ||
88 | ] | 88 | ] | ||
89 | 89 | | |||
90 | opacity: 0 | 90 | opacity: 0 | ||
91 | // Do not display the indicator if the icons are too small. | 91 | visible: opacity > 0 | ||
92 | visible: opacity > 0 && Math.min(iconBox.width, iconBox.height) >= units.iconSizes.small | | |||
93 | 92 | | |||
94 | PlasmaCore.Svg { | 93 | PlasmaCore.Svg { | ||
95 | id: audioSvg | 94 | id: audioSvg | ||
96 | imagePath: "icons/audio" | 95 | imagePath: "icons/audio" | ||
97 | } | 96 | } | ||
98 | 97 | | |||
99 | PlasmaCore.SvgItem { | 98 | PlasmaCore.SvgItem { | ||
100 | id: audioStreamIcon | 99 | id: audioStreamIcon | ||
▲ Show 20 Lines • Show All 85 Lines • Show Last 20 Lines |