Results 1 to 5 of 5

Thread: QDockArea in Qt4...

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    517
    Thanks
    21
    Thanked 66 Times in 62 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QDockArea in Qt4...

    havent u seen the dock widgets example in Qt demo..isnt that what u need precisely?

  2. #2
    Join Date
    Feb 2009
    Posts
    29
    Thanks
    1
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QDockArea in Qt4...

    Just to be sure - I just looked at it, and no - that's not what I need; namely because it has a central widget, which I don't want; similar though.

    What I want to be able to rearrange widgets. Similar to moving a dock widget from one side of the screen to the other, only I want to be able to have it take up the central area too.

    So widgets X, Y, Z could be ordered in any of the following from left to right across the layout:
    Y X Z
    X Y Z
    Z Y X
    Z X Y
    X Z Y
    Y Z X

    that's quite different than what QMainWindow provides, which is what that demo shows - QDockWidgets inside a QMainWindow; which is explicitly not what I want.

    I think I can achieve this with a QDockAreaLayout - and just make it the whole layout; but there is none in Qt4.

  3. #3
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    517
    Thanks
    21
    Thanked 66 Times in 62 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QDockArea in Qt4...

    you do have the option of creating that layout then..and when u r done, be kind enough to share it with the rest of the world

  4. #4
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QDockArea in Qt4...

    I guess you will need to add drag drop functionality.
    You could look into designer code how they do it. I guess thats what you want ...

Similar Threads

  1. QDockArea size hint
    By ksierens in forum Qt Programming
    Replies: 2
    Last Post: 5th April 2006, 15:37

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.