Important Concepts In Qt Quick - Data - Models, Views and Data Storage¶
Overview of the data, model and view concepts
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.
© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.