diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2012-04-23 14:39:48 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-26 04:53:08 +0200 |
commit | a5336a0577b715edf49bef3794c6b1a8fa225a73 (patch) | |
tree | a7cc3ad59d7af572e1582aa9f8eb9546697a7e6c /examples/quick/threading/workerscript/workerscript.qml | |
parent | 5e62f313588dc81c7284c4eb451cb9ebe7f3c994 (diff) |
Diffstat (limited to 'examples/quick/threading/workerscript/workerscript.qml')
-rw-r--r-- | examples/quick/threading/workerscript/workerscript.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/quick/threading/workerscript/workerscript.qml b/examples/quick/threading/workerscript/workerscript.qml index 640df0b483..d66628e79e 100644 --- a/examples/quick/threading/workerscript/workerscript.qml +++ b/examples/quick/threading/workerscript/workerscript.qml @@ -43,6 +43,7 @@ import QtQuick 2.0 Rectangle { width: 320; height: 480 +//! [1] WorkerScript { id: myWorker source: "workerscript.js" @@ -56,10 +57,12 @@ Rectangle { } } } +//! [1] Row { y: 24 spacing: 24 anchors.horizontalCenter: parent.horizontalCenter +//! [0] Spinner { id: rowSpinner label: "Row" @@ -68,6 +71,7 @@ Rectangle { myWorker.sendMessage( { row: rowSpinner.value, column: columnSpinner.value } ); } } +//! [0] Spinner { id: columnSpinner |