aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickcanvas.cpp
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2012-04-18 14:21:46 +1000
committerQt by Nokia <qt-info@nokia.com>2012-04-23 11:14:36 +0200
commit6fe0263b25475199808fc5633fbcacc06162af2a (patch)
tree98703d875500b195de29023d3697773f38e269da /src/quick/items/qquickcanvas.cpp
parent42e93ffffa23b466f6641f86de18e6a7dd71166c (diff)
Doc Fix
More emphasis on what imports are needed for specialty elements. Change-Id: Ia24ac97bb77ed57c313a5120b0fbd02b6fcaa4a8 Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'src/quick/items/qquickcanvas.cpp')
-rw-r--r--src/quick/items/qquickcanvas.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/quick/items/qquickcanvas.cpp b/src/quick/items/qquickcanvas.cpp
index f59a89a0d3..f4aa735ffd 100644
--- a/src/quick/items/qquickcanvas.cpp
+++ b/src/quick/items/qquickcanvas.cpp
@@ -729,6 +729,13 @@ void QQuickCanvasPrivate::cleanup(QSGNode *n)
The Window object creates a new top-level window for a QtQuick scene. It automatically sets up the
window for use with QtQuick 2.0 graphical elements.
+
+ To use this element, you will need to import the module with the following line:
+ \code
+ import QtQuick.Window 2.0
+ \endcode
+
+ Restricting this import will allow you to have a QML environment without access to window system features.
*/
/*!
\class QQuickCanvas