ThumbnailToolButton QML Type

Represents a button in a thumbnail toolbar. 更多...

Import Statement: import QtWinExtras 1.0
开始支持版本: QtWinExtras 1.0

属性

信号

详细描述

The ThumbnailToolButton represents a button in a thumbnail toolbar.

属性

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.


信号

clicked()

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