qt5base-lts/tests/auto/widgets/kernel
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
..
qaction Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qactiongroup Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qapplication Auto tests: revise cursor dependant tests 2012-10-13 05:51:19 +02:00
qboxlayout Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qdesktopwidget Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qformlayout Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgridlayout Remove CDE and Motif styles from qtbase 2012-09-27 15:16:16 +02:00
qlayout Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qshortcut Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qsizepolicy Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qstackedlayout Fix a regression with regards to hfw behavior in QStackedWidget 2012-10-10 14:22:58 +02:00
qtooltip Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qwidget Improve Qt::WA_UnderMouse accuracy 2012-10-15 21:11:57 +02:00
qwidget_window Fix drag and drop with native widgets 2012-09-27 23:51:30 +02:00
qwidgetaction Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qwidgetmetatype Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qwidgetsvariant Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
kernel.pro Store the QMetaObject with the QMetaType. 2012-07-01 15:07:10 +02:00