Qt Reference Documentation

Models and Views: AbstractItemModel Example

Files:

This example shows how to use a QAbstractItemModel subclass as a model in QML.