forked from qt-creator/qt-creator
Doc: Go into Component function
Change-Id: I2be678a463370730ebdb9497c30da3b90dbbf931 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
This commit is contained in:
BIN
doc/images/qmldesigner-breadcrumbs.png
Normal file
BIN
doc/images/qmldesigner-breadcrumbs.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
@@ -303,7 +303,8 @@
|
|||||||
|
|
||||||
\title Creating Components
|
\title Creating Components
|
||||||
|
|
||||||
A QML component provides a way of defining a new type that you can re-use in other QML
|
A \l{glossary-component}{component} provides a way of defining a new type
|
||||||
|
that you can re-use in other QML
|
||||||
files. A component is like a black box; it interacts with the outside world
|
files. A component is like a black box; it interacts with the outside world
|
||||||
through properties, signals, and slots, and is generally defined in its own QML file.
|
through properties, signals, and slots, and is generally defined in its own QML file.
|
||||||
You can import components to screens and applications.
|
You can import components to screens and applications.
|
||||||
@@ -381,6 +382,16 @@
|
|||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
|
\section1 Moving Within Components
|
||||||
|
|
||||||
|
Components can consist of several other components. To view the component
|
||||||
|
hierarchy as a bread crumb path when you edit a component on the canvas,
|
||||||
|
select \gui {Go into Component} or press \key F2. Click the component
|
||||||
|
names in the path to navigate to them. You can easily navigate back to the
|
||||||
|
top level when you are done editing the component.
|
||||||
|
|
||||||
|
\image qmldesigner-breadcrumbs.png "Go into Component command"
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user