Screen attached property: expose pixelDensity property
authorShawn Rutledge <shawn.rutledge@digia.com>
Fri, 25 Oct 2013 13:16:46 +0000 (15:16 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 25 Oct 2013 23:52:10 +0000 (01:52 +0200)
commitcca9522e7ca0c040ae354b20f09983005ef955bd
treec3b728631f0d167c4c57041cb19b7d90df40a0d1
parentb3bff5bb3c8ee0e1c45d20d04b1c3c0236aa9d38
Screen attached property: expose pixelDensity property

Because logicalPixelDensity is different than physical density on
multiple platforms, having the actual density is critical to be able
to design resolution-independent controls.

Change-Id: I06bbdc6e6869718058a796ca737668ce69802f2b
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
src/quick/items/qquickscreen.cpp
src/quick/items/qquickscreen_p.h