Re: [Development] How to set QQuickView TranslucentBackground

2012-03-08 Thread Samuel Rødal
On 03/08/2012 02:24 PM, ext hailong geng wrote: > Hi > Thank you for your reply. What do you mean by "setting a non-zero > alpha in the QSurfaceFormat of the QWindow"? I tried touse the following > code but still get black background. > QQuickViewcanvas; > > QSurfaceFormat surfaceFormat; > >

[Development] How to set QQuickView TranslucentBackground

2012-03-08 Thread hailong geng
Hi Thank you for your reply. What do you mean by "setting a non-zero  alpha in the QSurfaceFormat of the QWindow"? I tried to use the following code but still get black background.     QQuickViewcanvas; QSurfaceFormatsurfaceFormat; surfaceFormat.setAlphaBufferSize(1000); canvas.setFormat(surfaceFo

Re: [Development] How to set QQuickView TranslucentBackground

2012-03-08 Thread Samuel Rødal
On 03/08/2012 02:37 AM, ext hailong geng wrote: > Hi > What I have to say is that Qt5 is really cool, I love it ^_^ > But I get a problem, I want to show some lovely tools in desktop, in > order to move them freely, I want to set the window Translucent and show > the app in FullScreen mode(or in av

[Development] How to set QQuickView TranslucentBackground

2012-03-07 Thread hailong geng
Hi    What I have to say is that Qt5 is really cool, I love it ^_^    But I get a problem, I want to show some lovely tools in desktop, in order to move them freely, I want to set the window Translucent and show the app in FullScreen mode(or in available screen geometry).  In Qt4 I can set Qt::W