Results 1 to 2 of 2

Thread: Qt.WA_TranslucentBackground.. not working over openGL view..

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2010
    Posts
    3
    Qt products
    Platforms
    Windows

    Default Qt.WA_TranslucentBackground.. not working over openGL view..

    i would like to have a QGraphicsView serve as a HUD over a 3rd-party openGL view (Maya modelPanel).

    i am able to get my "overLay" window to be translucent when its over normal 3rd-party interface elements. but when it overlaps this openGL modelPanel, i cannot see the maya 3d view through my QGraphicsview background. (see attatched image)

    i know it must be possible because if i do this: "window.setWindowOpacity", i can see the opengl view through the simiopaque window.

    but i do not want my QGraphics Items etc to be transparent, only the background of the Scene.

    how can i make only the background of the graphics scene transparent to both regular third party ui, and 3rd party opengl view?

    (maya does have a pretty good API with the ability to draw native openGL stuff like a HUd over its views, but i want the QGraphics Scene functionality as a HUD without having to draw all my own 2d HUD using maya API)

    thanks for any help!
    Attached Images Attached Images

Similar Threads

  1. OPENCV - OPENGL perspective view
    By rsecoli in forum Newbie
    Replies: 0
    Last Post: 24th November 2010, 18:45
  2. Replies: 0
    Last Post: 6th December 2009, 00:41
  3. OpenGL with Graphics View?
    By Dutch112 in forum Qt Programming
    Replies: 15
    Last Post: 19th May 2009, 08:21
  4. aux functions not working on opengl
    By john_god in forum Qt Programming
    Replies: 7
    Last Post: 11th April 2009, 12:23
  5. Working with coordinates (QGraphicsScene/view)
    By maverick_pol in forum Qt Programming
    Replies: 5
    Last Post: 27th March 2008, 08:35

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.