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
3 March 2021
In this module, we are going to discuss the basics of model/view programming with Qt/QML. How do we expose a set of data (a list, a table, etc.) from the business logic to C++? How much flexibility do we have before the data actually reaches QML?
In this first video, we are going to create a simple list model and interact with it from QML.
This is the last module of our Introduction to QML training series. It's been quite a journey, hasn't it? Glad that you've been with us for the whole time. We may publish some more QML content in the future, so don't forget to subscribe!
The example code showcased in this video is available here: https://github.com/KDAB/kdabtv
00:00 Introduction
02:04 Read-only List Model
03:28 C++ Models
05:01 Model Code Example
07:25 Data Method
11:10 Updating Data
Stay on top of the latest news, publications, events and more.
Go to Sign-up
Upgrade your applications from Qt 5 to Qt 6 with KDAB’s migration services. Get a free migration assessment and join a hands-on workshop to prepare your team for a successful transition!
Learn more
Learn Modern C++
Our hands-on Modern C++ training courses are designed to quickly familiarize newcomers with the language. They also update professional C++ developers on the latest changes in the language and standard library introduced in recent C++ editions.
Learn more