Models and Views: AbstractItemModel Example | Qt Quick 5.12.6

Qt 5.12 | Qt Quick | Models and Views: AbstractItemModel Example

Qt 5.12.6 Reference Documentation

# Models and Views: AbstractItemModel Example

Shows how to use a QAbstractItemModel subclass as a model in QML.

Files:

- models/abstractitemmodel/abstractitemmodel.pro
- models/abstractitemmodel/abstractitemmodel.qrc
- models/abstractitemmodel/main.cpp
- models/abstractitemmodel/model.cpp
- models/abstractitemmodel/model.h
- models/abstractitemmodel/view.qml