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. Multiwindow docking in Qt
Qt 6.11 is out! See what's new in the release blog

Multiwindow docking in Qt

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 2.1k 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.
  • N Offline
    N Offline
    Neel Patel
    wrote on last edited by Neel Patel
    #1

    Hi,

    I have used QDockWidget and added multiple docking window. If i float one of the dock window and add remaining dock window inside newly docked window then how to achieve that ?

    Below are what is expected.

    1. Add mainwindow and multiple dock widgets inside mainwindow.
    2. Dock (float) one window from mainwindow .
    3. Drag one of dockwidget from mainwindow and drop into float window in step 2.

    Can you please suggest how to implement or demo example for rederence.

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

      Hi and welcome to devnet,

      Just to be sure I understand correctly: you want to dock a QDockWidget inside a floating QDockWidget. Is that correct ?

      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
      • N Offline
        N Offline
        Neel Patel
        wrote on last edited by
        #3

        Yes. You are correct.

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

          Then it's something you'll have to do by hand. The stacking of QDockWidget in QMainWindow is handled by the custom layout from QMainWindow.

          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
          0
          • N Offline
            N Offline
            Neel Patel
            wrote on last edited by
            #5

            Thanks. I will check and update the thread.

            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