qt5base-lts/tests/auto/widgets/kernel
Shawn Rutledge 153d613353 Transient QWindows centered; default-constructed geometry
Default-constructed geometry does not mean put the window at 0,0,
and it does not mean center the window on the screen: it means
let the window manager position the window.  If the window is
explicitly positioned at 0,0 though, that is a higher priority
than the transient hint; without this change, the transientFor property
had no effect.  On X11, transient means use center "gravity" to
make the transient window exactly centered.  But the user can still
override the geometry of a transient window, as with any window.
On OSX and Windows, neither transient window functionality nor smart
initial positioning are provided, so a window with no position set
will be centered on the screen, and a transient window will be put
at the center of its transientParent.

Change-Id: I4f5e37480eef5d105e45ffd60362a57f13ec55f5
Task-number: QTBUG-26903
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
2013-02-24 20:41:05 +01:00
..
qaction Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qactiongroup Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qapplication Check existence of QProcess feature before using it on Qt autotests. 2013-01-28 16:06:15 +01:00
qboxlayout Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qdesktopwidget Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qformlayout Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qgridlayout Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qlayout Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qshortcut Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qsizepolicy Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qstackedlayout Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtooltip Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qwidget Transient QWindows centered; default-constructed geometry 2013-02-24 20:41:05 +01:00
qwidget_window Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qwidgetaction Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qwidgetmetatype Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qwidgetsvariant Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
kernel.pro Enable tst_qwidgetsvariant test 2013-01-11 12:02:21 +01:00