O'Reilly logo

PySide GUI Application Development - Second Edition by Venkateshwaran Loganathan, Gopinath Jaganmohan

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

Signals and slots

The fundamental part of any GUI program is the communication between the objects. Signals and slots provide a mechanism to define this communication between the actions that happened and the result that is proposed for the respective action. Prior to Qt's modern implementation of signal or slot mechanism, older toolkits achieved this kind of communication through callbacks. A callback is a pointer to a function; so, if you want a processing function to notify about some event, you pass a pointer to another function (the callback) to the processing function. The processing function then calls the callback whenever appropriate. This mechanism does not prove useful in the later advancements due to some flaws in the callback implementation. ...

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