Qt Reference Documentation

# Models and Views: Sections ListView Example

Files:

- declarative/modelviews/listview/sections/sections.svg
- declarative/modelviews/listview/sections/qml/sections/dynamiclist.qml
- declarative/modelviews/listview/sections/qml/sections/expandingdelegates.qml
- declarative/modelviews/listview/sections/qml/sections/highlight.qml
- declarative/modelviews/listview/sections/qml/sections/highlightranges.qml
- declarative/modelviews/listview/sections/qml/sections/sections.qml
- declarative/modelviews/listview/sections/qml/sections/content/PetsModel.qml
- declarative/modelviews/listview/sections/qml/sections/content/PressAndHoldButton.qml
- declarative/modelviews/listview/sections/qml/sections/content/RecipesModel.qml
- declarative/modelviews/listview/sections/qml/sections/content/TextButton.qml
- declarative/modelviews/listview/sections/main.cpp
- declarative/modelviews/listview/sections/sections.pro
- declarative/modelviews/listview/sections/sections.qmlproject

This example shows how to use the ListView element.

sections.qml