Obsolete Members for Screen
QMLのScreen型における以下のメンバーは非推奨となっています。これらは、古いソースコードが動作し続けるように提供されているものです。新しいコードでの使用は強く推奨しません。
添付プロパティ
- logicalPixelDensity : real
(deprecated)
添付の不動産関連書類
Screen.logicalPixelDensity : real [read-only attached, deprecated]
このプロパティは非推奨です。新しいコードでの使用は強く推奨しません。
1ミリメートルあたりの論理ピクセル数。これは、画像のスケーリング計算に使用する、プラットフォームが提供する有効ピクセル密度です。
Qtがサポートする各種プラットフォーム間で論理ピクセル密度の扱いに一貫性がないため、移植性を確保するには、代わりに物理ピクセル(pixelDensity プロパティを介して)を使用することを推奨します。
「pixelDensity」も参照してください 。
© 2026 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.