AI Adoption - Drive Business Value and Organizational Impact
Start speaking a new language. It’s just 3 weeks away.
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