-
Committer:
Tarmac
-
Author(s):
tpeeters
-
Date:
2012-08-14 13:12:06 UTC
-
mfrom:
(37.1.2 button-nostates)
-
Revision ID:
tarmac-20120814131206-n1zoxdtalcvr00ob
Instead of the states of AbstractButton, use bool properties:
- Remove the states from AbstractButton
- Add property bool pressed to AbstractButton
- Add property bool hovered to AbstractButton
- Remove superfluous AbstractButton.mouse_area enabled: parent.enabled
- Update Button to use the new interface of AbstractuButton
- Simplify the code inside AbstractButton's mouse_area. Approved by Florian Boucault.