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 」を選択します。
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.