Added a busy indicator to the flow view covers.

This commit is contained in:
Luis Ángel San Martín
2016-03-28 19:21:03 +02:00
parent a28a5de278
commit 6b3d5b04d7

View File

@ -1,4 +1,5 @@
import QtQuick 2.3 import QtQuick 2.3
import QtQuick.Controls 1.4
import QtGraphicalEffects 1.0 import QtGraphicalEffects 1.0
@ -93,6 +94,12 @@ Rectangle {
color:"transparent" color:"transparent"
BusyIndicator {
scale: 0.5
anchors.centerIn: parent
running: coverElement.status === Image.Loading
}
DropShadow { DropShadow {
anchors.fill: coverElement anchors.fill: coverElement
horizontalOffset: 0 horizontalOffset: 0