A problem with QPushButton on a plasma applet

Toussis Manolis manolis at koppermind.homelinux.org
Mon May 26 17:11:35 CEST 2008


On Monday 26 May 2008 17:55:22 Marco Martin wrote:
> On Wednesday 21 May 2008, Alexis Ménard wrote:
> > Calling this on a QWidget remove grey boxes we have (if we talk about the
> > same boxes) :
> >
> > mWidget->setAttribute(Qt::WA_NoSystemBackground);
> > mWidget->setAutoFillBackground (false);
>
> i see a veeery weird problem with that (used also in Plasma::PushButton)
> the buttons gets painted without problems when the applet is on the desktop
> but on the panel don't get painted at all!

I confirm this . I thought I was missplacing the buttons and they were not 
showing up!.
I don't use though the above commands. I just use a Plasma::PushButton proxy 
and It works fine (without the grey area) on planar mode.




More information about the Panel-devel mailing list