A dynamically-created Window can have a parent Item and vice-versa
authorShawn Rutledge <shawn.rutledge@digia.com>
Tue, 1 Oct 2013 07:01:35 +0000 (09:01 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 3 Oct 2013 15:48:34 +0000 (17:48 +0200)
commita65ad5e919209f7b934e84516d732eaf2edd227f
tree3a6b95a028cca1168460f7183b14c4f2cf5174f9
parent8cb02e23abbefc9d020707fc1a2d8b6eb4e103b6
A dynamically-created Window can have a parent Item and vice-versa

There can be a QML-declared Item which uses Component.createObject to
instantiate a Window; in that case the Window will be transient for
the window containing the Item.  There can also be a QML-declared
Window which uses Component.createObject to instantiate an Item;
in that case the Item's parent will be set to the Window's contentItem.

Task-number: QTBUG-33644
Change-Id: I0b1fe2e98c862c100e52bd5952788af3a727d25e
Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com>
src/quick/items/qquickitemsmodule.cpp