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.