[Qt-interest] QT3's postEvent VS QT4's connect (blocking queued connection)
Neeraj Jhawar
navderm at gmail.com
Sat Jan 10 13:13:27 CET 2009
>
> Then why are you using a separate thread at all? If your GUI is supposed to
> block while you fetch the data just do the data-fetching inside the GUI
> thread. That'll remove all needs for cross-thread-communication.
>
> Andreas
>
>
This is because when I try to update the GUI at this rate, all the buttons
hang. I just cant get them working smoothly enough. I am fetching the data
at 100 ms period ( or 1/100 ms freq). at this rate when I try to update GUI
, the buttons like "STOP OPERATION" and "EXIT" and "SAVE TO FILE" are numb
and I just cant help them.
Is there a way I could just do this without threads... i.e. take the updates
from a GUI function and the buttons are still smooth enough??
Neeraj Jhawar
Senior Undergraduate
Mechanical Engineering Department
Punjab Engineering College
Chandigarh.
India
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090110/0d4f887e/attachment.html
More information about the Qt-interest-old
mailing list