Re: [Qt-jambi-interest] Problem with swapBuffers()

2010-10-22 Thread Helge Fredriksen
Hello, I guess if you want to interact with internal buffers in QGraphicsView you will have to gain access to the thread that runs the Qt event loop some way. To do that in an external thread is difficult, if not impossible. Use of QTimer or QApplication.invokeLater()/invokeNow() is my best

[Qt-jambi-interest] Problem with swapBuffers()

2010-10-21 Thread naiqiao liang
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

Re: [Qt-jambi-interest] Problem with swapBuffers()

2010-10-21 Thread Samu Voutilainen
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.