Automatic styling

Registered by Zsombor Egri on 2013-03-26

Remove the need for manually binding the Style object to the Item to be styled.

Blueprint information

Status:
Complete
Approver:
Zoltan Balogh
Priority:
Undefined
Drafter:
Zsombor Egri
Direction:
Needs approval
Assignee:
Zsombor Egri
Definition:
New
Series goal:
Accepted for raring
Implementation:
Implemented
Milestone target:
milestone icon ubuntu-13.04-month-6
Started by
Zsombor Egri on 2013-03-26
Completed by
Zsombor Egri on 2013-04-18

Sprints

Whiteboard

Remove the need for manually binding the Style object to the Item to be styled. Example in Label.qml:
  Text {
               [...]
    color: Theming.ComponentUtils.style(label, "color", "black")
}
The ‘color’ binding should not be necessary.

(?)

Work Items

Work items:
Introduce Style QML type, encapsulate property bindings of styled item and delegate: DONE
Watch styled item property changes to unbind styling on those: DONE
Remove ComponentUtils from styled items: DONE
Remove StyleUtils from delegates: DONE
Make style theme types deprecated: DONE
Make itemStyle context property deprecated and remove: DONE

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.