IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Qt QML Models QML Types

Provides QML types for data models.

This module was introduced in Qt 5.1.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

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:

 
Sélectionnez
import QtQml.Models

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:

 
Sélectionnez
import Qt.labs.qmlmodels

QML Types

  • DelegateModel: Encapsulates a model and delegate.

  • DelegateModelGroup: Encapsulates a filtered set of visual data items.

  • 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.

Experimental QML Types

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+