PowerBI Data Analyst - Create visualizations and dashboards from scratch
Free courses from frontend to fullstack and AI
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
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