qt5base-lts/tests/auto/widgets
Giuseppe D'Angelo 51af196ba0 QWidgetWindow: use sendEvent to forward events to the wrapped QWidget
The fallback code for unhandled event types in QWidgetWindow::event
directly called event() on the underlying QWidget (i.e. m_widget->event(e)).

The problem with that approach is that it does not activate any
event filters that can have been installed on the top level widget.
Instead, let's use sendEvent to forward the event to the widget.

An extra modification becomes necessary:
the events received when creating/showing/etc. a widget change,
hence the corresponding test needs to be tuned. On the other hand,
apparently this fixes a long time XFAIL in that test.

Task-number: QTBUG-42281
Task-number: QTBUG-26424
Change-Id: I237bbbc301e3e9e10f071589629c71343a600ef9
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
2015-03-26 20:42:54 +00:00
..
dialogs Fixed license headers 2015-02-17 18:46:09 +00:00
effects Update copyright headers 2015-02-11 06:49:51 +00:00
gestures Update copyright headers 2015-02-11 06:49:51 +00:00
graphicsview autotests: fix the build in case of QT_NO_WHEELEVENT 2015-03-03 13:30:39 +00:00
itemviews Fix problems with extended selection after changing the model contents 2015-03-22 14:38:07 +00:00
kernel QWidgetWindow: use sendEvent to forward events to the wrapped QWidget 2015-03-26 20:42:54 +00:00
styles Update copyright headers 2015-02-11 06:49:51 +00:00
util QtWidgets: assorted migrations to QString::asprintf 2015-02-12 19:39:49 +00:00
widgets QAbstractButton: emit released on focus out or disable 2015-03-10 11:35:32 +00:00
widgets.pro Add autotest for QGestureRecognizer. 2014-10-23 21:11:28 +02:00