Qt 5.6 | Qt SQL | Master Detail Example

Qt 5.6.2 Reference Documentation

# Master Detail Example

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/mainwindow.cpp
- masterdetail/mainwindow.h
- masterdetail/main.cpp
- masterdetail/masterdetail.pro
- masterdetail/masterdetail.qrc

Images:

- masterdetail/images/icon.png
- masterdetail/images/image.png