ThumbnailToolBar QML Type

Allows manipulating the window's thumbnail toolbar. More...

Import Statement: import QtWinExtras 1.15
Since: QtWinExtras 1.0

Properties

Signals

Detailed Description

This class allows an application to embed a toolbar in the thumbnail of a window, which is shown when hovering over its taskbar icon. It provides quick access to the window's commands without requiring the user to restore or activate the window.

Media player thumbnail toolbar

Example

Window {
    ThumbnailToolBar {
        ThumbnailToolButton { iconSource: "qrc:///player_rew.png"; tooltip: "Rewind"; onClicked: player.rewind() }
        ThumbnailToolButton { iconSource: "qrc:///player_pause.png"; tooltip: "Pause"; onClicked: player.togglePlay() }
        ThumbnailToolButton { iconSource: "qrc:///player_fwd.png"; tooltip: "Forward"; onClicked: player.forward() }
        ThumbnailToolButton { interactive: false; flat: true }
        ThumbnailToolButton { iconSource: "qrc:///configure.png"; tooltip: "Settings"; onClicked: settingsWindow.show() }
        ThumbnailToolButton { iconSource: "qrc:///document_open_folder.png"; tooltip: "Open"; onClicked: player.open() }
    }
}

Property Documentation

iconicLivePreviewSource : url

The pixmap for use as a live (peek) preview when tabbing into the application.

This property was introduced in Qt 5.4.


iconicNotificationsEnabled : bool

This property holds whether the signals iconicThumbnailRequested() or iconicLivePreviewRequested() will be emitted.

This property was introduced in Qt 5.4.


iconicThumbnailSource : url

The pixmap for use as a thumbnail representation

This property was introduced in Qt 5.4.


Signal Documentation

iconicLivePreviewRequested()

This signal is emitted when the operating system requests a new iconic live preview pixmap, typically when the user ALT-tabs to the application.

This signal was introduced in Qt 5.4.


iconicThumbnailRequested()

This signal is emitted when the operating system requests a new iconic thumbnail pixmap, typically when the thumbnail is shown.

This signal was introduced in Qt 5.4.


© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.