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

ProgressBar QML Type

A horizontal progress bar More...

Import Statement: import Sailfish.Silica 1.0
  • List of all members, including inherited members

Properties

  • highlighted : bool
  • indeterminate : bool
  • label : string
  • maximumValue : real
  • minimumValue : real
  • progressValue : real
  • value : real
  • valueText : string

Detailed Description

The ProgressBar type provides a horizontal progress bar.

A ProgressBar displays a value within a specific range of values.

Here is a simple progress bar:

 import Sailfish.Silica 1.0

 ProgressBar {
     minimumValue: 0
     maximumValue: 100
     value: 50
 }

Property Documentation

highlighted : bool

This property determines whether the progress bar is shown highlighted.


indeterminate : bool

Setting this value to true animates the progress bar without indicating a specific value, to show that progress is being made in an indeterminate manner.

The default value is false.


label : string

The label to display under the progress bar. This text usually describes the process whose progress the control represents.

See also valueText.


maximumValue : real

The maximum value of the progress bar (default: 1.0).


minimumValue : real

The minimum value of the progress bar (default: 0.0)


[read-only] progressValue : real

The current value of the progress displayed in the bar, i.e. bounded by the minimum and maximum values.

See also value.


value : real

The current value of the progress bar.

See also progressValue.


valueText : string

Holds the text to display above the current value. This text usually represents the value of the progress.

 import Sailfish.Silica 1.0

 ProgressBar {
     maximumValue: 100
     value: 50
     valueText: value + "%"
 }

See also label.


  • Legal
  • Contact Us
  • Jollyboys Ltd © 2024

  • Facebook
  • Twitter
  • Mastodon
  • YouTube
  • LinkedIn