qt5base-lts/tests/auto/widgets
Giuseppe D'Angelo c5e972eb87 QFileDialog: Call reject() on Key_Escape even when itemview has focus
Replace hide() call (present in itemViewKeyboardEvent since Qt 4.5)
by reject(). Add signal spy to existing test function.

QDialog doc states that reject() will always be called on Key_Escape.
hide() is not enough: it makes exec() terminate and return the proper
value, but the signals finished(int) and rejected() will not be sent.

Task-number: QTBUG-7690
Change-Id: Ica4ae2843574478c5b9a7672f871f3ef3f16f3c9
Done-with: Jan Blumschein <jan@jan-blumschein.de>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
2015-12-09 09:36:00 +00:00
..
dialogs QFileDialog: Call reject() on Key_Escape even when itemview has focus 2015-12-09 09:36:00 +00:00
effects tests/auto/widgets: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 11:50:10 +00:00
gestures Merge remote-tracking branch 'origin/5.5' into dev 2015-07-01 11:05:26 +02:00
graphicsview Tests: Harmonize code checking on platform name. 2015-09-24 07:49:30 +00:00
itemviews tests: remove use of obsolete QStyleOption*V<N> 2015-11-03 16:11:51 +00:00
kernel Skip testing empty window sizes on Windows 2015-12-04 15:13:59 +00:00
styles tests: remove use of obsolete QStyleOption*V<N> 2015-11-03 16:11:51 +00:00
util Merge remote-tracking branch 'origin/5.5' into 5.6 2015-10-02 16:59:55 +02:00
widgets Fix closing a QMenu by pressing Alt. 2015-11-27 22:50:33 +00:00
widgets.pro Add autotest for QGestureRecognizer. 2014-10-23 21:11:28 +02:00