Hello anyone,
I ám a newbie,
I have a question about QTime and QTimer.
I have read the posts in the forum about QTime and Qtimer but it gives me not the solution that i want.
I want to countdown the Time(not the currentTime)in lcdNumber. Example(05:00:00->04:59:59...)
Is it possible to do it in QTime ?.
See my implentation:
Code:
{ setupUi(this); connect(timer, SIGNAL(timeout()), this, SLOT(displayTime())); timer->start(1000); } void countdownDialog::displayTime() { time->setHMS(5,0,0,0); lcdNumber->display(time->toString()); } Thanks in advance.