aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2013-03-27 09:57:59 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-10 21:20:08 +0200
commitccbf0560b36515630328be44a20f4fe62eaec531 (patch)
treebb67970cb1cd91c42186914bb1fa6d4a0594ea31 /dist
parent8190355557c13bba836cef49585556f0c823f672 (diff)
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')
-rw-r--r--dist/changes-5.1.03
1 files changed, 3 insertions, 0 deletions
diff --git a/dist/changes-5.1.0 b/dist/changes-5.1.0
index cee8d4b382..4333c4a8dd 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 *