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
13 November 2023
One of the most important classes in Qt is without a doubt QWidget, which is at the core of any UI (in the widgets world).
QWidget has two purposes:
(1) being the super class for any widgets, and thus, providing the API's for mouse, key, and focus handling among a lot of other things, and
(2) being a "canvas" where you can lay out other widgets on.
In this episode, Jesper will dive into this second part of widgets and show the layout management process, and explain how the parent/child relationship is crucial for this.
The example code showcased in this video is available here: https://github.com/KDAB/kdabtv/tree/master/Programming-With-Qt-Widgets
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:
* Download clazy: https://github.com/KDE/clazy
* QWAM episodes on clang-tidy and clazy:
- https://youtu.be/gO3KCzdmcrQ?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI
- https://youtu.be/c0ie0xww7SA?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI
- https://youtu.be/akGr97hf3J8?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI
- Clazy: https://github.com/KDE/clazy