Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. Size of QMainWindow on 4K-Screen when a QMdiArea is contained
Forum Updated to NodeBB v4.3 + New Features

Size of QMainWindow on 4K-Screen when a QMdiArea is contained

Scheduled Pinned Locked Moved Unsolved Brainstorm
1 Posts 1 Posters 608 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.
  • W Offline
    W Offline
    Wurgl
    wrote on last edited by
    #1

    I own a 4K-display with a size of ~40" (100cm). A really large one, but not a high resolution retina-like, it has ~110 dpi.

    When I start a simple QMainWindow containing a QMdiArea as central widget, the application starts with a window size of 2560x1440 which is astonishing large. I am wondering if this default size for such a display is a good idea?

    It seems that the default size is just 66.67% of the display size which might be a good idea for reasonable sized displays, like 1920x1080 (which I used before) or for retina-like high-resolution displays. Maybe the default size shall take in account the pixel size (dpi) too?

    Yes I can fix that, but what size would be a good one?

    Any ideas?

    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