Positioning & stacking of delegates is mostly undefined behaviour

Registered by Zsombor Egri on 2013-03-26

This blueprint has been superseded. See the newer blueprint "SDK: Theme Engine Improvements" for updated plans.

Depending on the component design, the visuals defined in delegate may cover the entire component content. Defining contentItem property in delegate also causes re-parenting of all children of the styled component, even those which are not supposed to be.

Blueprint information

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

Whiteboard

One solution is to provide similar approach as Qt Desktop Components have (Loader to instantiate the delegates, not the engine), or items to be styled should provide a property (e.g. “__contentItem”) so only that and its children will be re-parented into the delegate’s contentItem.

(?)

Work Items

Work items:
Investigate QtControl (former QtComponents) solution: TODO
Benchmark Loader vs. ItemStyle reparenter solution: TODO
Prototype solutions: TODO
Implement proposed solution: TODO

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.