Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, January 2008
Disable animated window resizing


Message 1 in thread

Hi everybody,

I have a QMainWindow with a subclassed QGLWidget in it.
Resizing the main window is slow and not very handy to use because the paintGL is called continuously while the user drags the resize handles.

Is it possible to disable this continuous repaint to provide a smooth resize feel?

By the way, my paintGL is fore sure partially in cause, as when I empty it, the resize becomes smooth. However, I get a smooth scrolling when calling paintGL at each mouseMoveEvent with the mid button pressed. So there is probably an extra heavy thing called in the resize events.

Regards,

Etienne

--
 [ signature omitted ]