summaryrefslogtreecommitdiffstats
path: root/examples/datavisualization/qmlscatter/doc/src/qmlscatter.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/datavisualization/qmlscatter/doc/src/qmlscatter.qdoc')
-rw-r--r--examples/datavisualization/qmlscatter/doc/src/qmlscatter.qdoc10
1 files changed, 2 insertions, 8 deletions
diff --git a/examples/datavisualization/qmlscatter/doc/src/qmlscatter.qdoc b/examples/datavisualization/qmlscatter/doc/src/qmlscatter.qdoc
index 177cf7c1..06dfa8cc 100644
--- a/examples/datavisualization/qmlscatter/doc/src/qmlscatter.qdoc
+++ b/examples/datavisualization/qmlscatter/doc/src/qmlscatter.qdoc
@@ -70,17 +70,11 @@
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 and call it \c mainView:
+ Then we create our main \c Rectangle and call it \c mainView:
\snippet 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 an application using Qt Data Visualization graphs,
- because the graphs are rendered behind the other QML elements. When creating a new application,
- you should change the main item type to \c Item instead, which is invisible.
- This way the graph is not covered by the main item.
-
- Then we'll add another \c Item inside the main \c Item, and call it \c dataView.
+ Then we'll add another \c Item inside the main \c Rectangle, and call it \c dataView.
This will be the item to hold the Scatter3D graph. We'll anchor it to the parent bottom:
\snippet qmlscatter/qml/qmlscatter/main.qml 9