summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qhighdpiscaling_p.h
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@theqtcompany.com>2015-06-04 19:38:45 +0200
committerMorten Johan Sørvig <morten.sorvig@theqtcompany.com>2015-06-16 10:57:05 +0000
commit92fb72de68130530dbf10899df901cc03431f4fe (patch)
tree1d1995ceb413dbeb1fb4e86723162036f64a0d63 /src/gui/kernel/qhighdpiscaling_p.h
parentdeeaf98650e316a613afe655e40b11a93b378c12 (diff)
Update doc.
Move to the class documentation in the cpp file, focus on documenting the class and not necessarily high-dpi scaling in general. Change-Id: I4f04398904325b2f9061db8d3a82cd362276e977 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
Diffstat (limited to 'src/gui/kernel/qhighdpiscaling_p.h')
-rw-r--r--src/gui/kernel/qhighdpiscaling_p.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/gui/kernel/qhighdpiscaling_p.h b/src/gui/kernel/qhighdpiscaling_p.h
index 8347214823..bf967d10ad 100644
--- a/src/gui/kernel/qhighdpiscaling_p.h
+++ b/src/gui/kernel/qhighdpiscaling_p.h
@@ -51,29 +51,6 @@
#include <QtGui/qscreen.h>
#include <QtGui/qwindow.h>
-// This file implmements utility functions for high-dpi scaling on operating
-// systems that do not provide native scaling support.
-//
-// The functions support creating a logical device-independent
-// coordinate system which is related to the device pixel coordinate
-// through a scaling factor.
-//
-// Several scaling factors can be set:
-// - A process-global scale factor
-// - the QT_SCALE_FACTOR environment variable.
-// - QHighDpiScaling::setFactor(factor);
-// - A per-window scale factor
-// - QHighDpiScaling::setWindowFactor(window, factor);
-//
-// With these functions in use most of the Qt API will then operate in
-// the device-independent coordinate system. For example, setting
-// the scale factor to 2.0 will make Qt see half of the "device"
-// window geometry. Desktop and event geometry will be scaled
-// to match.
-//
-// Integer scaling factors work best. Glitch-free graphics at non-integer
-// scaling factors can not be guaranteed.
-
QT_BEGIN_NAMESPACE
Q_DECLARE_LOGGING_CATEGORY(lcScaling);