Sorter QML Type

정렬기에 공통된 기능을 제공하는 추상 기본 유형입니다. 더 보기...

Import Statement: import QtQml.Models
Since: Qt 6.10
Inherits:

QtObject

Inherited By:

FunctionSorter, RoleSorter, and StringSorter

Status: Preliminary

이 유형은 개발 중이며 변경될 수 있습니다.

속성

상세 설명

소터는 상속하는 모든 소터에 대한 공통 속성 세트를 제공합니다.

속성 문서

column : int

이 속성은 이 소터가 적용되는 열을 보유합니다.

기본값은 0 입니다.


enabled : bool

이 속성을 사용하면 SortFilterProxyModel 에서 모델 데이터를 정렬하는 동안 이 소터를 고려할 수 있습니다.

기본값은 true 입니다.


priority : int

이 속성은 다른 소터와 비교하여 이 소터에 부여되는 우선 순위를 유지합니다. 값이 작을수록 우선 순위가 높아지고 값이 클수록 우선 순위가 낮아집니다.

기본값은 -1 입니다.


sortOrder : Qt::SortOrder

이 속성은 모델 데이터를 정렬할 때 SortFilterProxyModel 에서 사용하는 순서를 유지합니다.

기본값은 Qt::AscendingOrder 입니다.


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