Qt QML Models QML Types

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

이 모듈의 유형을 사용하려면 다음 줄과 함께 모듈을 임포트하세요:

import QtQml.Models

DelegateChoice

대리자 및 사용 시기 캡슐화

DelegateChooser

뷰에서 모델의 여러 항목 유형에 대해 서로 다른 델리게이트를 사용할 수 있도록 허용합니다.

DelegateModel

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

DelegateModelGroup

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

Filter

필터에 공통된 기능을 제공하는 추상적 기본 유형

FunctionFilter

지정된 '필터' 메서드의 평가에 따라 SortFilterProxyModel의 데이터를 필터링합니다.

FunctionSorter

지정된 'sort' 메서드의 평가에 따라 SortFilterProxyModel에서 데이터를 정렬합니다.

Instantiator

동적으로 객체를 생성합니다.

ItemSelectionModel

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

ListElement

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

ListModel

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

ObjectModel

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

Package

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

RoleFilter

역할 종속 필터에 기능을 제공하는 추상적 기본 유형

RoleSorter

구성된 역할 이름에 따라 SortFilterProxyModel의 데이터를 정렬합니다.

SortFilterProxyModel

QAbstractItemModel에 대한 정렬 및 필터링 기능을 제공합니다.

Sorter

소터에 공통된 기능을 제공하는 추상적 기본 유형

StringSorter

로캘의 순서에 따라 SortFilterProxyModel의 데이터를 정렬합니다.

ValueFilter

역할 이름 및 값을 기반으로 SortFilterProxyModel의 데이터를 필터링합니다.

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