Basic QT Event handling / Threading questions ?
Posted
by umanga
on Stack Overflow
See other posts from Stack Overflow
or by umanga
Published on 2010-05-27T05:13:19Z
Indexed on
2010/05/27
5:21 UTC
Read the original article
Hit count: 208
Greetings , I am new to QT (4.6) and have some basic questions regarding its event mechanism.I come from Swing background so I am trying to compare it with QT.
1) Does Event-processing-loop run in seperate thread? (like EventDispatch thread in Swing) ?
2) If we open several 'QMainWindow' do they run in several threads?
3) Whats the best way to run an intensive process in a seperate thread? (like SwingWorker in Swing ? )
4) If intesive-process runs in a seperate thread ,is it possible to call UI methods like update(),repaint() from that process?
thanks in advance.
© Stack Overflow or respective owner