Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Model View Delegate Explained with QML - Part 1

Qt Group via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the Model View Delegate (MVD) pattern in Qt through this 12-minute tutorial that introduces the fundamental architecture for organizing data presentation in QML applications. Discover how Models, Views, and Delegates work together as separate components to create flexible and maintainable user interfaces. Master working with different model types including simple integers, string arrays, and complex object arrays with multiple data roles. Learn the importance of required properties in delegates for type safety and understand how to properly bind model data using modelData and index properties. Practice mapping model roles to delegate properties while building practical examples that demonstrate each concept. Follow along with hands-on coding exercises that progress from basic integer models with Repeater components to more sophisticated object array implementations. Access the complete code repository and continue your learning journey with the full "Model View Delegate with QML" series, designed to build your expertise in Qt's data handling patterns step by step.

Syllabus

Introduction to Model View Delegate
Setting Up the Initial Project
Understanding Models, Views, and Delegates
Integer Models with Repeater
Required Properties Explained
String Array Models
Object Array Models with Multiple Roles

Taught by

Qt Group

Reviews

Start your review of Model View Delegate Explained with QML - Part 1

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.