Spostarsi nel codice QML
Trova metodi e tipi QML e passa all'implementazione in C++ di un tipo QML.
Individuare i metodi QML
Per individuare un metodo QML:
- Premere Ctrl+K per attivare il localizzatore.
- Digitare m, seguito da uno spazio.

- Fare doppio clic su un metodo QML nell'elenco per passare a esso nell'editor.
Trovare i tipi QML
Per trovare le istanze di un tipo QML in un progetto, posizionare il cursore sul tipo ed eseguire una delle seguenti operazioni:
- Seleziona Ctrl+Shift+U.
- Vai su " Tools " > " QML/JS " > " Find References to Symbol Under Cursor".
Ispezionare QML e JavaScript
Per ispezionare proprietà, metodi ed enumerazioni QML e JavaScript, posizionare il cursore su di essi e andare su " Tools " > " QML/JS " > " Inspect API for Element Under Cursor".
Passare da QML a C++
Per passare all’implementazione in C++ di un tipo QML nell’editor di codice, posizionare il cursore sul tipo ed eseguire una delle seguenti operazioni:
- Premere F2.
- Selezionare " Follow Symbol Under Cursor " dal menu contestuale.
Vedi anche Come: Modificare il codice, Clangd, Modifica del codice e Navigazione con il localizzatore.
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.