qt5base-lts/tests/auto/widgets
Oliver Wolff 57fac2e83a Do not accept key events if a widget is disabled
The disabled state was handled in qapplication_xxx.cpp before.
As the platform integration only knows about windows and
not widgets the state check is now done in qwidget. This commit
just adds key events to the list of events which are ignored
if the widget is disabled. This list also contains mouse events
for example.

Task-number: QTBUG-27417

Change-Id: I55949e1c1aaa992ba71df51c5b5e8177ec6f1e86
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2012-10-13 05:51:19 +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 Do not accept key events if a widget is disabled 2012-10-13 05:51:19 +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