Summary
In this chapter, we took a look at the core concept of signals and slots in Qt. After creating our first application, we looked at the various ways in which signals and slots can be connected.
We saw how to connect one signal from a widget to multiple slots. This is a typical way to set up signals and slots, especially when a change in the state of a widget has to be communicated to many other widgets.
To show how flexible signals and slots could be configured, we also looked at an example where multiple signals were connected to one slot of a widget. This type of arrangement is useful when different widgets can be used to achieve the same effect on a widget.
In Chapter 4, Implementing Windows and Dialog, we shall change our style ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access