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

Important Concepts In Qt Quick - Data - Models, Views and Data Storage

Overview of the data, model and view concepts.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Important Concepts In Qt Quick - Data - Models, Views and Data Storage▲

Most applications will have data that needs to be displayed to the user. That data might come from a variety of sources: network sources, local files, and databases are all common sources of data.

Models and Views▲

It is often advantageous to show similar data in a similar manner, within an application, and this gives rise to the idea of having a model which contains data, and a view which displays the data. The view will display a delegate for every datum in the model.

For information about how the Model/View paradigm is implemented in Qt Quick, see the page titled Models and Views in Qt Quick.

Data Storage and Access▲

Databases are commonly used to store information in applications. Qt Quick provides simplified access to relational databases via the QtQuick.LocalStorage module.

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