tonnot
7th June 2011, 00:51
I have a button with the text 'start', when a 'my_process' starts I change its text to 'stop' if I click on the button when its text is 'stop' I call my_process.interrupt, which sets interrupt =true, but even if I execute :
QApplication::processEvents(QEventLoop::AllEvents) ;
I can not detect my_var interrupt== true.
Any idea ? Thanks.
QApplication::processEvents(QEventLoop::AllEvents) ;
I can not detect my_var interrupt== true.
Any idea ? Thanks.