[Qt-interest] [Qt-nterest] Qt::WA_OpaquePaintEvent on OSX

Martin Guillon MGuillon at movea.com
Tue Dec 8 18:34:37 CET 2009


I tried 
WA_StaticContents
WA_OpaquePaintEvent
WA_NoSystemBackground

I the 3 cases the all frame is erased under OSX. I really need that to do a really good pen drawing application.

Can someone help?

Thanks

-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Martin Guillon
Sent: Tuesday, December 08, 2009 3:09 PM
To: girish at forwardbias.in; qt-interest at trolltech.com
Subject: Re: [Qt-interest] [Qt-nterest] Qt::WA_OpaquePaintEvent on OSX

Now I did and It doesn’t work.
With that flag my frame is transparent (something I want to) but the StaticContent doesn’t seem to work under osx (qt-carbon) and I really really need it. 
To give more info I am doing a qt application to draw on the desktop.

-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Girish Ramakrishnan
Sent: Tuesday, December 08, 2009 8:37 AM
To: Martin Guillon; qt-interest at trolltech.com
Subject: Re: [Qt-interest] [Qt-nterest] Qt::WA_OpaquePaintEvent on OSX

Martin Guillon wrote:
> Hi,
> 
>  
> 
> I was wondering if anyone had this flag working on OSX. I read nowhere 
> that this flag shouldn’t work on OSX but using the eact same code 
> under Win and OSX, OpaquePaintEvent doesn’t work under OSX, During 
> each paintevent, the background is cleared which I really don’t want.
> 

Have you tried setting Qt::WA_NoSystemBackground?

Girish
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest

_______________________________________________
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