Execute an action on regular time
Hello,
I would like to execute an action each 0.01 second. I thought to make a timeEdit and to connect it to a slot each time the value change like that :
connect(ui->timeEdit,SIGNAL(timeChanged(QTime)),this,SLOT(pre Frame()));
But TimeEdit is on the format hh.mm.ss and i would like milisecond...
Moreover i don't know how to start the timeEdit...
If you have any solution or a better one, please help me! :)
Re: Execute an action on regular time
Re: Execute an action on regular time
Thanks, I did it with QTimer and it run. I didn't know this one :).