MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML BusyIndicatorStyle Element

BusyIndicatorStyle properties and default values explained More...

Inherits Style

This element was introduced in qt-components 4.7.

Properties

Detailed Description

Custom platformStyle example

 BusyIndicator {
     platformStyle: BusyIndicatorStyle {
         size: "large"
         period: 800
         numberOfFrames: 5
         spinnerFrames: "mySpinner"
     }
 }

Property Documentation

numberOfFrames : int

Property default value is 10

Number of images used to animate busy indicator


period : int

Property default value is 1000

Animation duration.


size : string

Property default value is "medium"

Defines size of the busy indicator. Optional value can be "small", if anything else is used then it is the maximum size of the busy indicator.

  • "small" = 24 pixels width and height.
  • "medium" = 32 pixels width and height.
  • "large" = 96 pixels width and height.

spinnerFrames : string

Property default value: "image://theme/spinner"+__invertedString

Image name prefix. This will be used to show the busy indicator frames. For custom busy indicator image filename must be in next format: spinnerFrames + "_" + busy indicator width + "_" + index.