Hello,

I am a beginner in PyQt. My first task is to build a QGraphicsView and apply
a QGLWidget to control its viewport.

The problem is that I want to update the buffers externally, which is to
say, setAutoBufferSwap(False) ahead. And each time when the view is changed,
the buffer is swapped under my own control.

I have tried many different ways, but none worked. Timer and EventLoops are
not desired, since I want to control the time precisely, not affected by
other events, such as mouse or keyboard.

I guess the painter to the QGLWidget is destructed before the swapBuffers()
is called. But I don't know where it occurs and how to set it externally.

Any help or suggestion will be appreciated. Thanks ahead.
_______________________________________________
Qt-jambi-interest mailing list
Qt-jambi-interest@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to