Now this one is easy as pie, a basic Loading screen for QML:
This uses a Rectange that is anchored to fill in the parent, opacity set to 0.640 so the user can still see what is going on, and a smallish spinning busy indicator anchored to the center of the Rectangle Portrait and Landscape, this one appears when a PageStack is Pushing a page or the Pop command has being fired.
Rectangle {
id: loadingBG
x: 0
y: 0
color: "#000000"
opacity: 0.640
visible: pageStack.busy
anchors.fill: parent
BusyIndicator {
id: loading
anchors.centerIn: parent
width: 100
height: 100
visible: true
platformInverted: false
RotationAnimation
{
target: loading
property: "rotation"
from: 0
to: 360
direction: RotationAnimation.Clockwise
duration: 1000
loops: Animation.Infinite
running: true
}
}
}