PageBusyIndicator QML Type
Displayed while waiting for page to load More...
Import Statement: | import Sailfish.Silica 1.0 |
Inherits: | BusyIndicator
|
Properties
Detailed Description
The PageBusyIndicator is a full-screen, non-interactive display that shows a spinning circle. The PageBusyIndicator is provided for convenience for implementing platform-style full-screen busy indications, and doesn't need to be explicitly positioned.
For example, it could be used while a page is loading its contents:
import QtQuick 2.2
import Sailfish.Silica 1.0
Page {
PageBusyIndicator {
running: model.status == Model.Loading
}
}
If the loading can take multiple seconds it is recommended to use BusyLabel instead to also show a label with the busy indication, used to indicate to the user what is happening.
If a more custom solution is needed use components BusyIndicator and Label directly instead. One common custom case is to provide horizontally centered "Cancel" button below the loading indication, especially if the loading can take a really long time.
See also BusyIndicator and BusyLabel.
Property Documentation
Setting running to true starts the animation. The animation keeps playing until the property is set to false or when the application window goes to background.
The default value is false.