Qt QML Models QML Types | Qt QML 5.9

Qt 5.9 | Qt QML | Qt QML Models QML Types

Qt 5.9.9 Reference Documentation

# Qt QML Models QML Types

This QML module contains types for defining data models in QML.

To use the types in this module, import the module with the following line:

      import QtQml.Models 2.2

Note that QtQml.Models module started at version 2.1 to match the version of the parent module, Qt QML.

DelegateModel | Encapsulates a model and delegate
DelegateModelGroup | Encapsulates a filtered set of visual data items
ItemSelectionModel | Instantiates a QItemSelectionModel to be used in conjunction with a QAbstractItemModel and any view supporting it
ListElement | Defines a data item in a ListModel
ListModel | Defines a free-form list data source
ObjectModel | Defines a set of items to be used as a model