From kde-panel-devel Sat Feb 28 18:30:50 2009 From: Marco Martin Date: Sat, 28 Feb 2009 18:30:50 +0000 To: kde-panel-devel Subject: Re: Fwd: Re: Plasma themed tabbox Message-Id: <200902281930.50627.notmart () gmail ! com> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=123584587617796 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