Fwd: Re: Plasma themed tabbox

Marco Martin notmart at gmail.com
Sat Feb 28 19:30:50 CET 2009


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())




More information about the Plasma-devel mailing list