qt5base-lts/tests/manual/highdpi
Morten Johan Sørvig 900f2cb6f7 Update Dpi and scale factor computation
Remove pixelScale() in favor of logicalBaseDpi(). Compute scale factor
based on logical DPI and logical base DPI, or optionally based on the
physical DPI.

Add policies for running the scale factor and adjusting the logical
DPI reported to the application. The policies are set via environment
variables:

  QT_SCALE_FACTOR_ROUNDING_POLICY=Round|Ceil|Floor|RoundPreferFloor|PassThrough
  QT_DPI_ADJUSTMENT_POLICY=AdjustDpi|DontAdjustDpi|AdjustUpOnly
  QT_USE_PHYSICAL_DPI=0|1

Done-with: Friedemann Kleint <Friedemann.Kleint@qt.io>
Task-number: QTBUG-53022
Change-Id: I4846f223186df665eb0a9c827eaef0a96d1f458f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2019-08-23 03:40:35 +02:00
..
dragwidget.cpp test: migrate highdpi manual test to QRegularExpression 2019-06-10 10:16:52 +02:00
dragwidget.h Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
highdpi.pro Update Dpi and scale factor computation 2019-08-23 03:40:35 +02:00
highdpi.qrc Add support for "@3x" image loading. 2015-10-16 21:47:25 +00:00
main.cpp Minor test cleanup: nullptr, unused variable 2018-07-16 18:48:22 +00:00
qticon16.png Update the high-dpi manual test. 2013-03-29 09:47:32 +01:00
qticon16@2x.png Update the high-dpi manual test. 2013-03-29 09:47:32 +01:00
qticon16@3x.png Add support for "@3x" image loading. 2015-10-16 21:47:25 +00:00
qticon32.png Update the high-dpi manual test. 2013-03-29 09:47:32 +01:00
qticon32@2x.png Update the high-dpi manual test. 2013-03-29 09:47:32 +01:00
qticon64.png Update the high-dpi manual test. 2013-03-29 09:47:32 +01:00