IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

TaskbarButton QML Type

Manages Windows taskbar buttons.

This type was introduced in QtWinExtras 1.0.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

TaskbarButton QML Type

  • Import Statement: import QtWinExtras 1.0

  • Since: QtWinExtras 1.0

Detailed Description

The TaskbarButton type enables you to set an overlay icon and to display a progress indicator on a taskbar button. An overlay icon indicates change in the state of the application. A progress indicator shows how time-consuming tasks are progressing.

Example

The following example illustrates how to use TaskbarButton in QML:

 
Sélectionnez
Window {
    TaskbarButton {
        overlay.iconSource: "loading.png"
        overlay.accessibleDescription: "Loading"

        progress.visible: true
        progress.value: 50
    }
}
Taskbar Button

See Also

Property Documentation

 

overlay group

overlay.accessibleDescription : string

overlay.iconSource : url

The overlay icon and a description of the overlay for accessibility purposes.

progress group

progress.maximum : int

progress.minimum : int

progress.paused : bool

[read-only] progress.stopped : bool

progress.value : int

progress.visible : bool

The taskbar progress indicator.

See Also

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+