**
****************************************************************************/
/*!
- \title QtQuick Examples - XMLHttpRequst
+ \title Qt Quick Examples - XMLHttpRequest
- \example qml/xmlhttprequest
+ \example xmlhttprequest
\brief This is a collection of XMLHttpRequest examples
\image qml-xmlhttprequest-example.png
**
****************************************************************************/
/*!
- \title QtQuick Examples - Accessibility
+ \title Qt Quick Examples - Accessibility
- \example quick/accessibility
+ \example accessibility
\brief This example has accessible buttons.
\ingroup qtquickexamples
****************************************************************************/
/*!
- \title QtQuick Examples - Animation
+ \title Qt Quick Examples - Animation
- \example quick/animation
+ \example animation
\brief This is a collection of QML Animation examples.
\image qml-animations-example.png
\ingroup qtquickexamples
****************************************************************************/
/*!
- \title QtQuick Examples - Canvas
+ \title Qt Quick Examples - Canvas
- \example quick/canvas
+ \example canvas
\brief This is a collection of QML Canvas examples.
\image qml-canvas-example.png
\ingroup qtquickexamples
**
****************************************************************************/
/*!
- \title QtQuick Examples - Drag and Drop
+ \title Qt Quick Examples - Drag and Drop
- \example quick/draganddrop
+ \example draganddrop
\brief This is a collection of QML drag and drop examples
\image qml-draganddrop-example.png
\ingroup qtquickexamples
****************************************************************************/
/*!
\title QML Examples - Image Elements
- \example quick/imageelements
+ \example imageelements
- \brief This is a collection of QML examples relating to image elements.
+ \brief This is a collection of QML examples relating to image types.
\image qml-imageelements-example.png
\ingroup qtquickexamples
**
****************************************************************************/
/*!
- \title QtQuick Examples - Key Interaction
+ \title Qt Quick Examples - Key Interaction
- \example quick/keyinteraction
+ \example keyinteraction
\brief This is a collection of QML keyboard interaction examples.
\image qml-keyinteraction-example.png
\ingroup qtquickexamples
**
****************************************************************************/
/*!
- \title QtQuick Examples - Local Storage
+ \title Qt Quick Examples - Local Storage
- \example quick/localstorage
+ \example localstorage
\brief A collection of QML local storage examples.
\image qml-localstorage-example.png
**
****************************************************************************/
/*!
- \title QtQuick Examples - MouseArea
+ \title Qt Quick Examples - MouseArea
- \example quick/mousearea
+ \example mousearea
- \brief This is an example of the MouseArea element in QML
+ \brief This is an example of the MouseArea type in QML
\image qml-mousearea-example.png
\ingroup qtquickexamples
****************************************************************************/
/*!
- \title QtQuick.Particles Examples - Affectors
+ \title Qt Quick Particles Examples - Affectors
- \example quick/particles/affectors
+ \example particles/affectors
\brief This is a collection of examples using Affectors in the QML particle system.
\image qml-affectors-example.png
****************************************************************************/
/*!
- \title QtQuick.Particles Examples - CustomParticle
+ \title Qt Quick Particles Examples - CustomParticle
- \example quick/particles/customparticle
+ \example particles/customparticle
\brief This is a collection of examples using CustomParticle in the QML particle system.
\image qml-customparticle-example.png
**
****************************************************************************/
/*!
- \title QtQuick.Particles Examples - Emitters
+ \title Qt Quick Particles Examples - Emitters
- \example quick/particles/emitters
+ \example particles/emitters
\brief This is a collection of examples using Emitters in the QML particle system.
\image qml-emitters-example.png
****************************************************************************/
/*!
- \title QtQuick.Particles Examples - Affectors
+ \title Qt Quick Particles Examples - Affectors
- \example quick/particles/imageparticle
+ \example particles/imageparticle
\brief This is a collection of examples using Affectors in the QML particle system.
\image qml-imageparticle-example.png
****************************************************************************/
/*!
- \title QtQuick.Particles Examples - Affectors
+ \title Qt Quick Particles Examples - Affectors
- \example quick/particles/system
+ \example particles/system
\brief This is a collection of examples using Affectors in the QML particle system.
\image qml-system-example.png
Start and Stop simply sets the running and paused states of a ParticleSystem. While the system does not perform any simulation when stopped or paused, a restart restarts the simulation from the beginning, while unpausing resumes the simulation from where it was.
- Timed group changes is an example that highlights the ParticleGroup type. While normally referring to groups with a string name is sufficent, additional effects can be
- Timed group changes is an example that highlights the ParticleGroup element. While normally referring to groups with a string name is sufficient, additional effects can be
++ Timed group changes is an example that highlights the ParticleGroup type. While normally referring to groups with a string name is sufficient, additional effects can be
done by setting properties on groups.
The first group has a variable duration on it, but always transitions to the second group.
\snippet quick/particles/system/content/timedgroupchanges.qml 0
**
****************************************************************************/
/*!
- \title QtQuick Examples - Positioners
+ \title Qt Quick Examples - Positioners
- \example quick/positioners
+ \example positioners
\brief This is a collection of QML Positioner examples.
\image qml-positioners-example.png
\ingroup qtquickexamples
**
****************************************************************************/
/*!
- \title QtQuick Examples - Right to Left
+ \title Qt Quick Examples - Right to Left
- \example quick/righttoleft
+ \example righttoleft
\brief This is a collection of QML Right to Left examples.
\image qml-righttoleft-example.png
\ingroup qtquickexamples
****************************************************************************/
/*!
- \example quick/scenegraph/customgeometry
+ \example scenegraph/customgeometry
- \title Custom Geometry Example
+ \title Scene Graph - Custom Geometry
\ingroup qtquickexamples
\brief Shows how to implement a custom geometry in the Qt Quick Scene Graph.
****************************************************************************/
/*!
- \example quick/scenegraph/openglunderqml
+ \example scenegraph/openglunderqml
- \title OpenGL Under QML
+ \title Scene Graph - OpenGL Under QML
\ingroup qtquickexamples
\brief Shows how to render OpenGL under a Qt Quick scene.
****************************************************************************/
/*!
- \example quick/scenegraph/simplematerial
+ \example scenegraph/simplematerial
- \title Simple Material Example
+ \title Scene Graph - Simple Material
\ingroup qtquickexamples
\brief Shows how to define a scene graph material to fill a shape.
**
****************************************************************************/
/*!
- \title QtQuick Examples - Threading
+ \title Qt Quick Examples - Threading
- \example quick/threading
+ \example threading
\brief This is a collection of QML Multithreading examples.
\image qml-threading-example.png
\ingroup qtquickexamples
**
****************************************************************************/
/*!
- \title QtQuick Examples - Touch Interaction
+ \title Qt Quick Examples - Touch Interaction
- \example quick/touchinteraction
+ \example touchinteraction
\brief This is a collection of QML Touch Interaction examples.
\image qml-touchinteraction-example.png
****************************************************************************/
/*!
- \title QtQuick Examples - Views
+ \title Qt Quick Examples - Views
- \example quick/views
+ \example views
\brief This is a collection of QML model/view examples
\image qml-modelviews-example.png
\ingroup qtquickexamples
/*!
\title Chapter 1: Creating a New Type
- \example quick/tutorials/extending/chapter1-basics
+ \example tutorials/extending/chapter1-basics
A common task when extending QML is to provide a new QML type that supports some
- custom functionality beyond what is provided by the built-in \l {Qt Quick QML Types}{QtQuick types}.
+ custom functionality beyond what is provided by the built-in \l {Qt Quick QML Types}{Qt Quick types}.
For example, this could be done to implement particular data models, or provide
-elements with custom painting and drawing capabilities, or access system features
+types with custom painting and drawing capabilities, or access system features
like network programming that are not accessible through built-in QML features.
-In this tutorial, we will show how to use the C++ classes in the Qt Declarative
+In this tutorial, we will show how to use the C++ classes in the Qt Quick
module to extend QML. The end result will be a simple Pie Chart display implemented by
several custom QML types connected together through QML features like bindings and
signals, and made available to the QML runtime through a plugin.
/*!
\title Chapter 3: Adding Property Bindings
- \example quick/tutorials/extending/chapter3-bindings
+ \example tutorials/extending/chapter3-bindings
Property binding is a powerful feature of QML that allows values of different
-elements to be synchronized automatically. It uses signals to notify and update
-other elements' values when property values are changed.
+types to be synchronized automatically. It uses signals to notify and update
+other types' values when property values are changed.
Let's enable property bindings for the \c color property. That means
if we have code like this:
\previouspage QML Dynamic View Ordering Tutorial 2 - Dragging View Items
\nextpage QML Dynamic View Ordering Tutorial 4 - Sorting Items
- \example quick/tutorials/dynamicview/dynamicview3
+ \example tutorials/dynamicview/dynamicview3
The next step in our application to move items within the list as they're dragged so that we
-can re-order the list. To achieve this we introduce three new elements to our application;
+can re-order the list. To achieve this we introduce three new types to our application;
VisualDataModel, \l Drag and DropArea.
\snippet quick/tutorials/dynamicview/dynamicview3/dynamicview.qml 0
QSignalSpy snapModeSpy(pathview, SIGNAL(snapModeChanged()));
- flick(window, QPoint(200,10), QPoint(10,10), 180);
+ flick(window.data(), QPoint(200,10), QPoint(10,10), 180);
QVERIFY(pathview->isMoving());
- QTRY_VERIFY(!pathview->isMoving());
+ QTRY_VERIFY_WITH_TIMEOUT(!pathview->isMoving(), 50000);
QVERIFY(pathview->offset() == qFloor(pathview->offset()));