PDA

View Full Version : How to increment Lcd number continously without stopping the main program



tama
17th March 2012, 10:28
Hi Guys,

I am new to c++ and Qt, I am using LCD number widget to display number on my main widget. I want to increment- decrement this number continuously, more like a meter. I tried to have a while loop to change the number in the main function but this dosent show the display as if it is stuck.

Any ideas on how this can be done.
Thanks

wysota
17th March 2012, 13:01
Use a timer.