Sign up for the KDAB Newsletter
Stay on top of the latest news, publications, events and more.
Go to Sign-up
Find what you need - explore our website and developer resources
18 January 2024
There are three ways to connect to signals from objects in your Qt Designer UI. We've already seen the first one, which is to simply add a connect statement on the C++ side. In this episode, we will see the other two ways. One makes sense to know about for the rare cases where it is useful, the other is worth knowing about so that you don't accidentally start using it, just because you didn't think it through.
00:00 Introduction
0:29 Signal/Slots Configuration
11:30 UI Shortcoming
14:58 Programming Signals/Slots
19:46 Summary
All 'Introduction to Qt Widgets' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6iFcTyItvnE5nOmJR8qk_7o
All 'Introduction to Qt Widgets - Module 1' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6hgf7zCKF2Rv9Y0WoN8RVGf
All 'Introduction to Qt Widgets - Module 2' videos:
https://www.youtube.com/playlist?list=PL6CJYn40gN6j_c41CFMprvg9EiWz0WdSy
Links:
* Introduction to Qt Widgets - Training: https://training.kdab.com/portfolio/qt-widgets-for-the-desktop/
* Advanced Programming with Qt Widgets - Training: https://training.kdab.com/portfolio/advanced-programming-with-qt-widgets/
The example code showcased in this video is available here: https://github.com/KDAB/kdabtv/tree/master/Programming-With-Qt-Widgets