On Thursday 21 October 2010 13:19:14 naiqiao liang wrote:
> 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.
> 

PyQt questions should go to their own mailing list, not Qt Jambi one...

-- 
Terveisin,
Samu Voutilainen
http://smar.fi
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to