このページでは

Qt Qml XmlListModel

XmlListModel 型を使用して、XMLデータから読み取り専用のモデルを作成します。これは、ビュー要素(ListView、PathView、GridViewなど)や、モデルデータと連携するその他の要素(Repeaterなど)のデータソースとして使用できます。

注:この モデルはXPathクエリをサポートしていません。スラッシュ区切りの単純なパスと、オプションで各要素につき1つの属性をサポートしています。

このモジュールの型を使用するには、次の行でモジュールをインポートしてください。

import QtQml.XmlListModel

API リファレンス

ライセンス

Qt Qml XmlListModel は、The Qt Company からの商用ライセンスの下で提供されています。さらに、GNU Lesser General Public License バージョン 3 またはGNU General Public License バージョン 2 の下でも利用可能です。詳細については、「Qt ライセンス」を参照してください。

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