Results 1 to 3 of 3

Thread: QtWidget in Overlay Planes on Windows OpenGL

  1. #1
    Join Date
    Mar 2008
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QtWidget in Overlay Planes on Windows OpenGL

    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?

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QtWidget in Overlay Planes on Windows OpenGL

    You're talking about semi-transparent overlay widgets, right? I'm afraid this is not possible. Qt's backing store is unfortunately not aware of the GL content.
    J-P Nurmi

  3. #3
    Join Date
    Jan 2007
    Location
    Paris
    Posts
    459
    Thanks
    98
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4 Qt5

    Default Re: QtWidget in Overlay Planes on Windows OpenGL

    If you're talking about :
    - Putting a transparent widget on top a QGLWidget that's possible :
    http://labs.trolltech.com/blogs/2008...s-with-opengl/

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

    This might change in a future release of Qt.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.