Results 1 to 2 of 2

Thread: DockWidget side by side

  1. #1
    Join Date
    Oct 2009

    Default DockWidget side by side


    I am working with Qt now for quite a while and so far I'm really glad I chose Qt as my GUI framework.

    Now I have one question regarding dockwidgets:
    I know there always is a Central Widget area and around that central widget there are the docking areas.

    But is it possible to dock widgets side by side in the left docking area, so there are actually two docking widgets next to each other?
    When I tried it I only got the widgets to dock in a vertical order in the left/right area and in a horizontal order in the top/bottoma area... but is it possible to dock 2 dockwidgets in horizontal order in the left area?

    I uploaded a little pic to show you what I mean:

    Here, the different colors represent different dockWidgets..

    Is a layout like that possible? So that the user can chose to dock the widgets side by side or in vertical order, as he wishes?

    Thanks a lot,

  2. #2
    Join Date
    Jan 2013
    Qt products
    Unix/X11 Windows

    Default Re: DockWidget side by side


    Tha main window has a property dockNestedAllowed, true to set it to true...

Similar Threads

  1. side-by-side configuration is incorrect
    By trueqt in forum Qt Programming
    Replies: 1
    Last Post: 28th August 2009, 01:35
  2. Stack two QMenuBars instead of side by side?
    By killerwookie99 in forum Qt Programming
    Replies: 1
    Last Post: 16th August 2008, 07:27
  3. Set axis title on the right side
    By pospiech in forum Qwt
    Replies: 1
    Last Post: 14th March 2008, 08:26
  4. Replies: 5
    Last Post: 15th February 2008, 03:54
  5. Hi from my side too !!
    By shank in forum General Discussion
    Replies: 1
    Last Post: 23rd April 2007, 07:50


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.