mirror of https://github.com/qt/qtbase.git
22 lines
899 B
Plaintext
22 lines
899 B
Plaintext
// Copyright (C) 2016 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
|
|
|
|
/*!
|
|
\example masterdetail
|
|
\title Master Detail Example
|
|
\ingroup sql_examples
|
|
\examplecategory {Data Processing & I/O}
|
|
|
|
\brief The Master Detail Example shows how to present data from different
|
|
data sources in the same application. The album titles, and the
|
|
corresponding artists and release dates, are kept in a
|
|
database, while each album's tracks are stored in an XML
|
|
file.
|
|
|
|
The example also shows how to add, as well as remove data from both
|
|
the database and the associated XML file using the API provided by
|
|
the Qt SQL and Qt XML modules, respectively.
|
|
|
|
\image masterdetail-example.png {The main window displays artist and album information from the database, together with the album tracks stored in an XML file}
|
|
*/
|