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. Undock, dock & drag using tabs Just like in a browsers
Forum Update on Monday, May 27th 2025

Undock, dock & drag using tabs Just like in a browsers

Scheduled Pinned Locked Moved Unsolved General and Desktop
qdockwidget
3 Posts 3 Posters 1.9k 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.
  • R Offline
    R Offline
    Rizwan94
    wrote on 26 Jan 2020, 07:57 last edited by
    #1

    Hi,

    In my application, I am adding the QDockWidgets using addDockWidgets(...) to my QMainWindow.

    I am able to dock or undock these widgets only by using the TitleWidget of the DockWidget.

    This seems to be the standard behavior.

    Is there a way to dock & undock the dockwidgets using the tab itself?
    Basically I would like to acheive the behavior of docking & undocking present in browsers ( ex. In chrome, you can dock & undock by dragging the particular TAB itself ).

    Thanks.

    R 1 Reply Last reply 26 Jan 2020, 09:46
    0
    • R Rizwan94
      26 Jan 2020, 07:57

      Hi,

      In my application, I am adding the QDockWidgets using addDockWidgets(...) to my QMainWindow.

      I am able to dock or undock these widgets only by using the TitleWidget of the DockWidget.

      This seems to be the standard behavior.

      Is there a way to dock & undock the dockwidgets using the tab itself?
      Basically I would like to acheive the behavior of docking & undocking present in browsers ( ex. In chrome, you can dock & undock by dragging the particular TAB itself ).

      Thanks.

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 26 Jan 2020, 09:46 last edited by
      #2

      @Rizwan94
      https://www.kdab.com/kddockwidgets/
      GPL licensed though

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      5
      • V Offline
        V Offline
        VRonin
        wrote on 28 Jan 2020, 12:38 last edited by
        #3

        https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System
        LGPL license

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply
        3

        2/3

        26 Jan 2020, 09:46

        • Login

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