Results 1 to 2 of 2

Thread: QDockWidget dockable with other QDockwidgets

  1. #1
    Join Date
    Feb 2006
    Posts
    27
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default QDockWidget dockable with other QDockwidgets

    Okay, so I have a QMainWindow and it creates QDockWidgets but what I would like to have happen is float a 2 QDockWidgets but have them dock to themselves. Is there a way to do this?

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QDockWidget dockable with other QDockwidgets

    Just an idea:
    Install an event filter for both dock widgets, check for move and resize events, and put them in a QSplitter when they are close enough.
    J-P Nurmi

Similar Threads

  1. QDockWidget magically disapear
    By 1111 in forum Qt Programming
    Replies: 1
    Last Post: 29th January 2009, 11:44

Bookmarks

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.