qt5base-lts/tests/auto/widgets/graphicsview
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
..
qgraphicsanchorlayout Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qgraphicsanchorlayout1 Fix error in qgraphicsanchorlayout1 autotest. 2012-02-07 08:29:19 +01:00
qgraphicseffectsource Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qgraphicsgridlayout Eliminate duplicate data row names in widgets autotests. 2012-02-15 02:36:47 +01:00
qgraphicsitem Got rid of Map / Unmap events in favor of Expose event. 2012-03-22 11:43:36 +01:00
qgraphicsitemanimation Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qgraphicslayout Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qgraphicslayoutitem Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qgraphicslinearlayout Replace Q_WS_WINCE against Q_OS_WINCE. 2012-02-09 10:45:38 +01:00
qgraphicsobject Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qgraphicspixmapitem Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qgraphicspolygonitem Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qgraphicsproxywidget Cocoa: Improve basic window handling. 2012-03-14 23:02:12 +01:00
qgraphicsscene Got rid of Map / Unmap events in favor of Expose event. 2012-03-22 11:43:36 +01:00
qgraphicssceneindex Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qgraphicstransform Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qgraphicsview QCursor: Associate cursor with screen. 2012-03-07 22:43:43 +01:00
qgraphicswidget QCursor: Associate cursor with screen. 2012-03-07 22:43:43 +01:00
graphicsview.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00