forked from qt-creator/qt-creator
Doc: QML/JS console is now an output pane
The console is available in all modes. Change-Id: Iae6d656b255f2836a96b71bcbc9a6e2bbdffbcfc Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 5.1 KiB |
@@ -153,16 +153,12 @@
|
||||
\section1 Executing JavaScript Expressions
|
||||
|
||||
When the application is interrupted by a breakpoint, you can use the
|
||||
\gui {Console} to execute JavaScript expressions in the current
|
||||
context. To open it, choose \gui {Window > Views > Console}.
|
||||
\gui {QML/JS Console} to execute JavaScript expressions in the current
|
||||
context. To open it, choose \gui Window > \gui {Output Panes} > \gui {QML/JS Console}.
|
||||
|
||||
\image qml-script-console.png "Console view"
|
||||
\image qml-script-console.png "QML/JS Console"
|
||||
|
||||
You can type JavaScript expressions and use them to get information about
|
||||
the state or your application. You can change property values temporarily,
|
||||
without editing the source, and view the results in the running application.
|
||||
|
||||
You can change the property values permanently in the code editor.
|
||||
For more information about using the console, see \l{QML/JS Console}.
|
||||
|
||||
\section1 Applying QML Changes at Runtime
|
||||
|
||||
|
||||
@@ -244,6 +244,8 @@
|
||||
|
||||
\li \gui{Compile Output}
|
||||
|
||||
\li \gui {QML/JS Console}
|
||||
|
||||
\li \gui {To-Do Entries}
|
||||
|
||||
\li \gui{Version Control}
|
||||
@@ -345,6 +347,17 @@
|
||||
|
||||
Select the \gui {Cancel Build} button to cancel the build.
|
||||
|
||||
\section2 QML/JS Console
|
||||
|
||||
In the \gui {QML/JS Console}, you can type JavaScript expressions and use them to get
|
||||
information about the state of your application during debugging. You can change property
|
||||
values temporarily, without editing the source, and view the results in the running
|
||||
application.
|
||||
|
||||
\image qml-script-console.png "QML/JS Console"
|
||||
|
||||
You can change the property values permanently in the code editor.
|
||||
|
||||
\section2 To-Do List
|
||||
|
||||
The \gui {To-Do List Entries} pane lists the BUG, FIXME, NOTE, TODO, and
|
||||
|
||||
Reference in New Issue
Block a user