TaskbarButton QML Type
Manages Windows taskbar buttons. More...
| Import Statement: | import QtWinExtras 1.0 |
| Since: | QtWinExtras 1.0 |
Properties
-
overlay
- overlay.iconSource : url
- overlay.accessibleDescription : string
-
progress
- progress.value : int
- progress.minimum : int
- progress.maximum : int
- progress.visible : bool
- progress.paused : bool
- progress.stopped : bool
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:
Window {
TaskbarButton {
overlay.iconSource: "loading.png"
overlay.accessibleDescription: "Loading"
progress.visible: true
progress.value: 50
}
} See also QWinTaskbarButton and QWinTaskbarProgress.
Property Documentation
overlay.iconSource : url
The overlay icon and a description of the overlay for accessibility purposes.
progress.value : int
The taskbar progress indicator.
See also QWinTaskbarProgress.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/archives/qt-5.6/qml-qtwinextras-taskbarbutton.html