Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
topic.qdoc
Go to the documentation of this file.
1// Copyright (C) 2017 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4/*!
5\page qtquick-modelviewsdata-topic.html
6\title Important Concepts In Qt Quick - Data - Models, Views and Data Storage
7\brief Overview of the data, model and view concepts
8
9Most applications will have data that needs to be displayed to the user. That
10data might come from a variety of sources: network sources, local files, and
11databases are all common sources of data.
12
13\section1 Models and Views
14
15It is often advantageous to show similar data in a similar manner, within an
16application, and this gives rise to the idea of having a model which contains
17data, and a view which displays the data. The view will display a delegate
18for every datum in the model.
19
20For information about how the Model/View paradigm is implemented in Qt Quick,
21see the page titled \l{qtquick-modelviewsdata-modelview.html}
22{Models and Views in Qt Quick}.
23
24\section1 Data Storage and Access
25
26Databases are commonly used to store information in applications. Qt Quick
27provides simplified access to relational databases via the
28\l QtQuick.LocalStorage module.
29
30*/
31