Results 1 to 4 of 4

Thread: Mainwindow layout problem with QDockWidget.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2010
    Posts
    38
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8

    Default Re: Mainwindow layout problem with QDockWidget.

    if I work on Try 1:

    Is there any way to do this by removing center widget and add dock directly to the main window in the specified layout.
    Here I tried using the above way(with out removing the center widget as it gives some other problems).

    I have attached zip file of my work-through.
    Attached Files Attached Files

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

    Default Re: Mainwindow layout problem with QDockWidget.

    What do you mean by layout ? You want to add dock widgets to those layouts ?
    If yes, then I guess its a tedious task,, and you may refer to Qt designer code how they do it.

    If you simply want to achieve the above layout,,, it can be made out of hor/ver layout..
    2/3 - ver
    1/7 - ver ( with more space to 1)
    4/5 - ver

    Then these 3 ver layouts in hor layout.
    and finally the hor layout in ver layout with 6.

    Hope you get the idea ..

  3. #3
    Join Date
    Jul 2010
    Posts
    38
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8

    Default Re: Mainwindow layout problem with QDockWidget.

    Hi Aamer...thanks for the reply...

    Actually I want to add dock widgets on that layout (Or something widget like that have all dock features).

Similar Threads

  1. mainwindow layout vs widget layout
    By fatecasino in forum Newbie
    Replies: 2
    Last Post: 14th December 2010, 14:45
  2. Replies: 5
    Last Post: 30th November 2010, 06:40
  3. QDockWidget Problem.
    By pastispast in forum Qt Programming
    Replies: 3
    Last Post: 9th October 2010, 03:35
  4. QDockWidget problem..
    By jajdoo in forum Newbie
    Replies: 3
    Last Post: 17th July 2010, 10:28
  5. Problem with QDockWidget
    By Banjo in forum Newbie
    Replies: 8
    Last Post: 26th March 2008, 22:02

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.