Results 1 to 2 of 2

Thread: how to drag the child window out of the main window?

  1. #1
    Join Date
    Mar 2009
    Location
    Gansu,China
    Posts
    188
    Qt products
    Qt4
    Platforms
    Windows

    Default how to drag the child window out of the main window?

    In the MDI example,as you know,user can create many child windows in the main window,
    Now,I want to drag the child window out of the main window,how to do?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: how to drag the child window out of the main window?

    Drag it where? If you want to make it a floating window then just take it out of QMdiSubWindow and set the parent to 0.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 2
    Last Post: 17th February 2011, 12:30
  2. Replies: 9
    Last Post: 16th May 2010, 16:21
  3. Replies: 11
    Last Post: 4th June 2008, 07:22
  4. Preventing drop/drag outside the main window
    By ucomesdag in forum Qt Programming
    Replies: 5
    Last Post: 26th February 2007, 10:42
  5. Replies: 5
    Last Post: 4th August 2006, 23: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
  •  
Qt is a trademark of The Qt Company.