forked from qt-creator/qt-creator
Doc: finding QML components with Find Usage
Change-Id: I66565602b9d63897f32bcb20bf68f9077d42fc54 Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
This commit is contained in:
@@ -1157,17 +1157,19 @@
|
||||
|
||||
\section1 Finding Symbols
|
||||
|
||||
To find the use of a specific symbol in your Qt C++ or Qt Quick project:
|
||||
To find the use of a specific symbol or \l{glossary-component}
|
||||
{QML component} in your Qt C++ or Qt Quick project:
|
||||
|
||||
\list 1
|
||||
|
||||
\o In the editor, place the cursor on the symbol, and select:
|
||||
\o In the editor, place the cursor on the symbol or component, and
|
||||
select:
|
||||
|
||||
\list
|
||||
|
||||
\o \gui {Tools > C++ > Find Usages}
|
||||
|
||||
\o \gui {Tools > QML > Find Usages}
|
||||
\o \gui {Tools > QML/JS > Find Usages}
|
||||
|
||||
\o \key Ctrl+Shift+U
|
||||
|
||||
|
||||
@@ -84,6 +84,21 @@
|
||||
as build configurations, compatible tool chains, and supported
|
||||
Qt versions) as targets to make cross-platform development
|
||||
easier.
|
||||
|
||||
\row
|
||||
\o
|
||||
\raw HTML
|
||||
Component
|
||||
\endraw
|
||||
\target glossary-component
|
||||
\o A component is an instantiable QML definition, typically
|
||||
contained in a .qml file. For instance, a Button component may
|
||||
be defined in Button.qml. The QML runtime may instantiate this
|
||||
Button component to create Button objects. Alternatively, a
|
||||
component may be defined inside a
|
||||
\l{http://doc.qt.nokia.com/4.7-snapshot/qmlreusablecomponents.html}
|
||||
{Component} element.
|
||||
|
||||
\endtable
|
||||
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user