Unifying listviews appearance

Aaron J. Seigo aseigo at kde.org
Fri Mar 14 22:17:46 CET 2008


On Friday 14 March 2008, Marco Martin wrote:
> On Friday 14 March 2008, Aaron J. Seigo wrote:
> > void setRole(Role role, int actual) {
> >      d->roles[role] = actual;
> > }
> >
> > might that work?
>
> yes, but probably there always will be something that is not directly
> mappable because i don't think it could/should consider every possible
> funky piece of information that one could put in a plasmoid (like disk
> usage bars or who knows)

agreed. 

in the most severse cases people can reimplement paint(..). this is likely to 
still be a 90% solution though...

> so if someone wants to put other infos could subcless the delegate, call
> the paint of the parent and paint over it? maybe asking to the parent a
> rect of free space where is possible to draw?

that's a good idea indeed.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080314/5e46977d/attachment.pgp 


More information about the Panel-devel mailing list