~ken-vandine/ubuntu-ui-toolkit/raring.0.1.43

Viewing all changes in revision 414.

  • Committer: Tarmac
  • Author(s): Kaleo, Zsombor Egri
  • Date: 2013-04-11 16:09:38 UTC
  • mfrom: (383.6.107 automatic_styling_new)
  • Revision ID: tarmac-20130411160938-j11xnh9o5qwfbvne
Applying property styling without explicitly binding to ItemStyle.style properties.
* ComponentUtils and StyleUtils made deprecated.
* Style types made deprecated and removed from selector type mappings.
* Styled components updated
* itemStyle context property should not be used anymore
* Style type must be set as base type for custom style properties.
* Style objects are all built now having Style as base type instead of QtObject.

Concept:
The criteria is to have identical property names for style object, the styled item and its delegate.
The styling is applied first on styled item properties and the leftover of the style properties on its delegate.

Unit tests for theme engine privates updated:
* modules folder added to engine's import path, required due to introducing Style as base type for all style objects, replacing the previously used QtObject. Fixes: https://bugs.launchpad.net/bugs/1080622, https://bugs.launchpad.net/bugs/1152147, https://bugs.launchpad.net/bugs/1152152.

Approved by PS Jenkins bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: