A dynamically created Window can have a parent Window
authorShawn Rutledge <shawn.rutledge@digia.com>
Tue, 1 Oct 2013 06:36:03 +0000 (08:36 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 3 Oct 2013 15:48:34 +0000 (17:48 +0200)
commit8cb02e23abbefc9d020707fc1a2d8b6eb4e103b6
treeee0ad44f7e37bd53c220d1ee745c3f3ce09d7c32
parent7959eca9f15f6a2a614f247712a0ce491f877708
A dynamically created Window can have a parent Window

So far the parent relationship has existed only for Items.  parent
is still not exposed as a property of Window, but since it was possible
to give a parent parameter to Component.createObject(), it makes
sense to try to interpret it as a Window in that case.  So now a
Window can be created with another Window as its parent just as an
Item can be created with a parent Item.

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