AbstractButton
The AbstractButton class defines the behavior of the button. More...
Inherits ActionItem
Inherited by Button, CheckBox, Empty, and PickerDelegate.
Properties
Signals
- clicked()
- pressAndHold()
Signal Handlers
Detailed Description
This component is under heavy development.
This class defines the behavior of the button: it defines the MouseArea and the states. All components deriving from this class support haptic feedback out of the box.
Property Documentation
action : Action |
The Action associated with this ActionItem. If action is set, the values of the Action properties are copied to the values of the ActionItem properties.
The image associated with the actionItem. Default value: action.iconSource.
The title of the actionItem. Default value: action.text
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.
Signal Handler Documentation
If a button is clicked, its triggered() signal will automatically be called.