QML 動的ビュー順序変更チュートリアル
このチュートリアルでは、ソースモデルを変更せずにListView 内の項目の順序を変更する方法について説明します。ドラッグ&ドロップを使用してビュー内の個々の項目の位置を変更する方法や、モデルデータを使用してビュー内のすべての項目を動的に並べ替える方法を実演します。
チュートリアルの章:
このチュートリアルのすべてのコードは、Qt XMLのexamples/quick/tutorials/dynamicview ディレクトリにあります。
© 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.