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 .