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
12 May 2020
Qt’s model/view framework is without doubt one of the hardest parts in Qt to get right. Implementing a list model is relatively easy, but once you turn to implementing tree models you need to handle your own indexes, which we’ve seen people grow lots of grey hair over, for more than a decade now.
Now add to the equation that you want to filter, sort, or transform these models in many different ways (using proxy models), and that on top of that you need to communicate, say in response to mouse events, from the top of the proxy stack to the model at the bottom etc.
You might also want to paint and handle events differently per row, per column, or even per cell in your view. In that case you will need to implement your own delegates.
In this 1 day online training we will walk you through all of the above steps. Starting with a simple list model, then turning to tree models where we will discuss strategies for how to go from the world of model indexes to the world of your data and back again. Learn more and sign up on https://training.kdab.com/portfolio/qt-widgets-for-the-desktop/