Qt Quick 例題 - ローカルストレージ

QMLのローカルストレージのサンプル集です。

Local Storageは、Qt Quickローカルストレージ機能に関連する小さなQMLの例集です。

例の実行

例題を実行するには Qt Creatorからサンプルを実行するには、Welcome モードを開き、Examples からサンプルを選択してください。詳しくは、Building and Running an Exampleをご覧ください。

アクティビティトラッカー

アクティビティ・トラッカーは、散歩、ハイキング、自転車旅行の記録を取ることができます。

すべてのデータベース・トランザクションはDatabase.jsで処理されます。データベースは起動時にチェックされ、存在しない場合は作成される。LocalStorageはSQLiteを使用しています。SQLiteは自己完結型、サーバーレス、パブリックドメインのデータベースです。データベースへの接続は、データを操作したり取得したりする各関数の最初に処理されます。

プロジェクト例 @ code.qt.io

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