Getting the render window of an offscreen window
authorPaul Olav Tvete <paul.tvete@digia.com>
Wed, 23 Apr 2014 07:58:32 +0000 (09:58 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 24 Apr 2014 13:36:51 +0000 (15:36 +0200)
commita1eb1348ff8026a6c623981d06142769dc18ec78
tree52f2c1924600a65c5fb828b00d7a3e2641ba0102
parent4f3a02c7cde6589ecbdbc4f0dcf20793d2d604db
Getting the render window of an offscreen window

When using a QQuickWidget, the QQuickWindow is hidden and the contents
are displayed in another window. Some components need to query the actual
window, e.g. when positioning a popup.

Task-number: QTBUG-38116
Change-Id: I34452be2179ccc9e216e4d89264dc700e0cf42a0
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
src/quick/items/qquickrendercontrol.cpp
src/quick/items/qquickrendercontrol_p.h
src/quickwidgets/qquickwidget.cpp