Unifying listviews appearance

Marco Martin notmart at gmail.com
Fri Mar 14 11:47:51 CET 2008


Hi all,
at the moment we have two applets that have listviews that works in a similar 
way to popup menus, they are kickoff and devicenotifier.
it's very likely that this concept in the future will be used more and more in 
several applets.
as noted by aseigo in http://mattr.info/r/285/ at the moment the look of the 
listviews of kickoff and devicenotifier is totally different and before the 
problem gets worse something to unify the look without code duplication 
should be done.
i'd like some input on the idea i had before i start trying to implement it
making a common item delegate that delegates of the various applets inherits
it couldn't implement paint itself because the various models all have their 
custom roles, but it could provide some common functions like drawHighlight, 
drawText and so on
as for the look itself i would use the look that now kickoff has, of course 
ideas and mockups are welcome.
another thing i would like to receive inputs on how it sould look is 
the "action icons" introduced in http://mattr.info/r/285/ at the moment there 
is only a eject/unmount icon but in the future it could be more

Cheers,
Marco Martin


More information about the Panel-devel mailing list