diff options
author | Morten Johan Sørvig <morten.sorvig@digia.com> | 2013-03-01 12:28:03 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-26 21:44:15 +0100 |
commit | d616915b0ab346c7e3e6944605e5822afd743f73 (patch) | |
tree | ad41ece64eb27a525d9d09efcaf102fc63ee419a /tests/auto/gui | |
parent | 491dcbfac8da80bc573ba90959a3d610a55db4d0 (diff) |
Support high-dpi images.
When Qt::AA_UseHighDPIImages is set images and pixmaps
may be of the high-dpi type.
Account for this when calculating layout sizes by
clamping the size or dividing by devicePixelRatio()
to go from device pixels to device-independent pixels.
Change-Id: I7b7f4c36ebd83d72ecdf6fbe0ae20e20ed6540bb
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'tests/auto/gui')
0 files changed, 0 insertions, 0 deletions