Qt Qml Models QML Types | Qt 6.12
Description: Provides QML types for data models
Keywords: qmlmodule

- Qt 6.12
- Qt Qml Models QML Types
- Qt 6.12.0 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

AllOfFilter | Combines multiple filters using logical AND in a SortFilterProxyModel
AnyOfFilter | Combines multiple filters using logical OR in a SortFilterProxyModel
DelegateChoice | Encapsulates a delegate and when to use it
DelegateChooser | Allows a view to use different delegates for different types of items in the model
DelegateModel | Encapsulates a model and delegate
DelegateModelGroup | Encapsulates a filtered set of visual data items
Filter | Abstract base type providing functionality common to filters
FunctionFilter | Filters data in a SortFilterProxyModel based on the evaluation of the designated 'filter' method
Instantiator | Dynamically creates objects
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
Package | Specifies a collection of named items
RangeFilter | Filters data in a SortFilterProxyModel by testing whether a role value falls within a given range
RegExpFilter | Filters data in a SortFilterProxyModel by matching a role value against a regular expression
RoleFilter | Abstract base type providing functionality to role-dependent filters
RoleSorter | Sort data in a SortFilterProxyModel based on configured role name
SortFilterProxyModel | Provides sorting and filtering capabilities for a QAbstractItemModel
Sorter | Abstract base type providing functionality common to sorters
StringSorter | Sort data in a SortFilterProxyModel based on ordering of the locale
ValueFilter | Filters data in a SortFilterProxyModel based on role name and value