Sorter QML Type
정렬기에 공통적으로 필요한 기능을 제공하는 추상 기본 유형입니다. 더 보기...
| Import Statement: | import QtQml.Models |
| Since: | Qt 6.10 |
| Inherits: | |
| Inherited By: | |
| Status: | Technology preview |
이 유형은 기술 미리보기 단계에 있으며 변경될 수 있습니다.
속성
상세 설명
Sorter는 모든 정렬기가 상속받는 공통 속성 세트를 제공합니다.
속성 문서
column : int
이 속성은 이 정렬기가 적용되는 열을 나타냅니다.
기본값은 0 입니다.
enabled : bool
이 속성은 SortFilterProxyModel 가 모델 데이터를 정렬할 때 이 정렬기를 고려하도록 합니다.
기본값은 true 입니다.
priority : int
이 속성은 다른 정렬기와 비교하여 이 정렬기에 부여되는 우선순위를 나타냅니다. 값이 작을수록 우선순위가 높고, 값이 클수록 우선순위가 낮아집니다.
기본값은 -1 입니다.
sortOrder : Qt::SortOrder
이 속성은 SortFilterProxyModel 가 모델 데이터를 정렬할 때 사용하는 순서를 지정합니다.
기본값은 Qt::AscendingOrder 입니다.
© 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.