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. Screen Resolution

Screen Resolution

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 409 Views 1 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.
  • D Offline
    D Offline
    devi
    wrote on last edited by
    #1

    I developed an application. The problem is my application should run in different desktop. But it was not completely visible to the screens resolution (800x600,1024x768).so for that I want to change the screen resolution to see the complete GUI(1280x1024,1600x1200,1920x1440) .Is there a fixed resolution. Is there any function in QT to auto resize the GUI? Thanks in Advance!!!

    J.HilkJ 1 Reply Last reply
    0
    • D devi

      I developed an application. The problem is my application should run in different desktop. But it was not completely visible to the screens resolution (800x600,1024x768).so for that I want to change the screen resolution to see the complete GUI(1280x1024,1600x1200,1920x1440) .Is there a fixed resolution. Is there any function in QT to auto resize the GUI? Thanks in Advance!!!

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @devi Theres the QScreen class that is used to query properties of the screen.

      You can use that to detect the screen resolution and adjust your app accordingly.

      If you used proper layouts, that you only have to do a single resize call and you should be done


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to devnet,

        Please check the Layout Management chapter in Qt's documentation.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        • Login

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