More emphasis on what imports are needed for specialty elements.
Change-Id: Ia24ac97bb77ed57c313a5120b0fbd02b6fcaa4a8
Reviewed-by: Martin Jones <martin.jones@nokia.com>
\brief Elements for the Qt Quick particle system
- This QML module contains a particle system for Qt Quick.
+ This QML module contains a particle system for Qt Quick. To use these elements, you will need to import the module with the following line:
+ \code
+ import QtQuick.Particles 2.0
+ \endcode
For a simple overview of how the system can be used, see \l{qml-particlesystem.html}{Using the Qt Quick Particle System}.
\inqmlmodule QtQuick.Particles 2
\title Using the Qt Quick Particle System
+
+ Note that to use elements from the particles module, you will need to import the types with the following line:
+ \code
+ import QtQuick.Particles 2.0
+ \endcode
+
\section1 The ParticleSystem
This particle system contains four main types of QML Elements: ParticleSystem, Painters, Emitters and Affectors.
\ingroup qml-working-with-data
\brief The XmlListModel element is used to specify a read-only model using XPath expressions.
+
+ To use this element, you will need to import the module with the following line:
+ \code
+ import QtQuick.XmlListModel 2.0
+ \endcode
+
XmlListModel is used to create a read-only model from XML data. It can be used as a data source
for view elements (such as ListView, PathView, GridView) and other elements that interact with model
data (such as \l Repeater).
\qml
import QtQuick 2.0
+ import QtQuick.XmlListModel 2.0
XmlListModel {
id: xmlModel
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
The Screen attached object is only valid inside Item or Item derived elements. Inside these elements
it refers to the screen that the element is currently being displayed on.
+
+ 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.
*/
/*!