Master Detail Example
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.
Files:
- masterdetail/albumdetails.xml
- masterdetail/database.h
- masterdetail/dialog.cpp
- masterdetail/dialog.h
- masterdetail/main.cpp
- masterdetail/mainwindow.cpp
- masterdetail/mainwindow.h
- masterdetail/masterdetail.pro
- masterdetail/masterdetail.qrc
Images:
© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.