1import QtQuick 2.9 2import QtQuick.Controls 2.2 3 4Item { 5 id: loading 6 height: 96 7 width: parent.width 8 visible: false 9 10 anchors { 11 horizontalCenter: parent.horizontalCenter 12 verticalCenter: parent.verticalCenter 13 } 14 15 BusyIndicator { 16 anchors.verticalCenter: parent.verticalCenter 17 anchors.horizontalCenter: parent.horizontalCenter 18 running: loading.visible 19 height: parent.height 20 width: height 21 opacity: 0.9 22 z: 1 23 } 24} 25