A simple good looking button for QML applications
The Button.qml file provides a nice looking button in QML for any applications. Signals are sent on clicks, presses, presses and holds and on double clicks. This can obviously be extended.
Take a look at the main.qml example.
- color: color fo the button (the "shadow" is automatically computed based on that color)
- text: the text
- textColor: color for the text
- font: text font
- animate (bool): make an animation when the button is triggered
- any other usual property from a QML Item