Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
9
Most applications will have data that needs to be displayed to the user. That
10
data might come from a variety of sources: network sources, local files, and
11
databases are all common sources of data.
12
13
\section1 Models and Views
14
15
It is often advantageous to show similar data in a similar manner, within an
16
application, and this gives rise to the idea of having a model which contains
17
data, and a view which displays the data. The view will display a delegate
18
for every datum in the model.
19
20
For information about how the Model/View paradigm is implemented in Qt Quick,
21
see the page titled \l{qtquick-modelviewsdata-modelview.html}
22
{Models and Views in Qt Quick}.
23
24
\section1 Data Storage and Access
25
26
Databases are commonly used to store information in applications, and Qt includes
27
\l{Using SQL databases with Qt Quick Views}{models that provide access to SQL databases}.
28
For simple access to SQLite storage, Qt Quick provides the \l QtQuick.LocalStorage module.
29
30
*/
qtdeclarative
src
quick
doc
src
concepts
modelviewsdata
topic.qdoc
Generated on
for Qt by
1.14.0