QMLコード内の移動
QML のメソッドや型を検索し、QML 型の C++ 実装に移動します。
QMLメソッドを探す
QML メソッドを検索するには
- Ctrl+Kを選択し、ロケータを起動します。
- m と入力し、その後にスペースを入力します。

- リスト内の QML メソッドをダブルクリックすると、エディター上でそのメソッドに移動します。
QML タイプの検索
プロジェクト内の QML タイプのインスタンスを検索するには、そのタイプにカーソルを置き、 以下のいずれかの操作を行います:
- Ctrl+Shift+U を選択する。
- Tools >QML/JS >Find References to Symbol Under Cursor に移動します。
QMLとJavaScriptの検査
QML と JavaScript のプロパティ、メソッド、列挙型を調べるには、カーソルをそれらの上に置き、Tools >QML/JS >Inspect API for Element Under Cursor に進みます。
QML と C++ の間の移動
コードエディターで QML 型の C++ 実装に移動するには、その型にカーソルを置き、次のいずれかを 行います:
- F2 を選択する。
- コンテキストメニューのFollow Symbol Under Cursor に移動する。
How To: Edit Code」、「Clangd」、「Edit Mode」、「Navigate with locator」も参照して ください。
Copyright © The Qt Company Ltd. and other contributors. 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.