Results 1 to 5 of 5

Thread: Docking Flexibility

  1. #1
    Join Date
    Feb 2011
    Posts
    14
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Docking Flexibility

    Hello,

    I wanted to create window frame like Outlook using QT with Dock Options. like this:
    Outlook.png

    But Docking widgets seem to allow only this:
    QTDocking.png
    Is there any solution? I saw eclipse's (my IDE)Docking capabilities which uses SWT and it is amazing!

    In the above example, I am unable to dock the bottom window against the docked window. The bottom window is docked only with the Main window...

    Can we do the outlook style in QT?

    ---
    Regards,
    ven.
    Last edited by venkateshhegde; 13th February 2011 at 11:11. Reason: reformatted to look better

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Docking Flexibility

    Maybe i didn't get your problem right, but doesn't this example do what you want?

  3. #3
    Join Date
    Feb 2011
    Posts
    14
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Docking Flexibility

    This is the standard example that comes with QT. The problem is I cannot dock the Central Widget here. If the central widget was dockable in the example that you have given, then the bottom widget would have Spanned the entire column.

    --
    Regards,
    ven.

  4. #4
    Join Date
    Feb 2011
    Posts
    14
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Docking Flexibility

    Found the answer !

    It is the usage of overloaded function addWidget that lets you put Orientation as the third parameter.

  5. #5
    Join Date
    Jun 2011
    Posts
    7
    Qt products
    Qt3 Qt4

    Default Re: Docking Flexibility

    hi .......
    I too have same requirement , i am also searching for the solution , my app should look like eclipse IDE , ........
    Right now i am using mainwindow, with 4 dockwidgets ,i should be able to dock it over the mainwindow ,jt like eclipse .......can u plz help me in this ...............

    Thank u in advance ,,,

Similar Threads

  1. QTreeView flexibility
    By Defeatist in forum Newbie
    Replies: 1
    Last Post: 23rd February 2010, 13:22
  2. Custom Docking Widgets
    By Nevering in forum Qt Programming
    Replies: 1
    Last Post: 30th November 2009, 00:34
  3. Docking Widgets
    By Nevering in forum Qt Programming
    Replies: 1
    Last Post: 28th November 2009, 13:07
  4. Docking Arrows
    By asriniva in forum Qt Programming
    Replies: 1
    Last Post: 24th March 2009, 00:08
  5. Replies: 6
    Last Post: 18th August 2006, 17:50

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.