Qt Reference Documentation

# Models and Views: ListView Example

Files:

- declarative/modelviews/listview/dynamiclist.qml
- declarative/modelviews/listview/expandingdelegates.qml
- declarative/modelviews/listview/highlight.qml
- declarative/modelviews/listview/highlightranges.qml
- declarative/modelviews/listview/sections.qml
- declarative/modelviews/listview/content/PetsModel.qml
- declarative/modelviews/listview/content/PressAndHoldButton.qml
- declarative/modelviews/listview/content/RecipesModel.qml
- declarative/modelviews/listview/content/TextButton.qml

These examples show how to use the ListView element.

dynamiclist.qml

expandingdelegates.qml

highlight.qml

highlightranges.qml

sections.qml