valy12
20th May 2010, 22:38
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(preF rame()));
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! :)
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(preF rame()));
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! :)