Qt QML Models QML Types

This module was introduced in Qt 5.1.

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

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

In addition, Qt.labs.qmlmodels provides experimental QML types for models. To use these experimental types, import the module with the following line:

 import Qt.labs.qmlmodels

QML Types

ItemSelectionModel

Instantiates a QItemSelectionModel to be used in conjunction with a QAbstractItemModel and any view supporting it

Experimental QML Types

TableModel

Encapsulates a simple table model

TableModelColumn

Represents a column in a model