<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<BR><BR>> From: notmart@gmail.com<BR>> To: plasma-devel@kde.org<BR>> Subject: tasks painting semplification<BR>> Date: Mon, 27 Oct 2008 16:32:03 +0100<BR>> <BR>> Hi guys,<BR>> with Nuno we are starting to design the new plasma theme for 4.2, of course <BR>> this time won't be a total redesign like for 4.1, but just some tweaks here <BR>> and there.<BR>> a thing that however will look quite different is the taskbar theme, since <BR>> there are some usability problems with the current one (hard to tell apart the <BR>> focused task with the requesting attention ones)<BR>> even it will be mostly just a changing the svg tipe of work it's a good <BR>> occasion to take a look at the painting code.<BR>
<BR>
Very good idea, the painting is really quite hard to understand ;-)<BR>
<BR>
It would also be nice if could make some kind of theming for expanded groups (or maybe collapsed as well).<BR>
It could be based on the group color (available in the lib), but then we would have to make this color either editable,<BR>
or chosen by the theme, or whatever. <BR>
However it should make expanded groups distingushable from other items and it should work with split groups.<BR>
<BR>
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 =),<BR>
<BR>
Regards<BR>
<BR>> I wanted to make it look nicer, so would be easy to add some fancy effect that <BR>> are neeever enough (well, sort of:p) <BR>> in svn there is some new bling already...<BR>> <BR>> aaanyways, the painting function it's really a mess because when i added the <BR>> support for svg theming i decided to add a fallback for every element, so when <BR>> it does not exist in the svg just paints a rounded rectangle, so the code is <BR>> 80% manual qpainter cruft.<BR>> now, would be interesting as a general rule how to behave in this cases, i <BR>> think that just removing the fallbackswould make way more cleaner code.<BR>> i kinda remember chatting with aaron on a similar situation (don't remember <BR>> what was the theme/plasmoid in particular) was decided to just consider it a <BR>> problem of who makes the theme to ensure all the elements are in<BR>> what do you guys think?<BR>> <BR>> Cheers,<BR>> Marco Martin<BR>> _______________________________________________<BR>> Plasma-devel mailing list<BR>> Plasma-devel@kde.org<BR>> https://mail.kde.org/mailman/listinfo/plasma-devel<BR><BR><br /><hr />Werden Sie Mitglied der neuen Windows Live Messenger Familie! <a href='http://get.live.com' target='_new'>Hier klicken!</a></body>
</html>