[Qt-interest] transparent widget on top of QGLWidget
Raja Rokkam
rokkamraja at gmail.com
Thu Oct 29 02:27:54 CET 2009
Do you want a transparent window or Translucent window ?
You will get an opaque black background if you setAttribute as
WA_TranslucentBackground. If you set the windows flag to
FramelessWindowHint, then you would get a translucent window and black
background will go away.
-Raja.
On Thu, Oct 29, 2009 at 6:36 AM, Shi Yan <billconan at gmail.com> wrote:
> hello guys,
>
> i have a question about drawing a transparent widget on top of a
> QGLWidget, because i discovered that the transparent widget will lose
> its transparency, instead it will be drawn with an opaque black
> background. is this a bug? or is there anyway to fix this?
>
> thanks.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091029/f19293ae/attachment.html
More information about the Qt-interest-old
mailing list