이 페이지에서

Qt XmlListModel

XmlListModel 타입을 사용하여 XML 데이터에서 읽기 전용 모델을 만듭니다. 이 유형은 뷰 요소(예: ListView, PathView 또는 GridView) 및 모델 데이터와 상호 작용하는 기타 요소(예: Repeater)의 데이터 소스로 사용할 수 있습니다.

참고: 이 모델은 XPath 쿼리를 지원하지 않습니다. 간단한 슬래시로 구분된 경로와 선택적으로 각 요소에 대해 하나의 속성을 지원합니다.

이 모듈의 유형을 사용하려면 다음 줄과 함께 모듈을 가져옵니다:

import QtQml.XmlListModel

API 참조

라이선스

Qt Qml XmlListModelThe Qt Company의 상용 라이선스에 따라 제공됩니다. 또한 GNU 약소 일반 공중 사용 허가서 버전 3 또는 GNU 일반 공중 사용 허가서 버전 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.