A problem with QPushButton on a plasma applet
Alexis Ménard
darktears31 at gmail.com
Wed May 21 18:09:33 CEST 2008
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);
One example is notes applet wich call these two lines...It allow the
embeeded widget to be transparent...
<br> :)
On Wed, May 21, 2008 at 6:00 PM, Toussis Manolis <
manolis at koppermind.homelinux.org> wrote:
> Also the hover event on the buttons happens only ON the buttons and not at
> the
> right of them too...
> So problem solved.
>
> On Wednesday 21 May 2008 18:55:59 Toussis Manolis wrote:
> > myButton->setMinimumSize(1,1) in myapplet::init()
> > all work fine as you can see on the pic.
> >
> > http://img53.imageshack.us/my.php?image=pic1ku4.png
>
>
> _______________________________________________
> Panel-devel mailing list
> Panel-devel at kde.org
> https://mail.kde.org/mailman/listinfo/panel-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/panel-devel/attachments/20080521/10216861/attachment.html
More information about the Panel-devel
mailing list