Add devicePixelRatio support to the Windows QPA plugin.
authorFriedemann Kleint <Friedemann.Kleint@digia.com>
Mon, 28 Jul 2014 12:34:50 +0000 (14:34 +0200)
committerFriedemann Kleint <Friedemann.Kleint@digia.com>
Mon, 25 Aug 2014 19:21:27 +0000 (21:21 +0200)
commitc47b04696a9d1dab04c4a59ed9ce4c28aa00fe98
treec0c5fabb914956e6a5da7ceb961fdaf0f0e638b6
parentd8168f10a1a9c78252d5d98a3e4ca171d4f86844
Add devicePixelRatio support to the Windows QPA plugin.

This adds support for the environment variable
QT_DEVICE_PIXEL_RATIO for the Windows platform plugin.

Task-number: QTBUG-38993
Task-number: QTBUG-38858
Change-Id: I6831eb6d3a09a80be7bbef46395e91531b61cc50
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
17 files changed:
src/plugins/platforms/windows/qwindowsbackingstore.cpp
src/plugins/platforms/windows/qwindowsbackingstore.h
src/plugins/platforms/windows/qwindowscontext.cpp
src/plugins/platforms/windows/qwindowsdrag.cpp
src/plugins/platforms/windows/qwindowsinputcontext.cpp
src/plugins/platforms/windows/qwindowsintegration.cpp
src/plugins/platforms/windows/qwindowskeymapper.cpp
src/plugins/platforms/windows/qwindowsmousehandler.cpp
src/plugins/platforms/windows/qwindowsnativeimage.h
src/plugins/platforms/windows/qwindowsscaling.cpp [new file with mode: 0644]
src/plugins/platforms/windows/qwindowsscaling.h [new file with mode: 0644]
src/plugins/platforms/windows/qwindowsscreen.cpp
src/plugins/platforms/windows/qwindowsscreen.h
src/plugins/platforms/windows/qwindowstabletsupport.cpp
src/plugins/platforms/windows/qwindowswindow.cpp
src/plugins/platforms/windows/qwindowswindow.h
src/plugins/platforms/windows/windows.pri