qt5base-lts/tests/auto/gui/kernel
Jan Arve Saether 17aaaad653 Ensure sendPostedEvents() can be called independently
If Qt is not running its own event loop (e.g. if Qt is a plugin running
in a non-Qt host application with its own event loop, a call to
sendPostedEvents() should process all events by default, and not depend
on the flags passed to the last call to processEvents()

We also modify sendPostedEvents() to call its base implementation instead
of directly calling QCoreApplication::sendPostedEvents(). (The behavior of
the base implementation is the same, so no behavior change there).

This also adds a test for QWindow event handling without Qts event loop is
running. This is a black box test, just to ensure that basic functionality
is working. It can be extended later.

Task-number: QTBUG-45956
Change-Id: I7d688c0c6dec5f133fb495f07526debdde5389af
Reviewed-by: Jørgen Lind <jorgen.lind@theqtcompany.com>
2015-09-01 08:21:05 +00:00
..
noqteventloop Ensure sendPostedEvents() can be called independently 2015-09-01 08:21:05 +00:00
qbackingstore Update copyright headers 2015-02-11 06:49:51 +00:00
qclipboard Update copyright headers 2015-02-11 06:49:51 +00:00
qdrag Update copyright headers 2015-02-11 06:49:51 +00:00
qevent Update copyright headers 2015-02-11 06:49:51 +00:00
qfileopenevent Update copyright headers 2015-02-11 06:49:51 +00:00
qguiapplication Enable checking for whether the system palette was explicitly set 2015-04-20 06:39:31 +00:00
qguieventdispatcher QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qguieventloop Add auto-test for running the QEventLoop test with the GUI dispatcher 2013-08-12 14:27:57 +02:00
qguimetatype Update copyright headers 2015-02-11 06:49:51 +00:00
qguitimer QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qguivariant Update copyright headers 2015-02-11 06:49:51 +00:00
qinputmethod Update copyright headers 2015-02-11 06:49:51 +00:00
qkeysequence Replace MAC OS X with OS X 2015-06-30 07:33:31 +00:00
qmouseevent Update copyright headers 2015-02-11 06:49:51 +00:00
qmouseevent_modal Update copyright headers 2015-02-11 06:49:51 +00:00
qopenglwindow Update copyright headers 2015-02-11 06:49:51 +00:00
qpalette Update copyright headers 2015-02-11 06:49:51 +00:00
qpixelformat Update copyright headers 2015-02-11 06:49:51 +00:00
qrasterwindow Update copyright headers 2015-02-11 06:49:51 +00:00
qscreen Update copyright headers 2015-02-11 06:49:51 +00:00
qsurfaceformat Update copyright headers 2015-02-11 06:49:51 +00:00
qtouchevent Stabilize tst_QTouchEvent::touchBeginWithGraphicsWidget(). 2015-07-16 21:43:31 +00:00
qwindow fix usage of wince scope 2015-06-05 10:29:10 +00:00
kernel.pro Ensure sendPostedEvents() can be called independently 2015-09-01 08:21:05 +00:00