Yes, that's exactly what I need. However, instead of exiting the application entirely, I want it just to exit the events loop and then continue with the rest of the code in my main loop. In other words. is there a way of polling inside the Qtimer slot whether a key has been pressed and stopping the timer in consequence? Once the last timer has been stopped, quit the events loop and go on with the rest of the code?
Perhaps my approach of using qtimers is not a good approach? Is it worthwhile looking into using QThreads instead?
Thanks very much.




Reply With Quote

Bookmarks