diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2013-03-27 09:57:59 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-10 21:20:08 +0200 |
commit | ccbf0560b36515630328be44a20f4fe62eaec531 (patch) | |
tree | bb67970cb1cd91c42186914bb1fa6d4a0594ea31 /dist/changes-5.1.0 | |
parent | 8190355557c13bba836cef49585556f0c823f672 (diff) | |
download | qtdeclarative-ccbf0560b36515630328be44a20f4fe62eaec531.tar.gz qtdeclarative-ccbf0560b36515630328be44a20f4fe62eaec531.tar.bz2 qtdeclarative-ccbf0560b36515630328be44a20f4fe62eaec531.zip |
a nested Window automatically becomes transient for its parent
If you declare Window { Window {}} or Window { Item { Window {}}}
the inner window will automatically become transient for the
outer one. The transient relationship must be set before the
inner window becomes visible though, so declaring visible: true
doesn't always work, depending on initialization order. It's OK
if you assign visible (or call show()) later on when the user needs
to see the transient window for the first time.
Also added documentation.
Change-Id: I888c3b9da6d44d11516227c085bcc12a5ccb5e81
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Diffstat (limited to 'dist/changes-5.1.0')
-rw-r--r-- | dist/changes-5.1.0 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dist/changes-5.1.0 b/dist/changes-5.1.0 index cee8d4b38..4333c4a8d 100644 --- a/dist/changes-5.1.0 +++ b/dist/changes-5.1.0 @@ -32,6 +32,9 @@ Third party components * Important Behavior Changes * **************************************************************************** + - A Window declared nested inside another Item or Window automatically + becomes transient for (centered upon) its parent's window, if x and y + were not explicitly specified **************************************************************************** * Library * |