Results 1 to 1 of 1

Thread: Overlaying QGraphicsView (QGLWidget) with layout results in intransparent layout

  1. #1
    Join Date
    May 2009
    Posts
    21
    Thanks
    4
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Overlaying QGraphicsView (QGLWidget) with layout results in intransparent layout

    Hi,

    I'm using a QGraphicsView with a QGLWidget viewport:

    setViewport(new QGLWidget(QGLFormat(QGL::SampleBuffers)));
    setViewportUpdateMode(QGraphicsView::FullViewportU pdate);

    When overlaying the QGraphicsView with a layout like (QHBoxLayout, QVBoxLayout, QGridLayout or QFormLayout) the layout rect gets visible and is filled with a strange pattern (See Attachment).

    I'm using Qt 4.5.1. Is there anything I can do to get a transparent layout on top of a QGraphicsView (QGLWidget)?

    Thank you in advance

    Markus
    Attached Images Attached Images

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.