O'Reilly logo

PySide GUI Application Development by Venkateshwaran Loganathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Timers

Most of the GUI applications are time bound and it is extremely important to use timers to capture information about the program runtime and other similar tasks. You might also use timers to generate some event at specified time intervals, calculate the elapsed time for some action, to implement a countdown timer and so on. This section of the chapter covers how to create and use timers in our application and we develop a digital clock application explaining the concept of timers.

The classes that are used for creating this application in Qt are PySide.QtCore.QTimer and PySide.QtCore.QDateTime. The QTimer class provides high-level programming interface for timers. It provides repetitive and single-shot timers. Repetitive timers run continuously ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required