AbstractButton

The AbstractButton class defines the behavior of the button. More...

Inherited by Button, CheckBox, Empty, and Slider.

Properties

Signals

Detailed Description

This component is under heavy development.

This class defines the behavior of the button: it defines the MouseArea and the states.

Property Documentation

hovered : bool

This documentation is under development and is subject to change.

True if the mouse cursor hovers over the button's mouse area.


pressed : bool

This documentation is under development and is subject to change.

True if the user presses a mouse button in the button's mouse area.


Signal Documentation

AbstractButton::clicked(var mouse)

This documentation is under development and is subject to change.

This handler is called when there is a mouse click on the button and the button is not disabled.


AbstractButton::pressAndHold(var mouse)

This documentation is under development and is subject to change.

This handler is called when there is a long press.