[Qt-interest] QWidget backgroup to white
Ulf-Alexander v. Ceumern-Lindenstjerna
ceumern at vrmagic.com
Tue Dec 1 16:29:40 CET 2009
widget->setStyleSheet("background: white;");
This would be my suggestion :)
Cheers
> -----Original Message-----
> From: qt-interest-bounces at trolltech.com [mailto:qt-interest-
> bounces at trolltech.com] On Behalf Of Kari Laine
> Sent: Tuesday, December 01, 2009 3:49 PM
> To: qt-interest at trolltech.com
> Subject: [Qt-interest] QWidget backgroup to white
>
> Hi,
>
> really stupid question but I have tried 3 hours now.
> I have a QWidget on which I draw waves. I would like the background to
> be white.
> How I do that?
>
> I have tried to define white,solid brush and then using setBackground
> but no luck.
>
> Best Regards
> Kari
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list