AbstractButton QML Type
The AbstractButton class defines the behavior of the button. More...
Import Statement: | import Ubuntu.Components 1.2 |
Inherited By: | Button, CheckBox, Empty, and PickerDelegate. |
Properties
Signals
- clicked()
- pressAndHold()
Detailed Description
This class defines the behavior of the button. All components deriving from this class support haptic feedback out of the box.
If an action is specified, the button's clicked signal will trigger the action. Subclasses of AbstractButton can use other properties of action (for example the text and iconName).
Property Documentation
Signal Documentation
This handler is called when there is a mouse click on the button and the button is not disabled. If action is defined, the action will be triggered.