ThumbnailToolButton QML Type
Represents a button in a thumbnail toolbar. 更多...
Import Statement: | import QtWinExtras 1.0 |
开始支持版本: | QtWinExtras 1.0 |
属性
- dismissOnClick : bool
- enabled : bool
- flat : bool
- iconSource : url
- interactive : bool
- tooltip : string
- visible : bool
信号
- clicked()
详细描述
The ThumbnailToolButton represents a button in a thumbnail toolbar.
属性
This property holds whether the window thumbnail is dismissed after a button click.
By default, this property is set to false.
This property holds whether the button is enabled.
By default, this property is set to true.
This property holds whether the button background and frame are not drawn.
By default, this property is set to false.
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.
This property holds whether the button is visible.
By default, this property is set to true.
信号
This signal is emitted when the user clicks the button. The corresponding handler is onClicked
.