tasks painting semplification

christian mollekopf chrigi_1 at hotmail.com
Mon Oct 27 15:42:29 CET 2008


> From: notmart at gmail.com> To: plasma-devel at kde.org> Subject: tasks painting semplification> Date: Mon, 27 Oct 2008 16:32:03 +0100> > Hi guys,> with Nuno we are starting to design the new plasma theme for 4.2, of course > this time won't be a total redesign like for 4.1, but just some tweaks here > and there.> a thing that however will look quite different is the taskbar theme, since > there are some usability problems with the current one (hard to tell apart the > focused task with the requesting attention ones)> even it will be mostly just a changing the svg tipe of work it's a good > occasion to take a look at the painting code.
 
Very good idea, the painting is really quite hard to understand ;-)
 
It would also be nice if could make some kind of theming for expanded groups (or maybe collapsed as well).
It could be based on the group color (available in the lib), but then we would have to make this color either editable,
or chosen by the theme, or whatever. 
However it should make expanded groups distingushable from other items and it should work with split groups.
 
Unfortunatley i don't have a clue how to do such things =(, but i'm always ready to learn if you need my help for some coding =),
 
Regards
> I wanted to make it look nicer, so would be easy to add some fancy effect that > are neeever enough (well, sort of:p) > in svn there is some new bling already...> > aaanyways, the painting function it's really a mess because when i added the > support for svg theming i decided to add a fallback for every element, so when > it does not exist in the svg just paints a rounded rectangle, so the code is > 80% manual qpainter cruft.> now, would be interesting as a general rule how to behave in this cases, i > think that just removing the fallbackswould make way more cleaner code.> i kinda remember chatting with aaron on a similar situation (don't remember > what was the theme/plasmoid in particular) was decided to just consider it a > problem of who makes the theme to ensure all the elements are in> what do you guys think?> > Cheers,> Marco Martin> _______________________________________________> Plasma-devel mailing list> Plasma-devel at kde.org> https://mail.kde.org/mailman/listinfo/plasma-devel
_________________________________________________________________
Die neue Generation der Windows Live Services - jetzt downloaden!
http://get.live.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20081027/477e16ae/attachment.htm 


More information about the Plasma-devel mailing list