QTimer
-
Hello everyone)
Recently I have faced a problem. I need to have QTimer set up to run a specified number of times. Is there a way to do so without using additional variable? If there is not, which way most concise? Thanks) -
Hi and welcome to devnet,
AFAIK, there's not. You can use a simple counter that you increment on each timeout but don't forget to reset it before starting your timer.
-
@SGaist thanks for your reply) Now I'm at least sure that this approach is ok) thanks again for welcome)
-
I think I am also facing this issue. Did you get any proper solution?
-
@herick5566 What is the issue are you facing ? Are you not able to stop the timer after some specific number of times ? Let us know the issue faced by you.