[Qt-interest] running a loop and emitting events.

Giancarlo Amati ilferraresebono at hotmail.it
Fri Apr 3 16:02:22 CEST 2009


Hi everybody,

the application I'm developing need to start a loop which keeps grabbing some 3D position in the physical space and update the 3D rendering in real-time.
The 3D side is done with VTK, in the same time when the Loop is runnig I need to be able to capture all the events related to the GUI, while usually if I run any loop, the controll of the application is blocked by the loop.
I though implementing this loop by a QThread...so that it runs until I need without interfeering with the main application. Can be this a good way or....there is another one easier?

Kind Regards.
Giancarlo

_________________________________________________________________
Chiama gratis dal tuo PC! Parla su Messenger
http://clk.atdmt.com/GBL/go/140630369/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090403/492e214f/attachment.html 


More information about the Qt-interest-old mailing list