Focus event fix for QQuickWidget
authorPaul Olav Tvete <paul.tvete@digia.com>
Wed, 21 May 2014 08:49:07 +0000 (10:49 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 21 May 2014 10:35:21 +0000 (12:35 +0200)
commit7c1ee572770bdac445eb6a647b6a82a7dc2da407
tree23c52ce27a555eec3fe95a13146d08e28aea36b9
parent7ccdf8d11675e963b70b565e421309e09c019343
Focus event fix for QQuickWidget

Relay focus in/out events to the offscreen QQuickWindow, and also
make the offscreen window believe it has the focus when the
render window has it.

Task-number: QTBUG-39033
Change-Id: Ib50b134e635833ad3813693ca272f04607c525b8
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
src/quick/items/qquickwindow.cpp
src/quickwidgets/qquickwidget.cpp
src/quickwidgets/qquickwidget.h