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 March 2024
As a user, there is nothing more annoying than a dialog saying "192.168.0.256 is not a valid IP address". Instead of allowing your user to type in invalid data, help them instead. There are three tools in your toolbox for that, namely input masks, validators and completers.
00:00 Introduction
00:51 Input Masks
06:51 Mask Example
10:05 Input Validators
13:12 Validator Example
16:07 QCompleter
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
All 'Introduction to Qt Widgets - Module 3' videos:
https://www.youtube.com/playlist?list=PL6CJYn40gN6hWZO_viEf1rfjgk4E6SCKd
Links:
* KDAB Braumeister Showcase: https://www.youtube.com/watch?v=OFohLXdtCzM
* Running clang-tidy and clazy from Qt Creator: https://www.youtube.com/watch?v=gO3KCzdmcrQ&list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI
* A Combo Box Which Completes UTF-8 as ASCII: https://youtu.be/GcUP-IFzbJA?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI
The example code showcased in this video is available here: https://github.com/KDABLabs/kdabtv/tree/master/Programming-With-Qt-Widgets