Qt QML Models QML Types
이 QML 모듈에는 QML에서 데이터 모델을 정의하기 위한 유형이 포함되어 있습니다.
이 모듈의 유형을 사용하려면 다음 줄과 함께 모듈을 가져오세요:
import QtQml.Models
또한 Qt.labs.qmlmodels는 모델에 대한 실험적인 QML 유형을 제공합니다. 이러한 실험적 유형을 사용하려면 다음 줄과 함께 모듈을 임포트하세요:
import Qt.labs.qmlmodels
QML 유형
모델과 델리게이트를 캡슐화합니다. | |
시각적 데이터 항목의 필터링된 집합을 캡슐화합니다. | |
동적으로 개체 생성 | |
QAbstractItemModel 및 이를 지원하는 모든 뷰와 함께 사용할 QItemSelectionModel을 인스턴스화합니다. | |
ListModel에서 데이터 항목을 정의합니다. | |
자유 형식 목록 데이터 소스를 정의합니다. | |
모델로 사용할 항목 집합을 정의합니다. | |
명명된 항목의 컬렉션을 지정합니다. |
실험적 QML 유형
델리게이트 및 사용 시기 캡슐화 | |
뷰에서 모델의 다양한 항목 유형에 대해 서로 다른 대리자를 사용할 수 있도록 허용합니다. | |
간단한 테이블 모델을 캡슐화합니다. | |
모델의 열을 나타냅니다. |
© 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.