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
22 November 2023
This episode introduces you to the event handling system of Qt and shows two examples of it:
- preventing windows from being closed when the user hits the cross
- a simple paint program where you paint by dragging the mouse around
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:30 Event System and Handling
05:43 Code Example
09:08 Event Handling Example
12:28 List of Events
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:
* Whitepaper on Software Craftsmanship: https://publications.kdab.com/bestpractices/