Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Signal/Event Handler for window's scale percentage change indication



  • Hi,
    I'm developing application in Qt creator 4.9.0.
    Qt library : 5.12.2
    OS : Windows 10

    I'm trying to fix the scaling issues in my application to make the application adopt with different scaling percentage. So that I need to know Is there any signal/event handlers to indicate the updates/changes on windows scaling percentage ? whenever user changes Setting >> Display >> scale and Layout >> 100%,125%,250%...% .

    Thanks,
    Maikkannan.


  • Lifetime Qt Champion

    Hi
    Should come from QScreen but im not sure
    Please see if
    logicalDotsPerInchChanged(qreal dpi)
    will fire when you change the scaling.

    https://doc.qt.io/qt-5/qscreen.html


Log in to reply