qt5base-lts/tests/auto/widgets/graphicsview
Miikka Heikkinen 8368557b9c Fix focus handling when the application has QAxWidgets.
Removed old defunct platform specific code from
QWidget::isActiveWindow() and added call to
QPlatformWindow::isActive() instead. This is done because
the embedded native windows inside QAxWidgets can have
focus but are not part of the parent application's Qt
window hierarchy, so native methods are required to determine
if they are part of the active window or not.

QWidgetPrivate::setFocus_sys() was implemented to activate
the window of the focused widget if the focus was elsewhere.
This is required because embedded native windows can steal the
focus from the main application window.

Focus event handling in Windows platform adaptation plugin was
fixed to correctly identify the active window in cases where
the are embedded native widgets that can have focus.

Also fixed three test cases that were affected by these changes.

Task-number: QTBUG-25852
Task-number: QTBUG-23699
Change-Id: I817e0ce4317e88955bb49b034eacd630a876ccf0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-07-03 14:50:34 +02:00
..
qgraphicsanchorlayout Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qgraphicsanchorlayout1 Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtWidgets] 2012-05-03 06:10:20 +02:00
qgraphicseffectsource Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qgraphicsgridlayout Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtWidgets] 2012-05-03 06:10:20 +02:00
qgraphicsitem Remove capitalization when specifying include-libraries. 2012-05-14 21:34:08 +02:00
qgraphicsitemanimation Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qgraphicslayout Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qgraphicslayoutitem Fix some compiler warnings in tests. 2012-03-27 16:35:39 +02:00
qgraphicslinearlayout Replace Q_WS_WINCE against Q_OS_WINCE. 2012-02-09 10:45:38 +01:00
qgraphicsobject Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qgraphicspixmapitem Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qgraphicspolygonitem Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qgraphicsproxywidget Fix focus handling when the application has QAxWidgets. 2012-07-03 14:50:34 +02:00
qgraphicsscene Remove capitalization when specifying include-libraries. 2012-05-14 21:34:08 +02:00
qgraphicssceneindex Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qgraphicstransform Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qgraphicsview tst_qgraphicsview hoverLeave regressed 2012-06-22 05:21:54 +02:00
qgraphicswidget Fix focus handling when the application has QAxWidgets. 2012-07-03 14:50:34 +02:00
graphicsview.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00