summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@theqtcompany.com>2016-03-18 11:38:58 +0100
committerMorten Johan Sørvig <morten.sorvig@theqtcompany.com>2016-03-18 19:06:55 +0000
commit281c61bdc9c67ab89052a96a43e81643689dd55c (patch)
tree152b030293631ff4db0221800a2430126aba820b
parent6f8679e9a05650da42b54a57f7c52f55300f2665 (diff)
downloadqtdoc-281c61bdc9c67ab89052a96a43e81643689dd55c.tar.gz
Document Qt::AA_EnableHighDpiScaling
Change-Id: Ie73963c060cb11871dc513c9e35f93a9a6179d67 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
-rw-r--r--doc/src/highdpi.qdoc6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/src/highdpi.qdoc b/doc/src/highdpi.qdoc
index e040f39c..ede43d7f 100644
--- a/doc/src/highdpi.qdoc
+++ b/doc/src/highdpi.qdoc
@@ -157,9 +157,13 @@
\note Non-integer scale factors may cause significant
scaling/painting artifacts.
+ \li The application attribute \c Qt::AA_EnableHighDpiScaling, introduced in Qt 5.6,
+ enables automatic scaling based on the pixel density of the monitor.
+
\li The application attribute \c Qt::AA_DisableHighDpiScaling, introduced in Qt 5.6,
turns off all scaling. This is intended for applications that need to use
- actual window system coordinates, regardless of environment variables.
+ actual window system coordinates, regardless of environment variables. This
+ attribute takes priority over Qt::AA_EnableHighDpiScaling.
\li An experimental implementation of high-DPI scaling was introduced in Qt 5.4.
It was enabled by the environment variable \c QT_DEVICE_PIXEL_RATIO, which