OSDN Git Service

Doc: finding QML components with Find Usage
authorLeena Miettinen <riitta-leena.miettinen@nokia.com>
Wed, 12 Oct 2011 12:29:55 +0000 (14:29 +0200)
committerLeena Miettinen <riitta-leena.miettinen@nokia.com>
Wed, 12 Oct 2011 12:45:43 +0000 (14:45 +0200)
Change-Id: I66565602b9d63897f32bcb20bf68f9077d42fc54
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
doc/src/editors/creator-editors.qdoc
doc/src/overview/creator-glossary.qdoc

index 4658ce2..b3af328 100644 (file)
 
     \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
 
index 8d3ae95..990c389 100644 (file)
                 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
 
 */