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

List:       kde-edu-devel
Subject:    Re: [kde-edu]: New look of the PSE in Kalzium, review needed
From:       Jason Harris <kstars () 30doradus ! org>
Date:       2005-01-28 19:50:10
Message-ID: 200501281250.10473.kstars () 30doradus ! org
[Download RAW message or body]

On Friday 28 January 2005 12:20 pm, Carsten Niehaus wrote:
> I was asked if only the space inside the rounded button can be coloured:
> no, that is not possible with QPainter. If you have an idea how to do it:
> please tell me.
>
> Carsten
I tried to fix this, but I can't seem to convince ElementButton not to paint 
its background color.  Even if I comment out all of paintEvent(), you still 
get the colored squares.  I also tried setFrameStyle( QFrame::NoFrame ) and 
setBackgroundMode( QWidget::NoBackground ) in the ctor...

Jason
--
-------------------------------
KStars: KDE Desktop Planetarium
http://edu.kde.org/kstars
_______________________________________________
kde-edu mailing list
kde-edu@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-edu
[prev in list] [next in list] [prev in thread] [next in thread] 

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