From 92fb72de68130530dbf10899df901cc03431f4fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Johan=20S=C3=B8rvig?= Date: Thu, 4 Jun 2015 19:38:45 +0200 Subject: 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 Reviewed-by: Paul Olav Tvete --- src/gui/kernel/qhighdpiscaling_p.h | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'src/gui/kernel/qhighdpiscaling_p.h') 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 #include -// 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); -- cgit v1.2.1