qt5base-lts/tests/auto/opengl/qgl
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
..
.gitignore Moved autotests in category 'opengl' into new directory structure 2011-09-09 10:32:38 +02:00
qgl.pro add and use qtHaveModule() function 2012-12-21 19:05:02 +01:00
qgl.qrc Moved autotests in category 'opengl' into new directory structure 2011-09-09 10:32:38 +02:00
tst_qgl.cpp Transient QWindows centered; default-constructed geometry 2013-02-24 20:41:05 +01:00