qt6-bb10/tests/auto/widgets/dialogs
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
..
qcolordialog tests/auto/widgets: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 11:50:10 +00:00
qdialog Suppress the modal window handling for dialogs embedded into QGraphicsView. 2015-11-04 13:43:29 +00:00
qerrormessage Update copyright headers 2015-02-11 06:49:51 +00:00
qfiledialog Merge remote-tracking branch 'origin/5.5' into 5.6 2015-11-27 08:35:45 +01:00
qfiledialog2 QFileDialog: Call reject() on Key_Escape even when itemview has focus 2015-12-09 09:36:00 +00:00
qfilesystemmodel Use QCollator for sorting in the filesystem model 2015-11-30 12:21:54 +00:00
qfontdialog Blacklist tst_qfontdialog::setFont on RHEL 6.6 2015-11-13 20:31:55 +00:00
qinputdialog Update copyright headers 2015-02-11 06:49:51 +00:00
qmessagebox QMessageBox test: Refactor closing dialogs. 2015-11-05 13:53:50 +00:00
qprogressdialog Blacklist and skip various tests that are flakey 2015-06-14 10:50:45 +00:00
qsidebar Update copyright headers 2015-02-11 06:49:51 +00:00
qwizard tests/auto/widgets: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 11:50:10 +00:00
dialogs.pro Replace win32-g++ with mingw scope 2014-01-17 12:08:24 +01:00