[Qt-interest] Break an infinite loop in the qt event loop.
Gopalakrishna Bhat
gopalakbhat at gmail.com
Tue Aug 24 08:30:40 CEST 2010
Hi,
I am trying to implement a scenario where the user is given an option to
break an infinite loop running in the main event loop.
Like if
while(true) {
/*Do something*/
}
code is running in the main event loop, I want that the user be able to
break the loop by pushing a button on the GUI.
How do I accomplish this?
With regards,
Gopalakrishna Bhat
--
My blog http://gkbhat.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100824/618cbc0c/attachment.html
More information about the Qt-interest-old
mailing list