Models and Views: AbstractItemModel Example

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

范例工程 @ code.qt.io