ThumbnailToolButton QML Type

Represents a button in a thumbnail toolbar. More...

Import Statement: import QtWinExtras 1.14
Since: QtWinExtras 1.0

Properties

Signals

Detailed Description

The ThumbnailToolButton represents a button in a thumbnail toolbar.

Property Documentation

dismissOnClick : bool

This property holds whether the window thumbnail is dismissed after a button click.

By default, this property is set to false.

enabled : bool

This property holds whether the button is enabled.

By default, this property is set to true.

flat : bool

This property holds whether the button background and frame are not drawn.

By default, this property is set to false.

iconSource : url

The button icon path.

interactive : bool

This property holds whether the button is interactive. If not interactive, the button remains enabled, but no pressed or mouse-over states are drawn. Set this property to false to use this button as a notification icon.

By default, this property is set to true.

tooltip : string

The tooltip of the button.

visible : bool

This property holds whether the button is visible.

By default, this property is set to true.

Signal Documentation

clicked()

This signal is emitted when the user clicks the button. The corresponding handler is onClicked.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.14/qml-qtwinextras-thumbnailtoolbutton.html