Button¶
Widget description¶
This is a push-button. Press it and run some function. It can contain a simple label and icon object and it also has an autorepeat feature.
Available styles¶
defaulta normal button.anchorLike default, but the button fades away when the mouse is not over it, leaving only the text or icon.hoversel_verticalInternally used byHoverselto give a continuous look across its options.hoversel_vertical_entryAnother internal forHoversel.naviframeInternally used byNaviframefor its back button.colorselectorInternally used byColorselectorfor its left and right buttons.
Layout content parts¶
icon- An icon of the button
Layout text parts¶
default- Label of the button
Emitted signals¶
clicked: the user clicked the button (press/release).repeated: the user pressed the button without releasing it.pressed: button was pressed.unpressed: button was released after being pressed.