qt5base-lts/tests/auto/widgets/kernel
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
..
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 Do not accept key events if a widget is disabled 2012-10-13 05:51:19 +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