ThumbnailToolButton QML Type

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

import 语句: import QtWinExtras 1.15
Since: 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.

默认情况下,此特性被设为 false。

enabled : bool

This property holds whether the button is enabled.

默认情况下,此特性被设为 true。

flat : bool

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

默认情况下,此特性被设为 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.

默认情况下,此特性被设为 true。

tooltip : string

The tooltip of the button.

visible : bool

This property holds whether the button is visible.

默认情况下,此特性被设为 true。

信号文档编制

clicked ()

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

注意: 相应处理程序是 onClicked .