We open again Page1Form.ui.qml in the Designer. By browsing the components available by default in Qt Quick Designer (the QML Types tab on the top left), we will find a few that we may think are suitable for representing a list. Yet, if we perform a keyword lookup for a list in the search field at the top of QML Types, we'll only see one result: List View. A quick look at Qt's documentation (http://doc.qt.io/qt-5.9/qml-qtquick-listview.html) will tell us what ListView is useful for, and whether it can be useful to us. It turns out it is. The ListView is capable of showing data dynamically from a model, updating itself every time the model changes. On top of that, ListView provides scroll support for touch interactions, ...
Check available groceries
Get End to End GUI Development with Qt5 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.