Hi,

I have several QGLWidgets sharing the same OpenGL context (using shareWidget). Using the overpainting example I have been able to get basic text overlaid on a single QGLWidget by overriding paintEvent instead of paintGL and using QPainter.drawText(). However, when using multiple QGLWidgets, it appears that GL-rendered graphics aren't always being drawn to the widget, whether I call update() or repaint(); all I get is a blank background with my overlaid text. I can see the code doing the actual GL rendering being called, but nothing shows up. However, if I remove the calls to QPainter and call the method paintGL instead of paintEvent, everything updates correctly. What is going on?

Thanks,
-geordan
_______________________________________________
PySide mailing list
PySide@lists.openbossa.org
http://lists.openbossa.org/listinfo/pyside

Reply via email to