PDA

View Full Version : QGLWidget resize not working



iKo
2nd December 2010, 12:07
Hi,
I have an issue with resizing my openGL widget class (QGLWidget).
The widget is rendered in a dock widget but upon resizing the window the graphics display incorrectly. If a move the window position however the viewport resizes and all is fine.

Also i've added a context menu to the window and when it renders, focus seems to be lost and the opengL graphic display breaks.

I've overriden initializeGL, paintGL and resizeGL..

Any help much appreciated.. ?

Thanks, M

franz
3rd December 2010, 21:37
Can you post compiling & working example code that shows the problem (zipped/tarred)?