Qt QML Models
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
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
Encapsulates a delegate and when to use it | |
Allows a view to use different delegates for different types of items in the model | |
Encapsulates a model and delegate | |
Encapsulates a filtered set of visual data items | |
Abstract base type providing functionality common to filters | |
Filters data in a SortFilterProxyModel based on the evaluation of the designated 'filter' method | |
Sorts data in a SortFilterProxyModel based on the evaluation of the designated 'sort' method | |
Dynamically creates objects | |
Instantiates a QItemSelectionModel to be used in conjunction with a QAbstractItemModel and any view supporting it | |
Defines a data item in a ListModel | |
Defines a free-form list data source | |
Defines a set of items to be used as a model | |
Specifies a collection of named items | |
Abstract base type providing functionality to role-dependent filters | |
Sort data in a SortFilterProxyModel based on configured role name | |
Provides sorting and filtering capabilities for a QAbstractItemModel | |
Abstract base type providing functionality common to sorters | |
Sort data in a SortFilterProxyModel based on ordering of the locale | |
Filters data in a SortFilterProxyModel based on role name and value |
Experimental QML Types
Encapsulates a simple table model | |
Represents a column in a model | |
Encapsulates a simple tree model |
Licenses
Qt Qml Models is available under commercial licenses from The Qt Company. In addition, it is available under the GNU Lesser General Public License, version 3, or the GNU General Public License, version 2. See Qt Licensing for further details.