Premikanje v kodi QML
Poiščite metode in tipe QML ter preidite na implementacijo tipa QML v C++.
Poiščite metode QML
Če želite poiskati metodo QML:
- Pritisnite Ctrl+K, da aktivirate iskalnik.
- Vnesite m, sledijo presledek.

- Dvakrat kliknite metodo QML na seznamu, da se v urejevalniku premaknete nanjo.
Iskanje tipov QML
Če želite v projektu poiskati primere tipa QML, postavite kazalec na tip in izvedite eno od naslednjih dejanj:
- Izberite Ctrl+Shift+U.
- Pojdite na » Tools « > » QML/JS « > » Find References to Symbol Under Cursor «.
Pregled QML in JavaScript
Če želite pregledati lastnosti, metode in sezname v QML in JavaScriptu, postavite kurzor nanje in pojdite na » Tools « > » QML/JS « > » Inspect API for Element Under Cursor «.
Prehod med QML in C++
Če želite v urejevalniku kode preiti na implementacijo tipa QML v C++, postavite kurzor na tip in izvedite eno od naslednjih dejanj:
- Pritisnite tipko F2.
- V kontekstnem meniju izberite » Follow Symbol Under Cursor «.
Glejte tudi Kako: Urejanje kode, Clangd, Urejanje kode in Navigacija z lokatorjem.
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.