summaryrefslogtreecommitdiffstats
path: root/examples/datavisualization/customitems/doc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/datavisualization/customitems/doc')
-rw-r--r--examples/datavisualization/customitems/doc/src/customitems.qdoc11
1 files changed, 7 insertions, 4 deletions
diff --git a/examples/datavisualization/customitems/doc/src/customitems.qdoc b/examples/datavisualization/customitems/doc/src/customitems.qdoc
index 1878609b..d034019a 100644
--- a/examples/datavisualization/customitems/doc/src/customitems.qdoc
+++ b/examples/datavisualization/customitems/doc/src/customitems.qdoc
@@ -53,16 +53,19 @@
\snippet customitems/customitemgraph.cpp 1
- And finally we'll just add the item to the wanted position with the scale and rotation we want:
+ Then we'll create a new QCustom3DItem with all the parameters:
\snippet customitems/customitemgraph.cpp 2
+ And finally we'll just add the item:
+
+ \snippet customitems/customitemgraph.cpp 3
+
\section1 Removing custom item from a graph
- We'll just call \c removeCustomItemAt() with the position
- of the item:
+ We'll just call \c removeCustomItemAt() with the position of the item:
- \snippet customitems/customitemgraph.cpp 3
+ \snippet customitems/customitemgraph.cpp 4
\section1 Example Contents
*/