Master Detail Example

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 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.

albumdetails.xml Example File

database.h Example File

dialog.cpp Example File

dialog.h Example File

mainwindow.cpp Example File

mainwindow.h Example File

main.cpp Example File

masterdetail.pro Example File

masterdetail.qrc Example File

icon.png Image File

image.png Image File