QML 동적 보기 순서 지정 자습서

이 자습서에서는 소스 모델을 수정하지 않고 ListView 의 항목을 다시 정렬하는 방법을 보여 줍니다. 끌어서 놓기를 사용하여 뷰 내에서 개별 항목의 위치를 변경하고 모델 데이터를 사용하여 뷰의 모든 항목을 동적으로 정렬하는 방법을 보여 줍니다.

자습서 챕터:

  1. 간단한 목록 뷰 및 위임
  2. 뷰 항목 끌기
  3. 드래그한 항목 이동
  4. 항목 정렬

이 튜토리얼의 모든 코드는 Qt의 examples/quick/tutorials/dynamicview 디렉터리에서 찾을 수 있습니다.

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