Doc: viewing item hierarchy while debugging Qt Quick 2

When debugging Qt Quick 1, you right-click to open a
context menu, but for Qt Quick 2, it has been changed
to double-clicking to cycle through the item stack.

Task-number: QTCREATORBUG-13617
Change-Id: I3b36c76a54a24cbd102cd8ffa2bf5da2d12bef26
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Leena Miettinen
2014-12-08 14:46:32 +01:00
committed by Leena Miettinen
parent 72e7687bd4
commit cc543bb387

View File

@@ -222,11 +222,21 @@
application to jump to their definitions in the code. The properties of the application to jump to their definitions in the code. The properties of the
selected item are displayed in the \gui {Locals and Expressions} view. selected item are displayed in the \gui {Locals and Expressions} view.
You can also right-click an item in the running application to view the You can also view the item hierarchy in the running application:
item hierarchy as a context menu.
\list
\li When debugging Qt Quick 1 applications, right-click an item in the
running application to view the item hierarchy as a context menu.
\image qml-observer-context-menu.png "QML item hierarchy" \image qml-observer-context-menu.png "QML item hierarchy"
\li When debugging Qt Quick 2 applications, double-click an item in the
running application to cycle through the item stack at the cursor
position.
\endlist
To switch to the zoom mode, click the \gui Zoom button. Click in the To switch to the zoom mode, click the \gui Zoom button. Click in the
running application to zoom in. Right-click to open a context menu that running application to zoom in. Right-click to open a context menu that
contains zoom controls. contains zoom controls.