Hello, I have a problem with using QTimer::singleShot. When button is clicked, I would like to start blinking images and stop it with click on another button. Is QTimer right answer or should I used something else??
Printable View
Hello, I have a problem with using QTimer::singleShot. When button is clicked, I would like to start blinking images and stop it with click on another button. Is QTimer right answer or should I used something else??
Not QTimer::singleShot but connect QTimer::timeout signal to the images blinking slot and call QTimer::start. After another button call QTimer::stop.
Thank you, now it works perfect. :)