Qt Quick 例 - キーボード操作
ここでは、QMLにおけるキーボード操作の例をまとめています。

『Qt Quick 』の「キーボードフォーカス」では、キーボードフォーカスを処理するさまざまな方法が組み合わされています。詳細については、『Qt Quick 』の「キーボードフォーカス」をご覧ください。
例の動作確認
以下の手順でサンプルを実行できます:
- Qt Creator
Welcome モードを開き、Examples からこの例を選択してください。詳細については、Qt Creator: チュートリアル: ビルドと実行を参照してください。
- Qt Extension for Visual Studio Code
Command Palette から `Qt: Open Qt examples ` コマンドを実行し、リストからサンプルを選択します。詳細については、Qt Extension for Visual Studio Code の「チュートリアル: ビルドと実行」を参照してください。
キーボードの矢印キーを使用すると、フォーカスがメニューや「GridView 」に移動します。
© 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.