Models and Views: Object ListModel Example

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

范例工程 @ code.qt.io