Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Signal/Event Handler for window's scale percentage change indication
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 561 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Maikkannan
    wrote on last edited by aha_1980
    #1

    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.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved