The following members of QML type System are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Properties
- displayScaleFactor : real
(obsolete)
Signals
- displayScaleFactorChanged()
(obsolete)
Property Documentation
This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
A scale factor for the current system display, based on the ratio of the logical DPI to the physical DPI.
This function is deprecated at 100.5. Use Qt's built in support for scaling to high DPI displays by calling QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling)
in the main.cpp. More details can be found in the Qt documentation
Signal Documentation
This signal is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Emitted when displayScaleFactor property of this object changes.
This signal and its associated property displayScaleFactor are deprecated at 100.5.
Note: The corresponding handler is onDisplayScaleFactorChanged
.