qt5base-lts/tests/auto/widgets
Miikka Heikkinen 698d5a2b9f Improve Qt::WA_UnderMouse accuracy
Qt::WA_UnderMouse is set/cleared when widgets get enter/leave events.
When there is a popup active, Qt::WA_UnderMouse should always report
false, but this was not happening, because existing state was not
cleared when popup was opened.

Dispatch a leave event for last mouse receiver when a popup is
opened to update the Qt::WA_UnderMouse state. This is roughly
equivalent to what happens on Qt4.

Task-number: QTBUG-27478
Change-Id: I7739e75727213e748ab2f42f1027d32325d89fb0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2012-10-15 21:11:57 +02:00
..
dialogs tst_qfiledialog: fixed typo causing semi-random completer() failure 2012-10-09 00:25:57 +02:00
effects Auto tests: remove PlatformQuirks::isAutoMaximizing() 2012-09-26 10:08:59 +02:00
graphicsview Auto tests: revise cursor dependant tests 2012-10-13 05:51:19 +02:00
itemviews Mark QTreeView test as significant. 2012-10-12 07:52:50 +02:00
kernel Improve Qt::WA_UnderMouse accuracy 2012-10-15 21:11:57 +02:00
styles Auto tests: revise cursor dependant tests 2012-10-13 05:51:19 +02:00
util Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
widgets Auto tests: revise cursor dependant tests 2012-10-13 05:51:19 +02:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00