Results 1 to 9 of 9

Thread: MDI design question

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2009
    Posts
    22
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: MDI design question

    Quote Originally Posted by freelucas View Post
    Yes! I also want to know if it is possible to get a float subwindow like in photoshop.
    Any possibility in future Qt version?
    Wouldn't it be possible to put a dock window in each of the MDI windows?

  2. #2
    Join Date
    Feb 2010
    Posts
    5
    Thanks
    1
    Qt products
    Qt4

    Default Re: MDI design question

    Any more detail?
    What kind of dock window? QDockWidget?
    Where should the dock window be docked to?

    Thanks a lot!

  3. #3
    Join Date
    Jun 2009
    Posts
    22
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: MDI design question

    I can't help you with any details because I haven't started using Qt yet.

    But if the problem is that MDI windows are "stuck" within the main application window, then putting dockable windows withing the MDI windows would be a solution.

    After having briefly consulted C++ GUI Programming with Qt, it seems like my suggestion would require that a QMainWindow be put in each MDI window before a QDockWidget can be added. I don't have the faintest idea whether this will work but it may be worth investigating.

  4. The following user says thank you to uj for this useful post:

    freelucas (23rd February 2010)

  5. #4
    Join Date
    Feb 2010
    Posts
    5
    Thanks
    1
    Qt products
    Qt4

    Default Re: MDI design question

    I think the better way is to change the source code of QMDISubWindow to let it have some feathers of QDockWidget.

  6. #5
    Join Date
    Apr 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: MDI design question

    Floating an MDI window on the desktop: has anyone done this yet?

    We have done it with Visual C++ and MFC. It involved detaching the window from the its parent (in this case QMdiArea I guess) and attaching it to a new floating parent window. But first, to know that the user wants to float the window, it is necessary to detect that the window's tab is being dragged away from the other tabs.

    Now we would like to have the same feature with Qt.
    Last edited by Litlington; 8th April 2011 at 09:50.

Similar Threads

  1. Replies: 3
    Last Post: 4th April 2008, 19:51
  2. QTableWidget Design & Thread Safety Question
    By bpetty in forum Qt Programming
    Replies: 4
    Last Post: 28th March 2008, 00:09
  3. Client-Server software project design question
    By MarkoSan in forum Qt Programming
    Replies: 7
    Last Post: 25th March 2008, 09:31
  4. A question of style and design
    By Kumosan in forum General Programming
    Replies: 7
    Last Post: 16th March 2007, 09:34
  5. Dialog and code design issue
    By Gopala Krishna in forum Qt Programming
    Replies: 1
    Last Post: 24th September 2006, 17:54

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.