Populating a Combobox from Qt Designer

preview_player
Показать описание
Let's revisit Qt Designer once more, this time to discuss combo boxes. Mapping a QComboBox's entry to a specific value is easy in C++, but not so easy when the combo box is populated from within Qt Designer. How do we improve the situation?

All Qt Widgets and more videos:

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.

About KDAB:

KDAB experts regularly take time out to deliver KDAB’s world class training, in-house or at open enrollment courses around the world. We are the market leaders for training in Qt, OpenGL and C++.

Рекомендации по теме
Комментарии
Автор

All I ever wanted, all I ever needed, is here, in ... this video.

neilclay
Автор

Thanks for the video. I was implementing almost the same a few months ago. And I also love QWidgets and Depeche Mode.

Btw, I hope at some point you continue the GammaRay video series and show how to compile it with support for the StateMachine-Viewer for Windows. I struggle with that and never got it working...

unakaroshi