[kde-edu]: New look of the PSE in Kalzium, review needed
Jason Harris
kstars at 30doradus.org
Fri Jan 28 20:50:10 CET 2005
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
More information about the kde-edu
mailing list