Qt XmlListModel
XML データから読み取り専用のモデルを作成するには、XmlListModel 型を使用します。これは、ビュー要素(ListView、PathView、GridViewなど)や、モデルデータと相互作用する他の要素(Repeaterなど)のデータソースとして使用することができます。
注: このモデルは XPath クエリをサポートしていません。単純なスラッシュで区切られたパスと、オプションとして、各要素に対して1つの属性をサポートします。
このモジュールの型を使用するには、以下の行でモジュールをインポートしてください:
import QtQml.XmlListModel
APIリファレンス
© 2025 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.