[Qt-interest] QMdiArea and updating of MdiSubwindows

Jaco Naude naude.jaco at gmail.com
Tue Feb 10 15:24:52 CET 2009


Hi

I'm getting strange behavior when adding QGLWidget widgets (QwtPlot3D
surface plot) to a QMdiArea. All my widgets gets updated correctly except
the QGLWidgets.

To best explain the problem, I've attached a couple of screenshots. I have
the ability to undock/dock widgets from the MdiArea and the screenshots
shows the same widget with QMdiArea as its parent, thus docked, while the
other picture shows the same widget undocked, parent set to 0.

In the screenshots it can be seen that the docked QGLWidget does not update
itself when other widgets move over it. Sometimes a little part of the
widget is updated correclty, and sometimes nothing is updated as shown in
the screenshot.

Any ideas why this is happening?
Thanks for any tips.
Jaco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090210/51389690/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inside_mdi_area.PNG
Type: image/png
Size: 45396 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090210/51389690/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: outside_mdi_area.PNG
Type: image/png
Size: 46126 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090210/51389690/attachment-0001.png 


More information about the Qt-interest-old mailing list