qt5base-lts/examples
Laszlo Agocs e453484bca Make QOpenGLWidget public
QOpenGLWidget is now public.

In addition Qt::WA_AlwaysStackOnTop is introduced to support the
special case of semi-transparent QOpenGLWidget or QQuickWidget on
top of regular widgets.

hellogl_es2 becomes the qopenglwidget example. This example performs
painting both via QPainter and native GL commands and has the OpenGL
widget combined with other, normal widgets.

The widget stack receives some changes when it comes to renderToTexture
widgets like QQuickWidget and QOpenGLWidget. Calling update() will now
result in a paint event, which is essential for QOpenGLWidget since we
want it to behave like a regular widget. The dirty region handling is
extended specially for such widgets due to performance reasons.
(an OpenGL content update must not result in any backingstore painting,
and is thus handled as a different kind of dirtiness)

[ChangeLog] Added QOpenGLWidget. This widget serves as a replacement for QGLWidget.

Task-number: QTBUG-36899
Task-number: QTBUG-40086
Change-Id: Ibf7f82fea99b39edfffd2fc088e7e0eadbca25cf
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
2014-08-01 17:13:59 +02:00
..
aggregate install a sane top-level examples.pro file 2012-12-11 13:37:57 +01:00
dbus doc: Updated Qt D-Bus Examples. 2014-05-28 16:52:04 +02:00
embedded expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
gui Examples: Add Q_DECL_OVERRIDE to overridden functions 2014-07-15 08:44:44 +02:00
ipc Doc: Move IPC example documentation 2014-03-27 15:16:20 +01:00
json Add json/savegame example. 2013-08-22 19:14:03 +02:00
network Examples: Add Q_DECL_OVERRIDE to overridden functions 2014-07-15 08:44:44 +02:00
opengl Make QOpenGLWidget public 2014-08-01 17:13:59 +02:00
qmake Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qpa Examples: Add Q_DECL_OVERRIDE to overridden functions 2014-07-15 08:44:44 +02:00
qtconcurrent remove remaining non-concurrent branches from concurrent samples 2013-10-29 15:37:30 +01:00
qtestlib Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
sql Examples: Add Q_DECL_OVERRIDE to overridden functions 2014-07-15 08:44:44 +02:00
threads Examples: Add Q_DECL_OVERRIDE to overridden functions 2014-07-15 08:44:44 +02:00
tools Examples: Add Q_DECL_OVERRIDE to overridden functions 2014-07-15 08:44:44 +02:00
touch Examples: Add Q_DECL_OVERRIDE to overridden functions 2014-07-15 08:44:44 +02:00
webkit/webkit-guide Changed digia contact details to */legal, updated licenses 2013-07-20 11:21:46 +02:00
widgets Make QOpenGLWidget public 2014-08-01 17:13:59 +02:00
xml Examples: Add Q_DECL_OVERRIDE to overridden functions 2014-07-15 08:44:44 +02:00
examples.pro Doc: corrected link/example errors 2014-01-31 16:18:07 +01:00
README Remove more references to demos. 2011-07-08 15:36:26 +02:00

Qt is supplied with a number of example applications that have been
written to provide developers with examples of the Qt API in use,
highlight good programming practice, and showcase features found in each of
Qt's core technologies.


Documentation for examples can be found in the Examples section
of the Qt documentation.