diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2017-07-06 14:52:36 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2017-07-06 21:33:52 +0000 |
commit | 17ded188f76c0e5272763d342490dcb6dda40c80 (patch) | |
tree | 223375f4f1346d9d0a4d621bd72b064d7ce9fdaa /examples/quick/shapes | |
parent | 65ef4bab4ad0ef4a45ff56de3e143a588deac364 (diff) |
Add shapes example doc page
Change-Id: If583f5087ee3b5899f567052a9c7e356c93fddf3
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'examples/quick/shapes')
-rw-r--r-- | examples/quick/shapes/doc/images/qml-shapes-example.png | bin | 0 -> 49261 bytes | |||
-rw-r--r-- | examples/quick/shapes/doc/src/shapes.qdoc | 39 |
2 files changed, 39 insertions, 0 deletions
diff --git a/examples/quick/shapes/doc/images/qml-shapes-example.png b/examples/quick/shapes/doc/images/qml-shapes-example.png Binary files differnew file mode 100644 index 0000000000..055fc244ea --- /dev/null +++ b/examples/quick/shapes/doc/images/qml-shapes-example.png diff --git a/examples/quick/shapes/doc/src/shapes.qdoc b/examples/quick/shapes/doc/src/shapes.qdoc new file mode 100644 index 0000000000..6d0e5e7865 --- /dev/null +++ b/examples/quick/shapes/doc/src/shapes.qdoc @@ -0,0 +1,39 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ +/*! + \title Qt Quick Examples - Shapes + \example shapes + \image qml-shapes-example.png + \brief A Qt Quick example demonstrating the use of shape items. + \ingroup qtquickexamples + + This example demonstrates the usage of the \l Shape type in Qt Quick. Shapes + allow efficiently rendering stroked and filled lines, curves, and arcs in Qt + Quick scenes. + + \include examples-run.qdocinc +*/ |