Qt QML Models QML Types

이 QML 모듈에는 QML에서 데이터 모델을 정의하기 위한 유형이 포함되어 있습니다.

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

import QtQml.Models

참고: QtQml.Models 모듈은 상위 모듈의 버전과 일치하도록 버전 2.1부터 시작되었습니다, Qt Qml.

또한 Qt.labs.qmlmodels는 모델에 대한 실험적인 QML 유형을 제공합니다. 이러한 실험적 유형을 사용하려면 다음 줄과 함께 모듈을 임포트하세요:

import Qt.labs.qmlmodels

QML 유형

DelegateModel

모델과 델리게이트를 캡슐화합니다.

DelegateModelGroup

시각적 데이터 항목의 필터링된 집합을 캡슐화합니다.

Instantiator

동적으로 개체 생성

ItemSelectionModel

QAbstractItemModel 및 이를 지원하는 모든 뷰와 함께 사용할 QItemSelectionModel을 인스턴스화합니다.

ListElement

ListModel에서 데이터 항목을 정의합니다.

ListModel

자유 형식 목록 데이터 소스를 정의합니다.

ObjectModel

모델로 사용할 항목 집합을 정의합니다.

Package

명명된 항목의 컬렉션을 지정합니다.

실험적 QML 유형

DelegateChoice

델리게이트 및 사용 시기 캡슐화

DelegateChooser

뷰에서 모델의 다양한 항목 유형에 대해 서로 다른 대리자를 사용할 수 있도록 허용합니다.

TableModel

간단한 테이블 모델을 캡슐화합니다.

TableModelColumn

모델의 열을 나타냅니다.

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