📜 ⬆️ ⬇️

QML and QtQuick Webinars: Lists. Models and representations

The topic of today's episode of the QML and Qt Quick webinar series is “Lists. Models and representations.

This time, webinar author Kirill Krinkin talks about the Model-View-Controller concept and devotes almost the entire webinar to working with models and views. After watching the video, you will learn what static and dynamic models are used for and how they are arranged in Qt Quick, how to use delegates to display elements of the data model in list items or other visual containers.

The use of static models and representations is shown by the example of a simple address book in the form of a list. To write it, the author of the webinar creates three entities: the delegate components, the model, and the main file, describing each step in detail.
')
The second example demonstrating how the XmlListModel dynamic model works explains how to work with XML files and creates a simple RSS reader.

Do not forget to subscribe to our YouTube-channel for developers. Enjoy watching!

Source: https://habr.com/ru/post/143283/


All Articles