From be7ebe2d57083905edfc3c607ea8734e3e8cf46e Mon Sep 17 00:00:00 2001 From: Gunnar Sletta Date: Fri, 30 Nov 2012 15:30:42 +0100 Subject: Fix example documentation for OpenGL module and (widget) Tools. Change-Id: Id9dc39752bcae915f618e1a5696115a5e6923251 Reviewed-by: Eskil Abrahamsen Blomfeldt --- src/opengl/doc/images/opengl-examples.png | Bin 0 -> 25685 bytes src/opengl/doc/src/qtopengl-examples.qdoc | 46 ++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 src/opengl/doc/images/opengl-examples.png create mode 100644 src/opengl/doc/src/qtopengl-examples.qdoc (limited to 'src/opengl') diff --git a/src/opengl/doc/images/opengl-examples.png b/src/opengl/doc/images/opengl-examples.png new file mode 100644 index 0000000000..8acdf8cabd Binary files /dev/null and b/src/opengl/doc/images/opengl-examples.png differ diff --git a/src/opengl/doc/src/qtopengl-examples.qdoc b/src/opengl/doc/src/qtopengl-examples.qdoc new file mode 100644 index 0000000000..2ad4f27404 --- /dev/null +++ b/src/opengl/doc/src/qtopengl-examples.qdoc @@ -0,0 +1,46 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** 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 Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/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$ +** +****************************************************************************/ + +/*! + \ingroup all-examples + \title OpenGL Examples from the Qt OpenGL module + \brief Accessing OpenGL from Qt. + \group examples-widgets-opengl + + \image opengl-examples.png + + These examples describe how to use the Qt OpenGL Module. For new code, + please use the OpenGL classes in the \l {Qt GUI Module}. + + + Qt provides support for integration with OpenGL implementations on all + platforms, giving developers the opportunity to display hardware accelerated + 3D graphics alongside a more conventional user interface. + + These examples demonstrate the basic techniques used to take advantage of + OpenGL in Qt applications. +*/ -- cgit v1.2.3