Sailfish OS
  • Info
  • User Experience
  • Cases
  • Community
  • Developers
  • Contact
  • Get Sailfish OS
Select Page
  • Info
  • User Experience
  • Cases
  • Community
  • Developers
  • Contact
  • Get Sailfish OS

API Documentation

Documentation for developing SailfishOS applications
  • API Documentation
  • Libsailfishapp
  • Sailfish Silica
    • Documentation
    • Icon Reference
  • Sailfish Components
    • Sailfish Accounts
    • Sailfish Bluetooth
    • Sailfish Contacts
    • Sailfish Crypto
    • Sailfish Gallery
    • Sailfish Media
    • Sailfish Pickers
    • Sailfish Secrets
    • Sailfish Share
    • Sailfish Telephony
    • Sailfish Webview
    • Amber Web Authorization
    • Amber MPRIS
  • Nemo QML Plugins
    • Configuration
    • Contacts
    • D-Bus
    • Keepalive
    • Notifications
    • Thumbnailer
  • Sailfish Middleware
    • MDM Framework
    • MDM Policy Framework
    • User Manager Daemon
  • API Documentation
  • Libsailfishapp
  • Sailfish Silica
    • Documentation
    • Icon Reference
  • Sailfish Components
    • Sailfish Accounts
    • Sailfish Bluetooth
    • Sailfish Contacts
    • Sailfish Crypto
    • Sailfish Gallery
    • Sailfish Media
    • Sailfish Pickers
    • Sailfish Secrets
    • Sailfish Share
    • Sailfish Telephony
    • Sailfish Webview
    • Amber Web Authorization
    • Amber MPRIS
  • Nemo QML Plugins
    • Configuration
    • Contacts
    • D-Bus
    • Keepalive
    • Notifications
    • Thumbnailer
  • Sailfish Middleware
    • MDM Framework
    • MDM Policy Framework
    • User Manager Daemon

Contents

  • Properties
  • Detailed Description

BusyIndicator QML Type

Displayed while waiting for content to load or some process to finish More...

Import Statement: import Sailfish.Silica 1.0
Inherited By:

PageBusyIndicator

  • List of all members, including inherited members

Properties

  • running : bool
  • size : enumeration

Detailed Description

The BusyIndicator is a non-interactive display that shows a spinning circle. It should be shown while content is loading or when the UI is waiting for an action to be available.

For example, it could be used while a page is loading its contents:

 import QtQuick 2.2
 import Sailfish.Silica 1.0

 Page {
     BusyIndicator {
         size: BusyIndicatorSize.Large
         anchors.centerIn: parent
         running: model.status == Model.Loading
     }
 }

Or, while an image is loading:

 Image {
     id: image
     source: "http://some/remote/icon.png"
     sourceSize.width: Theme.iconSizeMedium
     sourceSize.height: Theme.iconSizeMedium

     BusyIndicator {
         size: BusyIndicatorSize.Medium
         anchors.centerIn: image
         running: image.status != Image.Ready
     }
 }

See also BusyLabel and PageBusyIndicator.

Property Documentation

running : bool

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.


size : enumeration

This size property can be used to select one of the following indicator sizes.

  • BusyIndicatorSize.ExtraSmall - displayed when loading small details, matches well with extra small font
  • BusyIndicatorSize.Small - displayed when loading details, matches well with normal size font
  • BusyIndicatorSize.Medium - the standard size for display within a list item
  • BusyIndicatorSize.Large - used for full-screen busy indication

The default value is BusyIndicatorSize.Medium.


  • Legal
  • Contact Us
  • Jollyboys Ltd © 2024

  • Facebook
  • Twitter
  • Mastodon
  • YouTube
  • LinkedIn