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
10 November 2023
In this video, we will learn what the responsibility of the class QObject is. We will most noticeably look at the parent/child relationship. In this context we will learn what should be allocated using new and what shouldn't.
The example code showcased in this video is available here: https://github.com/KDAB/kdabtv/tree/master/Programming-With-Qt-Widgets
00:00 Introduction
00:32 QObject
04:39 Object Tree
06:33 Allocating with "new"
08:54 Creating Objects
11:22 QObject Subclasses
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
Links:
* KDAB Blogs: https://www.kdab.com/resources/?tags=blog