qt5base-lts/tests/auto/widgets
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
..
dialogs Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
effects Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
graphicsview Make sure QGraphicsItem notifies changes to focusScopeItem. 2013-01-24 02:20:34 +01:00
itemviews Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
kernel Transient QWindows centered; default-constructed geometry 2013-02-24 20:41:05 +01:00
styles Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
util Check existence of QProcess feature before using it on Qt autotests. 2013-01-28 16:06:15 +01:00
widgets Transient QWindows centered; default-constructed geometry 2013-02-24 20:41:05 +01:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00