マスター・ディテール例
「マスター・ディテール」の例では、同じアプリケーション内で異なるデータソースからのデータを表示する方法を示しています。アルバムのタイトル、およびそれに対応するアーティスト名とリリース日はデータベースに格納されており、各アルバムの収録曲はXMLファイルに保存されています。
また、このサンプルでは、Qt SQL モジュールおよびQt XML モジュールがそれぞれ提供するAPIを使用して、データベースと関連するXMLファイルの両方からデータを追加および削除する方法も示しています。

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