PDA

View Full Version : Display timer widget on my main window



codywray
28th May 2019, 14:35
I want to display timer on my main window, the timer has to start when the page is reloaded and there should be no sessions to expire and also this widget should be the default and has to dispaly on all the windows. anyone can help me on this?

thanks

anda_skoa
29th May 2019, 09:18
If you need to update something periodically, in this case a duration display, you can drive that with QTimer.

Maybe using it with QElapsedTimer for measuring the time passed between such "ticks" (Timer events could be slightly delayed).

Cheers,
_

codywray
30th May 2019, 14:16
thanks for the help.
I have found the exact source code and executed successfully, It's working fine now. Got the help from here https://androidcrew.com/app/com.sgcreatives.uidesigntemplates