HI,
my application consists of 3 widget; in the MultipleView I draw myWidget2 and 3;in PerspectiveView myWidget1; application starts with Perspective view; I have insert some printf("...") inside painGL an initializeGL()
and I see that they are run in this order (when I launch program):
initializeGL()
paintGL()
paintGL()
paintGL()
initializeGL()
initializeGL()
I don't understand why the last 2 paintGL are running before the 2 initializeGL(). Is it right?Qt Code:
if ( action == perspectiveViewAction ) { WidgetStack->raiseWidget( PerspectiveView ); } else if ( action == multipleViewAction ) { WidgetStack->raiseWidget( MultipleView ); } }To copy to clipboard, switch view to plain text mode
And when I call changeView(), starts sometimes 5 paintGL() other times only two....
Thanks
Bookmarks