2022-05-10 10:06:48 +00:00
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
2011-04-27 10:05:43 +00:00
/*!
2012-09-18 18:32:53 +00:00
\example masterdetail
2011-04-27 10:05:43 +00:00
\title Master Detail Example
2012-11-30 17:06:19 +00:00
\ingroup sql_examples
2023-07-12 10:37:07 +00:00
\examplecategory {Data Processing & I/O}
2011-04-27 10:05:43 +00:00
2012-11-28 16:04:12 +00:00
\brief The Master Detail Example shows how to present data from different
2011-04-27 10:05:43 +00:00
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.
2025-04-01 14:23:24 +00:00
The example also shows how to add, as well as remove data from both
2011-04-27 10:05:43 +00:00
the database and the associated XML file using the API provided by
2012-12-28 18:09:39 +00:00
the Qt SQL and Qt XML modules, respectively.
2011-04-27 10:05:43 +00:00
2025-04-01 14:23:24 +00:00
\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}
2011-04-27 10:05:43 +00:00
*/