Theme States & Instance ID Support

Registered by Florian Boucault

Add support in the theme/styling system for targeting:
- specific, named instances of widget classes
    ex: QPushButton#okButton Matches all QPushButton instances whose object name is okButton
- widgets in a specific state
    ex: QPushButton:hover applies to QPushButton instances when in state 'hover'

References:
http://doc.trolltech.com/4.2/stylesheet.html#selector-types
http://doc.trolltech.com/4.2/stylesheet.html#pseudo-states

Part of the relook.

Blueprint information

Status:
Complete
Approver:
Anna Wojdel
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Florian Boucault
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 0.5.34
Started by
Florian Boucault
Completed by
Florian Boucault

Sprints

Whiteboard

Live update of styles is not implemented completely in here: classes' styles are not updated if no instance is present in the scenegraph. (see PigmentFrontend.set_theme)

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.