Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with Qt 5

You're reading from   Getting Started with Qt 5 Introduction to programming Qt 5 for cross-platform application development

Arrow left icon
Product type Paperback
Published in Feb 2019
Publisher Packt
ISBN-13 9781789956030
Length 136 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Benjamin Baka Benjamin Baka
Author Profile Icon Benjamin Baka
Benjamin Baka
Arrow right icon
View More author details
Toc

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 of writing applications and study how to make full-blown window applications.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime