Qt 5.11 | Qt Quick | Models and Views: Object ListModel Example

Qt 5.11.3 Reference Documentation

# Models and Views: Object ListModel Example

Shows how to use a QList<QObject*> as a model in QML.

Files:

- models/objectlistmodel/dataobject.cpp
- models/objectlistmodel/dataobject.h
- models/objectlistmodel/main.cpp
- models/objectlistmodel/objectlistmodel.pro
- models/objectlistmodel/objectlistmodel.qrc
- models/objectlistmodel/view.qml