qt5base-lts/tests/auto/gui
Miikka Heikkinen a48508cd76 Send leave to most recently entered window when modal dialog is shown.
If a modal dialog was shown as a response to button click, the button
retained its hover highlight, because it didn't get leave event.

Fixed by tracking the most recently entered window and sending a leave
to it when modal dialog is shown that blocks it.

Also modified tst_QGuiApplication::modalWindow() autotest to check
for enters and leaves.

Task-number: QTBUG-27644
Change-Id: I387647e18a762a39d523e3df31221b9583a39f9d
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
2012-10-30 12:53:46 +01:00
..
image test: Remove dead code from tst_QPixmap 2012-10-27 00:24:16 +02:00
itemmodels normalise signal/slot signatures [QtGui tests] 2012-10-22 08:41:27 +02:00
kernel Send leave to most recently entered window when modal dialog is shown. 2012-10-30 12:53:46 +01:00
math3d Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
painting test: Remove QSKIP from tst_QPainter::drawText_subPixelPositionsInRaster_qtbug5053() 2012-10-30 12:53:46 +01:00
qopengl Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
text QFontEngineMulti: Fix possible crash in stringToCMap() 2012-10-29 20:31:08 +01:00
util Fix QRegExpValidator::validate docs about the pos parameter 2012-10-22 22:42:26 +02:00
gui.pro Move QStandardItem/QStandardItemModel to QtGui 2012-06-29 22:42:19 +02:00