diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-07-18 10:53:41 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-07-27 17:20:51 +0000 |
commit | 29c6e39086831f6811e94364273c1f4bff119bef (patch) | |
tree | 4a4d36af0d994e72a59e39d88c1eb7dc4e9804bf /src/plugins/platforms | |
parent | 0e40781c1637f575acc842044b67da412c8e2026 (diff) |
Windows style: Scale native metrics per monitor
The native sizes returned by the metrics and theme functions refer
to the primary monitor. They need adaption when showing on a secondary
monitor with differing logical DPI.
Introduce a helper function
QWindowsStylePrivate::nativeMetricScaleFactor() to calculate the
total factor.
Task-number: QTBUG-49374
Change-Id: I34c843ff34108424e1ef0aafcf9f563d17ebbc89
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/plugins/platforms')
0 files changed, 0 insertions, 0 deletions