Add more geometry properties to the Screen attached property
authorShawn Rutledge <shawn.rutledge@digia.com>
Fri, 26 Apr 2013 12:46:05 +0000 (14:46 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 29 Apr 2013 09:11:37 +0000 (11:11 +0200)
commitf3973cbd077d2d92250958f8bda57fea30827f00
tree13677d6b3a1852f05003e23651dc87595817eabc
parent8704006b87ada76b3c05420b479491b95ff73a30
Add more geometry properties to the Screen attached property

desktopAvailableHeight is useful for positioning windows, and
logicalPixelDensity is useful for ensuring that touch controls are
a reasonable size even on very high-resolution displays.

Change-Id: Id777caf6cef1df5bc01757605e3085151170760b
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
src/quick/items/qquickscreen.cpp
src/quick/items/qquickscreen_p.h