Add a note in the QScreen documentation about logical vs physical DPI.
authorSamuel Rødal <samuel.rodal@nokia.com>
Tue, 22 Nov 2011 09:53:40 +0000 (10:53 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 24 Nov 2011 15:46:15 +0000 (16:46 +0100)
Change-Id: I1d536711cbbc0ea8a21c6917e5e0066c1ad4ccae
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
src/gui/kernel/qscreen.cpp

index 7d83ceb..682e42a 100644 (file)
@@ -61,6 +61,17 @@ public:
     \class QScreen
     \brief The QScreen class is used to query screen properties.
 
+    A note on logical vs physical dots per inch: physical DPI is based on the
+    actual physical pixel sizes when available, and is useful for print preview
+    and other cases where it's desirable to know the exact physical dimensions
+    of screen displayed contents.
+
+    Logical dots per inch are used to convert font and user interface elements
+    from point sizes to pixel sizes, and might be different from the physical
+    dots per inch. The logical dots per inch are sometimes user-settable in the
+    desktop environment's settings panel, to let the user globally control UI
+    and font sizes in different applications.
+
     \inmodule QtGui
 */