diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2013-12-19 13:38:31 +0200 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2013-12-19 14:41:42 +0200 |
commit | dcf57ae33cbe173724f7f18d94c3d67cac27fac1 (patch) | |
tree | 611607f6a4263a4808fb84b93b2d19d363a20549 /examples/qmlscatter/doc | |
parent | ceda9bb5f39305d8f6467f574c7c7693b8a779f8 (diff) |
Documentation and example fixes
Task-id: QTRD-2744
Change-Id: I901f05b737e24c363d7ed897e1baadc9f9a03333
Reviewed-by: Mika Salmela <mika.salmela@digia.com>
Diffstat (limited to 'examples/qmlscatter/doc')
-rw-r--r-- | examples/qmlscatter/doc/src/qmlscatter.qdoc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/qmlscatter/doc/src/qmlscatter.qdoc b/examples/qmlscatter/doc/src/qmlscatter.qdoc index b0f1fd1f..06719ffc 100644 --- a/examples/qmlscatter/doc/src/qmlscatter.qdoc +++ b/examples/qmlscatter/doc/src/qmlscatter.qdoc @@ -86,10 +86,15 @@ The last \c import just imports all the qml files in the same directory as our \c {main.qml}, because that's where \c newbutton.qml and \c data.qml are. - Then we create our main \c Item, call it \c mainView and set it visible: + Then we create our main \c Item and call it \c mainView: \snippet ../examples/qmlscatter/qml/qmlscatter/main.qml 1 + \note The Qt Creator application wizard will set a \c Rectangle item as the main item, which + is opaque white by default. This doesn't work for us, because the graphs are rendered behind the other + QML elements. We change the main item type to \c Item, which is invisible. This way the graph is + not covered by the main item. + Then we'll add another \c Item inside it, and call it \c dataView. This will be the item to hold the Scatter3D graph. We'll anchor it to the parent bottom: |