qt6-bb10/src/widgets
Volker Hilsheimer 01aeb5f7e4 QGraphicsProxyWidget: forward Window(De)Activate events
The nested widget might be a QGraphicsView as well (documented to be
supported), and QGraphicsScene maintains it's own activation status by
counting Window(De)Activate events. We need to make sure that the
embedded widget is informed about its activation status so that deeper
nested children can receive focus.

Forward WindowActivate/Deactivate events to the nested widget, which
will pass it on to all its children. Add test case, which without this
fix fails when verifying the inner scene's isActive state, or later
when testing that focusInEvent is delivered to the embedded widget.

Fixes: QTBUG-94091
Pick-to: 5.15 6.1 6.2
Change-Id: I4e0ecef50685ed081d15c7f76b6c1a4a40ed2682
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2021-08-24 13:32:07 +02:00
..
accessible Remove the qmake project files 2021-01-07 15:32:28 +01:00
compat QMenuBar: remove addAction() functions 2021-07-28 02:01:21 +02:00
dialogs QFileDialog: Use static const QRegularExpression 2021-08-18 08:50:54 +05:00
doc Doc: Add global \versionlessCMakeCommandsNote qdoc macro 2021-08-23 13:06:27 +02:00
effects Remove the qmake project files 2021-01-07 15:32:28 +01:00
graphicsview QGraphicsProxyWidget: forward Window(De)Activate events 2021-08-24 13:32:07 +02:00
itemviews QListView: fix AdjustToContents (sizeAdjustPolicy) 2021-08-10 12:00:13 +02:00
kernel QGraphicsProxyWidget: fix propagation of high-precision events 2021-08-16 16:37:26 +00:00
styles Modify the internal rectangle drawing of CE_RubberBand 2021-08-23 16:26:55 +08:00
util Consistent indentation for all Q_PROPERTYs 2021-06-24 23:06:20 +02:00
widgets QLineEdit: account for the placeholderText when computing lineRect 2021-08-23 12:39:44 +00:00
CMakeLists.txt QtWidgets: clean up API removals 2021-07-27 17:44:30 +02:00
Qt6WidgetsMacros.cmake Update add_custom_command and add_custom_target dependencies 2020-02-03 08:07:03 +00:00
QtWidgets.dynlist
configure.cmake CMake: Regenerate configure.cmake files 2020-09-15 15:55:47 +02:00
qt_cmdline.cmake CMake: Re-implement configure/qmake's command line handling in CMake 2020-08-17 08:08:20 +02:00
qtwidgets.tracepoints Reduce amount of tracepoints required for event tracking 2019-05-02 14:15:58 +00:00