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
April 25th, 2023 3 9:00-17:00 CEST Berlin, Germany Modern OpenGL: Introduction English € 1800.00 (plus VAT if applicable)
3d,3day,english,introduction,opengl
May 9th, 2023 3 9:00-17:00 CEST Berlin, Germany Advanced QML English € 1800.00 (plus VAT if applicable) Confirmed
advanced,english,qml
May 11th, 2023 2 Online 9:00-17:00 CEST, Thu-Fri Introduction à CMake French € 1500.00 (plus VAT if applicable)
cmake,french,introduction
May 23rd, 2023 3 Online 9:00-17:00 CEST, Tue-Thu Programmation Qt QML Avancée French € 1800.00 (plus VAT if applicable)
advanced,french,qml
May 23rd, 2023 2 9:00-17:00 CEST, Berlin, Germany Introduction to CMake English € 1500.00 (plus VAT if applicable) Confirmed
cmake,english,introduction
June 5th, 2023 7 Online 9:00-13:00 CEST, Mon-Fri+ Mon-Tue Formation C++11/C++14/C++17 French € 2400.00 (plus VAT if applicable)
c++,french
June 19th, 2023 4 9:00-17:00 CEST Berlin, Germany Modern C++: C++11 / C++14 / C++17 English € 2400.00 (plus VAT if applicable)
4day,c++,english,modern-c++,multithreading
June 19th, 2023 5 Online 9:00-13:15 CET, Mon-Fri Introduction à Qt QML French € 1500.00 (plus VAT if applicable)
french,introduction,qml,qt
September 19th, 2023 3 9:00-17:00 CEST Berlin, Germany Testing Qt with Squish English € 1500.00 (plus VAT if applicable)
2day,3day,4day,5day,english,gui,qt,squish,testing
September 26th, 2023 3 9:00-17:00 CEST Berlin, Germany Introduction to Qt/QML English € 1500.00 (plus VAT if applicable)
english,introduction,qml,qt
October 23rd, 2023 4 9:00-17:00 CEST Berlin, Germany Modern C++: C++11 / C++14 / C++17 English € 2400.00 (plus VAT if applicable)
4day,c++,english,modern-c++,multithreading
November 20th, 2023 5 Online 9:00-13:15 CET, Mon-Fri Formation Qt Widgets French € 1500.00 (plus VAT if applicable)
french,widgets
November 28th, 2023 3 9:00-17:00 CET Berlin, Germany Advanced QML English € 1800.00 (plus VAT if applicable)
advanced,english,qml
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