Introduction to Qt Widgets (Part 21) - Buttons and Value Widgets
In this episode, we will continue looking at the most common widgets in Qt, focusing our attention to QPushButton, QRadioButton, QCheckbox, QSlider, QProgressBar and QSpinBox.
And, as always, we will dive in to a lots of details. Among other things there will be a bit of discussion on how you design your own APIs.
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:
* Contact KDAB for help: https://www.kdab.com/about/
* QWAM episode on button groups in designer: https://youtu.be/JuJkG4mp6Vw?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI
* Discussion in API design from Qt Widgets and More https://youtu.be/EGhHlPDeyvg?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI
* API Design: https://wiki.qt.io/API_Design_Principles / https://people.mpi-inf.mpg.de/~jblanche/api-design.pdf
* Documentation about QToolButton: https://doc.qt.io/qt-6/qtoolbutton.html
* Documentation about QRadioButton: https://doc.qt.io/qt-6/qradiobutton.html
* Documentation about QButton Group: https://doc.qt.io/qt-6/qbuttongroup.html
* Documentation about QCheckBox: https://doc.qt.io/qt-6/qcheckbox.html
* Documentation about QSlider: https://doc.qt.io/qt-6/qslider.html
* Documentation about QAbstractSlider: https://doc.qt.io/qt-6/qabstractslider.html#signals
* Documentation about QSlider Class Reference: https://doc.qt.io/archives/2.3/qslider.html
* Documentation about API Design Principles: https://wiki.qt.io/API_Design_Principles
* Documentation about QProgressBar: https://doc.qt.io/qt-6/qprogressbar.html
* Documentation about QSpinBox: https://doc.qt.io/qt-6/qspinbox.html
The example code showcased in this video is available here: https://github.com/KDAB/kdabtv/tree/master/Programming-With-Qt-Widgets
About the host:
The video is presented by Jesper Pedersen, who started with Qt back when Qt was widgets only and the version was 1.44, which gives him 21 years of experience with Qt. Since 2000 he has taught almost 100 Qt classes, ranging from Qt Widgets to QML. Heck, Jesper even taught a few classes on QTopia Core — Trolltech's initial attempt at creating a phone stack. Today Jesper holds a fancy business title, but that doesn't prevent him from coding both in his job and in his spare time.
Every month our newsletter is featuring technical blogs on Qt, C++ and 3D topics: https://www.kdab.com/development-resources/sign-up-for-our-newsletter/
About KDAB:
KDAB offers experienced software experts to help you deliver functional, high-performing and innovative software across embedded, mobile and desktop platforms for projects using C++, Qt, QML/Qt Quick, OpenGL, Qt 3D and more. https://www.kdab.com/software-services
KDAB experts regularly take time out to deliver KDAB’s world class training, in-house or at open enrolment courses around the world. We are the market leaders for training in Qt, OpenGL and C++.
Contact us to find out more at training@kdab.com or visit our website: https://www.kdab.com/software-services/scheduled-training/
We are over 100 people, located all around the world. Our Head Office is in Sweden and we have other offices in Germany, France, the UK and the USA. https://www.kdab.com/about/contact/
6