~cimi/ubuntu-ui-toolkit/panel_export-position

Viewing all changes in revision 38.

  • 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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: