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

YouTube

Displaying Data with QML - Model View Delegate with QML #2

Qt Group via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore Qt's built-in models and views in this 10-minute tutorial that demonstrates practical implementation of FolderListModel with GridView and builds a 7-day weather forecast using ListModel and ListView. Master the fundamentals of displaying file system contents through FolderListModel, configure GridView layouts with cellWidth and cellHeight properties, and create dynamic ListModel structures with ListElement items containing custom roles for weather data. Learn to display data horizontally using ListView, implement smooth visual transitions when adding items, and understand runtime methods for modifying and retrieving model data. Discover how to add data imperatively using the append() method and enhance user experience with transitions and animations. This tutorial serves as part 2 of the "Model View Delegate with QML" series, building upon previous fundamentals while providing hands-on experience with Qt's data display capabilities through practical weather application development.

Syllabus

Introduction to Built-In Models
Qt's Built-In Model Types Overview
FolderListModel with GridView
Creating the GridView Delegate
Running the GridView Example
Introduction to ListModel
Creating Weather Data with ListElements
Adding Data Imperatively with append
ListView for Weather Forecast
Adding Transitions and Animations

Taught by

Qt Group

Reviews

Start your review of Displaying Data with QML - Model View Delegate with QML #2

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.