[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwin
Subject:    Fwd: Re: Plasma themed tabbox
From:       Marco Martin <notmart () gmail ! com>
Date:       2009-02-25 19:51:22
Message-ID: 200902252051.23045.notmart () gmail ! com
[Download RAW message or body]

err, forgotten CC to kwin@kde.org  :)
----------  Forwarded Message  ----------

Subject: Re: Plasma themed tabbox
Date: Wednesday 25 February 2009
From: Marco Martin <notmart@gmail.com>
To: plasma-devel@kde.org

On Tuesday 24 February 2009, Martin Gräßlin wrote:
> I worked on Plasma themeing the normal tabbox (without effects). So far
> everything seems to work ;-)
>
> As this is my first work on anything related to QGraphicsView/Plasma I
> cc-ed Plasma devs. Please have a look at the patch and tell me what I have
> done wrong (probably thousands of things). Especially there is still a
> white border around the tabbox and I don't know how to get rid of it.

setAttribute(Qt::WA_TranslucentBackground) on the widget, and then
painter->setCompositionMode(QPainter::CompositionMode_Source) before 
painting the framesvg

> The old tabbox highlights the background of the active item. I decided to
> just change the font of the item (underline and bold) and apply an icon
> effect. I don't know if it is enough to indicate the currently selected
> item.
>
> Minimized windows used to have a different color. Here I choose an italic
> font instead. Icon effect still the same.
>
> Here some screenshots:
>  * http://img7.imageshack.us/img7/4466/plasmatabbox.png
>  * http://img25.imageshack.us/img25/9282/plasmadesktopbox.png
>
> Regards
> Martin



-------------------------------------------------------

_______________________________________________
kwin mailing list
kwin@kde.org
https://mail.kde.org/mailman/listinfo/kwin

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic