Results 1 to 9 of 9

Thread: QDialog closing its parent on exit..

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Dec 2008
    Location
    Poland
    Posts
    383
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Android
    Thanks
    52
    Thanked 42 Times in 42 Posts

    Default Re: QDialog closing its parent on exit..

    Maybe Your other (main) widget is hidden?
    If Yes then closing last visible window will close app.

    Try: thang->setAttribute(Qt::WA_QuitOnClose, false);
    In the near future - corporate networks reach out to the stars. Electrons and light flow throughout the universe.
    The advance of computerization however, has not yet wiped out nations and ethnic groups.

  2. The following user says thank you to Talei for this useful post:

    tescrin (18th December 2012)

Similar Threads

  1. QDialog not closing/going out of scope?
    By Shouri in forum Newbie
    Replies: 4
    Last Post: 17th February 2012, 18:11
  2. Replies: 5
    Last Post: 21st April 2010, 21:36
  3. How to exit in a QDialog constructor
    By ms77 in forum Newbie
    Replies: 4
    Last Post: 2nd December 2009, 14:46
  4. closing a Qdialog called from a Qdialog
    By OverTheOCean in forum Qt Programming
    Replies: 3
    Last Post: 28th September 2009, 08:02
  5. Closing a QDialog
    By eu.x in forum Newbie
    Replies: 2
    Last Post: 12th March 2007, 08:33

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.