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

List:       kde-panel-devel
Subject:    Re: Fwd: Re: Plasma themed tabbox
From:       Marco Martin <notmart () gmail ! com>
Date:       2009-02-28 18:30:50
Message-ID: 200902281930.50627.notmart () gmail ! com
[Download RAW message or body]

On Saturday 28 February 2009, Martin Gräßlin wrote:
> > >
> > > I also changed some other things like calculating the width includes
> > > the optional desktop name and when the tabbox is too high for the
> > > screen one more item is dropped to have a better visual appearance.
> >
> > Very nice :)
> >
> > One question, does it use the translucent graphics when compositing is
> > enabled? (It doesn't look like it does...)
>
> No it doesn't. I don't know why, but translucent background just doesn't
> work. And as tabbox is by default only shown for non-composited setup, I
> don't want to spent too much time on it ;-)
think is missing
 setAttribute(Qt::WA_TranslucentBackground) in TabBox ctor
 and painter->setCompositionMode(QPainter::CompositionMode_Source);
just before frame.paintFrame() (folded in painter->save()/restore())


_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

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

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