diff options
author | Juha Vuolle <juha.vuolle@qt.io> | 2023-02-17 12:11:02 +0200 |
---|---|---|
committer | Juha Vuolle <juha.vuolle@qt.io> | 2023-02-22 08:37:51 +0200 |
commit | c908718f86dd409f0f2d3757057d797b2f5ff83a (patch) | |
tree | 3efd52b3813890ca337a24c3bce918d971be5e19 /examples/sensors/maze/doc/src/maze.qdoc | |
parent | b6618e767f69ee3ff3bab8b5b15925ad6fab2b20 (diff) |
Remove sensors maze example
The Maze (QML) example is a nice game implementation, but doesn't add
much demonstration value in comparison to sensorsshowcase example.
The one unique thing it does demonstrate is tilt sensor. Tiltsensor can
be added to the sensorsshowcase too; but OTOH tilt is in some sense
just 'a' sensor among the sensors, and there is probably no need to use
all of them in the examples.
Task-number: QTBUG-110939
Pick-to: 6.5
Change-Id: I2fd997750b05b3962428955a2929e149af6b72bd
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'examples/sensors/maze/doc/src/maze.qdoc')
-rw-r--r-- | examples/sensors/maze/doc/src/maze.qdoc | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/examples/sensors/maze/doc/src/maze.qdoc b/examples/sensors/maze/doc/src/maze.qdoc deleted file mode 100644 index a6f132f9..00000000 --- a/examples/sensors/maze/doc/src/maze.qdoc +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (C) 2017 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only - -/*! - \example maze - \title Qt Sensors - Maze QML Example - \ingroup qtsensors-examples - \image maze.png - - \section2 Maze in QML - \brief The Maze example demonstrates the TiltSensor QML type. - - - To write a QML application that will use the TiltSensor QML sensors type - you need to do the following steps: - - To import the Qt Sensors QML types into your application, use the following - import statement in your .qml file: - - \snippet maze/maze.qml 0 - - Then, add the Sensor QML types into your qml file. - - In this example we use the TiltSensor: - - \snippet maze/maze.qml 1 - - The mouse should move by a factor of the tilt value: - - \snippet maze/maze.qml 2 - - The walk direction of the mouse takes into account some collision detection: - - \snippet maze/maze.qml 3 - - The rotation of the mouse image is determined according to the angle that the mouse is moving. - - \snippet maze/Mouse.qml 0 - -*/ - |