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 size and resolution? [Solved with QDesktopWidget]
Qt 6.11 is out! See what's new in the release blog

Screen size and resolution? [Solved with QDesktopWidget]

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.3k 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.
  • I Offline
    I Offline
    IanBorn
    wrote on last edited by
    #1

    Is there anyway to get maximum screen width and height without using
    @showFullScreen();
    qrect1=frameGeometry();
    qrect1.getCoords(&zx,&zy,&maX_screen_width,&max_screen_height);
    showNormal();@

    These above codes work fine on MS Window. But, in Xubuntu they
    don't work as it suppose to.

    Thanks

    1 Reply Last reply
    0
    • I Offline
      I Offline
      IanBorn
      wrote on last edited by
      #2

      Please ignore. Found the right class : QDesktopWidget
      Thanks.

      1 Reply Last reply
      0
      • EddyE Offline
        EddyE Offline
        Eddy
        wrote on last edited by
        #3

        Thanks for letting us know you have solved it.

        Could you please edit your title in the first post and add [solved] to it. So others will know without opening the post it's already solved. Thanks.

        Qt Certified Specialist
        www.edalsolutions.be

        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