Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# Models and Views: Highlight ListView Example

Files:

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

This example shows how to highlight one item inside a ListView element.

highlight.qml