이 페이지에서

QML 코드에서 이동

QML 메서드 및 유형을 찾고, QML 유형의 C++ 구현으로 이동합니다.

QML 메서드 찾기

QML 메서드를 찾으려면

  1. Ctrl+K를 선택하여 로케이터를 활성화합니다.
  2. m을 입력한 다음 공백을 입력합니다.

    로케이터의 m 필터

  3. 목록에서 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.