|
|
|
@ -262,10 +262,16 @@ Item{
|
|
|
|
|
Loader{
|
|
|
|
|
id: progressLoader
|
|
|
|
|
anchors.fill: iconImageBuffer
|
|
|
|
|
active: (centralItem.smartLauncherEnabled && centralItem.smartLauncherItem && !mainItemContainer.isSeparator
|
|
|
|
|
&& (centralItem.smartLauncherItem.progressVisible || mainItemContainer.badgeIndicator > 0))
|
|
|
|
|
active: opacityN > 0
|
|
|
|
|
asynchronous: true
|
|
|
|
|
|
|
|
|
|
property real opacityN: (centralItem.smartLauncherEnabled && centralItem.smartLauncherItem && !mainItemContainer.isSeparator
|
|
|
|
|
&& (centralItem.smartLauncherItem.progressVisible || mainItemContainer.badgeIndicator > 0)) ? 1 : 0
|
|
|
|
|
|
|
|
|
|
Behavior on opacityN {
|
|
|
|
|
NumberAnimation { duration: root.durationTime*2*units.longDuration }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
sourceComponent: Item{
|
|
|
|
|
ShaderEffect {
|
|
|
|
|
id: iconOverlay
|
|
|
|
@ -349,6 +355,7 @@ Item{
|
|
|
|
|
|
|
|
|
|
TaskProgressOverlay{
|
|
|
|
|
anchors.fill:parent
|
|
|
|
|
opacity: progressLoader.opacityN
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -370,11 +377,17 @@ Item{
|
|
|
|
|
Loader{
|
|
|
|
|
id: audioStreamIconLoader
|
|
|
|
|
anchors.fill: iconImageBuffer
|
|
|
|
|
active: mainItemContainer.hasAudioStream && !mainItemContainer.isSeparator
|
|
|
|
|
active: opacityN>0
|
|
|
|
|
asynchronous: true
|
|
|
|
|
|
|
|
|
|
readonly property bool shown: item && item.visible
|
|
|
|
|
|
|
|
|
|
property real opacityN: mainItemContainer.hasAudioStream && !mainItemContainer.isSeparator ? 1 : 0
|
|
|
|
|
|
|
|
|
|
Behavior on opacityN {
|
|
|
|
|
NumberAnimation { duration: root.durationTime*2*units.longDuration }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
sourceComponent: Item{
|
|
|
|
|
ShaderEffect {
|
|
|
|
|
id: iconOverlay2
|
|
|
|
@ -454,13 +467,13 @@ Item{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
AudioStream{
|
|
|
|
|
id: audioStreamBadge
|
|
|
|
|
anchors.fill:parent
|
|
|
|
|
opacity: audioStreamIconLoader.opacityN
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// END of Audio Loader
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|