Skip to content

Qt’s Model/View framework
for widget development
Learn Qt with courses tailored to your needs

Learn Qt with courses tailored to your needs

KDAB has delivered 700+ Qt courses for companies such as Boeing, CERN, IBM, Intel, Roche, Siemens and Shell. When you join or order one of our market leading “Programming with Qt” courses, we bring the whole deck of Qt Training material. This enables our trainers to make last minute adaptations suited to the participants’ needs. This means that if you turn out to have, say, a strong interest in multi-threading, then that material is already included in the class handout, and can easily be covered.

 

We currently offer six course variants:

Qt’s Model/View framework for widget development

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 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.

Following that we will discuss proxy models, and especially, how to pass data through them. Finally we will discuss delegates.

The training will be a mix of presentations and hands-on exercises (of which we aim to do 3-4). You need to have a development environment set up.

As the title suggest, this training is aimed at people developing for Qt Widgets. Should you be developing for QML, then you are of course welcome to join, but between the two environments there is quite a bit of difference. This training would, however, ensure a solid understanding of the framework.

Course Contents:

  • Model/View Concepts
  • List Models
  • Table Models
  • Tree Models
  • Proxy Models
  • Delegates
  • Supplemental topics:
  • Customizing the views
  • value based models

Information:

 

Target audience: Qt Widgets developers
Duration: One-day training course
Prerequisite: Experience with Qt Widgets for Desktop

Next course

Wednesday, 17th June 2020, Online, English Duration 1 day. Starting 8:30am CET Price 500 Euro (+VAT) (regular price 700 Euro. We offer a release discount)

Sign up:

FromDaysLocation/TimeCourseLanguagePrice Ex. VATStatusRegister
September 25th, 2023 5 Online 16:00-20:00 UTC, Mon-Fri Introduction to Rust English € 2250.00 (plus VAT if applicable)
5day,english,introduction
September 26th, 2023 3 9:00-17:00 CEST Berlin, Germany Introduction to Qt/QML English € 1500.00 (plus VAT if applicable) Confirmed
english,introduction,qml,qt
October 5th, 2023 0.5 Online 16:00-22:00 UTC WhyRust? English € 500.00 (plus VAT if applicable)
english,introduction
October 17th, 2023 2 9:00-17:00 CEST Berlin, Germany Introduction to Qt Design Studio English € 1500.00 (plus VAT if applicable)
2day,english,studio,ui,ux
October 23rd, 2023 4 9:00-17:00 CEST Berlin, Germany Advanced Modern C++ English € 2400.00 (plus VAT if applicable) Confirmed
4day,c++,english,modern-c++,multithreading
October 23rd, 2023 5 Online 12:00-16:00 UTC, Mon-Fri Introduction to Rust English € 2250.00 (plus VAT if applicable)
5day,english,introduction
October 23rd, 2023 6 Online over 2 weeks Mon-Wed 14:00-18: CEST Embedded Rust English € 2700.00 (plus VAT if applicable)
english,introduction
October 26th, 2023 2 Online 9:00-17:00 CEST, Thu-Fri Introduction à CMake French € 1500.00 (plus VAT if applicable)
cmake,french,introduction
November 7th, 2023 3 9:00-17:00 CET Berlin, Germany Advanced QML English € 1800.00 (plus VAT if applicable)
advanced,english,qml
November 7th, 2023 0.5 Online 9:00-13:00 UTC WhyRust? English € 500.00 (plus VAT if applicable)
english,introduction
November 20th, 2023 5 Online 9:00-13:15 CET, Mon-Fri Formation Qt Widgets French € 1500.00 (plus VAT if applicable)
french,widgets
December 12th, 2023 3 9:00-17:00 CET Berlin, Germany Debugging and Profiling Qt applications on Windows English € 2200.00 (plus VAT if applicable)
debug,english,qt,windows
Check out our complete course schedule…

For more information

Contact us

FacebookTwitterLinkedInEmail