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. QWIDGETSIZE_MAX size

QWIDGETSIZE_MAX size

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 752 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.
  • O Offline
    O Offline
    Orad
    wrote on last edited by
    #1

    Dear all,

    I am currently working on a project, where have splitted a view to three horizontal sub views via QSplitter. I want to stretch the scene in order to show each subview in a separate monitor, so in total 3 monitors.

    Whenever I stretch the main window, two of the sub views are fit to the two of monitors but it is not able to be stretched to cover the third monitor as well.

    I searched around to find out how can I increase the maximum dimension size of the framer and the main view of that. It seems that I cannot go beyond 16777215. Is there any way to go beyond this value?

    I appreciate any help. Thank You!

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

      Hi,

      If you really want to have a widget bigger than that, you will have to build your own version of Qt change the value of QWIDGETSIZE_MAX. However, I don't know the implication of changing that value with regard to rendering and other backend possible issues.

      Out of curiosity, what is the design of your application ? Having a splitter on three screens is a bit surprising.

      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
      1

      • Login

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