Qt Declarative (Quick 2)
Go to file
Laszlo Agocs 0dbc575c1a Make keyboard events work in QQuickWidget
Right now many cases outside of text input fields are simply broken,
e.g. one cannot use a TableView or other controls with the keyboard.

Removing the seemingly unnecessary focusObject() solves all problems
since this way key events get delivered to the QQuickWidget which in
turn forwards to the QQuickWindow.

Directly routing into the QQuickWindow's focusObject(), which can be
any item in the scene is wrong since it skips a big part of
QQuickWindow's event handling logic.

Task-number: QTBUG-45757
Change-Id: Ie53b9003d156ab019fa4b9cf461e209990e738f7
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
2017-03-29 15:31:21 +00:00
config.tests/d3d12
dist
examples Merge "Merge remote-tracking branch 'origin/5.8' into 5.9" into refs/staging/5.9 2017-03-25 10:59:43 +00:00
features
src Make keyboard events work in QQuickWidget 2017-03-29 15:31:21 +00:00
tests Make keyboard events work in QQuickWidget 2017-03-29 15:31:21 +00:00
tools Merge "Merge remote-tracking branch 'origin/5.8' into 5.9" into refs/staging/5.9 2017-03-25 10:59:43 +00:00
.gitattributes
.gitignore
.gitmodules Run ES5 tests on Linux/x86-64 2017-03-24 20:21:36 +00:00
.qmake.conf
.tag
LGPL_EXCEPTION.txt
LICENSE.FDL
LICENSE.GPL2
LICENSE.GPL3
LICENSE.GPL3-EXCEPT
LICENSE.GPLv3
LICENSE.LGPL3
LICENSE.LGPLv3
LICENSE.LGPLv21
configure.json
qtdeclarative.pro
sync.profile