Qt XmlListModel QML Types

此 QML 模块包含从 XML 数据创建模型的类型。

要使用该模块中的类型,请用以下一行导入该模块:

import QtQml.XmlListModel

XmlListModel

用于使用 XML 数据指定只读模型

XmlListModelRole

用于为 XmlListModel 指定角色

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