PDA

View Full Version : QtWidget in Overlay Planes on Windows OpenGL



IVTdeveloper
17th August 2008, 21:08
Are then any good examples of putting a QtWidget in the HW overlay planes on Windows so as to not cause corruption of the OpenGL depth and color buffers?

jpn
20th August 2008, 10:38
You're talking about semi-transparent overlay widgets, right? I'm afraid this is not possible. Qt's backing store (http://doc.trolltech.com/qq/qq16-background.html) is unfortunately not aware of the GL content.

bunjee
20th August 2008, 11:00
If you're talking about :
- Putting a transparent widget on top a QGLWidget that's possible :
http://labs.trolltech.com/blogs/2008/06/27/accelerate-your-widgets-with-opengl/

- Putting a transparent QGLWidget on top of a widget, that's impossible.

This might change in a future release of Qt.