Obsolete Members for Screen
The following members of QML type Screen are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
Attached Properties
- logicalPixelDensity : real
(deprecated)
Attached Property Documentation
[read-only] Screen.logicalPixelDensity : real |
This property is deprecated. We strongly advise against using it in new code.
The number of logical pixels per millimeter. This is the effective pixel density provided by the platform to use in image scaling calculations.
Due to inconsistencies in how logical pixel density is handled across the various platforms Qt supports, it is recommended to use physical pixels instead (via the pixelDensity
property) for portability.
See also pixelDensity.
© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.