Qt Quick における重要な概念 - データ - モデル、ビュー、データストレージ

ほとんどのアプリケーションには、ユーザーに表示する必要のあるデータがあります。ネットワークソース、ローカルファイル、データベースはすべて一般的なデータソースです。

モデルとビュー

アプリケーションの中で、同じようなデータを同じような方法で表示することは、しばしば有利です。ビューは、モデル内のすべてのデータに対してデリゲートを表示します。

モデル/ビューパラダイムがQt Quick でどのように実装されているかについては、 Qt Quick のモデルとビューというページを参照してください。

データの保存とアクセス

Qt QuickQtQuick.LocalStorage モジュールを介してリレーショナル・データベースへの簡易アクセスを提供します。

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