Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. How to get screen size in PyQt6?
QtWS25 Last Chance

How to get screen size in PyQt6?

Scheduled Pinned Locked Moved Unsolved Qt 6
pyqtscreensize
3 Posts 3 Posters 3.2k Views
  • 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.
  • J Offline
    J Offline
    Jbone73
    wrote on 6 Feb 2022, 08:37 last edited by
    #1

    Hello everybody,

    First of all, thank you all for your help.

    I aim on a function (very stupid for you I'm sure), I would like to recover the dimensions of the computer screen in order to adapt my window to this one.

    Do you have an idea for me to solve this little problem?

    FYI, I'm using PyQt6

    Thanking you all in advance.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 6 Feb 2022, 08:54 last edited by
      #2

      QScreen should also be available for PyQt.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      1
      • S Offline
        S Offline
        SMEasy
        wrote on 6 Feb 2022, 10:04 last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0

        1/3

        6 Feb 2022, 08:37

        • Login

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