From 17ded188f76c0e5272763d342490dcb6dda40c80 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Thu, 6 Jul 2017 14:52:36 +0200 Subject: Add shapes example doc page Change-Id: If583f5087ee3b5899f567052a9c7e356c93fddf3 Reviewed-by: Mitch Curtis --- .../quick/shapes/doc/images/qml-shapes-example.png | Bin 0 -> 49261 bytes examples/quick/shapes/doc/src/shapes.qdoc | 39 +++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 examples/quick/shapes/doc/images/qml-shapes-example.png create mode 100644 examples/quick/shapes/doc/src/shapes.qdoc diff --git a/examples/quick/shapes/doc/images/qml-shapes-example.png b/examples/quick/shapes/doc/images/qml-shapes-example.png new file mode 100644 index 0000000000..055fc244ea Binary files /dev/null and b/examples/quick/shapes/doc/images/qml-shapes-example.png differ 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 +*/ -- cgit v1.2.3