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
19 January 2024
Making your applications work without having to use the mouse all the time, helps improve its usability quite a bit. There are two ways in Qt to help with that: accelerators and tab order. This episode will show you both.
00:00 Introduction
00:36 Accelerators & Buddies
04:03 Tab Order
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:
* The Bug report: https://bugreports.qt.io/browse/QTCREATORBUG-29480
* Keyboard Focus Handling: https://doc.qt.io/qt-6/focus.html
* Code for Setting up the Tab Order Based on (x,y) Coordinates: https://github.com/KDAB/kdabtv/blob/master/Qt-Widgets-and-more/algorithms/ImprovedTabOrder.cpp
* Video explaining the above code: https://www.youtube.com/watch?v=iAEIPk64ZJw&list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI&index=95&t=968s (But do jump to the start of the video to understand it better)
* Testing Qt with Squish: https://training.kdab.com/portfolio/testing-qt-with-squish/
The example code showcased in this video is available here: https://github.com/KDAB/kdabtv/tree/master/Programming-With-Qt-Widgets