qt5base-lts/examples
Samuel Rødal 55fa3c189f Got rid of Map / Unmap events in favor of Expose event.
Since change 2e4d8f67a8 the need for Map and Unmap events has
gone away, as now the Expose event is used to notify the application
about when it can start rendering.

The Map and Unmap events weren't really used except by QWidget to set
the WA_Mapped flag, which we now set based on the expose / unexpose.

Also guarantee that a Resize event is always sent before the first
Expose, by re-introducing an asynchronous expose event handler. Since
an expose is required before rendering to a QWindow, show a warning if
QOpenGLContext::swapBuffers() or QBackingStore::flush() if called on a
window that has not received its first expose.

Change-Id: Ia6b609aa275d5b463b5011a96f2fd9bbe52e9bc4
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-03-22 11:43:36 +01:00
..
animation examples: use QVector<QPointF> instead of QList<QPointF> 2012-03-08 05:31:40 +01:00
dbus clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
desktop Fix icon suffixes in systray example. 2012-03-13 10:11:22 +01:00
dialogs Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
draganddrop Use QRect::united(), QRect::unite() is deprecated. 2012-03-14 11:37:18 +01:00
effects Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
embedded clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
gestures Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
graphicsview examples: use QVector<QPointF> instead of QList<QPointF> 2012-03-08 05:31:40 +01:00
ipc Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
itemviews Use QRect::united(), QRect::unite() is deprecated. 2012-03-14 11:37:18 +01:00
ja_JP/linguist/hellotr Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
layouts Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linguist Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
mainwindows Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
network Fix compilation of examples with QStringBuilder 2012-02-25 21:30:45 +01:00
opengl Cleaned up examples/opengl/cube/cube.pro, removed message() 2012-02-29 03:09:38 +01:00
painting examples: compile w/o opengl 2012-02-24 22:39:40 +01:00
qmake Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qpa Got rid of Map / Unmap events in favor of Expose event. 2012-03-22 11:43:36 +01:00
qtconcurrent clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
qtestlib Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
richtext Remove Symbian specific code from qtbase. 2012-01-31 07:08:31 +01:00
scroller Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
sql add strategy support to sqlbrowser example 2012-03-06 06:34:33 +01:00
statemachine Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
threads clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
tools examples: compile w/QT_NO_CAST_FROM_BYTEARRAY, at least on Unix 2012-03-08 09:58:26 +01:00
touch examples: compile w/QT_NO_CAST_FROM_BYTEARRAY, at least on Unix 2012-03-08 09:58:26 +01:00
tutorials Move QtConcurrent into its own module 2012-02-05 17:49:16 +01:00
webkit/webkit-guide Change bugreports.qt.nokia.com -> bugreports.qt-project.org 2012-03-02 23:16:25 +01:00
widgets examples: compile w/QT_NO_CAST_FROM_BYTEARRAY, at least on Unix 2012-03-08 09:58:26 +01:00
xml Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
examples.pro Remove all QWS centric examples 2012-03-15 15:18:16 +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.