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. QDockWidget priority
Forum Updated to NodeBB v4.3 + New Features

QDockWidget priority

Scheduled Pinned Locked Moved Unsolved General and Desktop
qdockwidget
2 Posts 2 Posters 1.2k Views 2 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.
  • M Offline
    M Offline
    Mark81
    wrote on last edited by
    #1

    Hi,
    I have three QDockWidgets: one docked on the left edge, one on the right and the last on the bottom.
    The bottom one takes the whole width of the QMainWindow, while the two on both sides and placed "on top" of it. I mean the bottom edge of them is over the top edge of the bottom one.

    I want the opposite! The side widgets should take the whole height of the window, while the one docked at bottom should stay in between of them.

    I cannot find a suitable property to achieve this!

    ValentinMicheletV 1 Reply Last reply
    1
    • M Mark81

      Hi,
      I have three QDockWidgets: one docked on the left edge, one on the right and the last on the bottom.
      The bottom one takes the whole width of the QMainWindow, while the two on both sides and placed "on top" of it. I mean the bottom edge of them is over the top edge of the bottom one.

      I want the opposite! The side widgets should take the whole height of the window, while the one docked at bottom should stay in between of them.

      I cannot find a suitable property to achieve this!

      ValentinMicheletV Offline
      ValentinMicheletV Offline
      ValentinMichelet
      wrote on last edited by
      #2

      Hi,

      Maybe a little late, but here is a potential solution:
      http://www.qtcentre.org/threads/31604-Vertical-and-horizontal-QDockWidget-priority
      http://doc.qt.io/qt-5/qmainwindow.html#setCorner

      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