Results 1 to 2 of 2

Thread: dialog blocks other window

  1. #1
    Join Date
    Mar 2009
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default dialog blocks other window

    I'm italian, I try to explain the problem using the right words. I've an application in Qt made with QtCreator where a MainWindow creates a dialog. This dialog has two button. the first is linked to a slot that save some options, the second button close the dialog without saving. The problem is that if I press the first button which save the option the dialog is closed and the mainwindow is active, else if I press the button that close the dialog without save, the dialog is closed but the mainwindow is inactive, and I can't close it normally but only with "forced exit".
    I can't post the code because is very very long. I've set the dialog mode in the right mode.
    I hope that someone can help me.
    Bye and thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: dialog blocks other window

    Quote Originally Posted by franknapoli View Post
    I can't post the code because is very very long.
    But without we can't help you. So please post only the code where you initialize the dialog, how do you show it and the slot which is connected to the "close without save" button.

Similar Threads

  1. Issue with Modelless dialog on Mac
    By Satyanarayana Chebrolu in forum Qt Programming
    Replies: 0
    Last Post: 24th February 2009, 10:10
  2. Replies: 8
    Last Post: 2nd February 2009, 12:25
  3. Replies: 3
    Last Post: 1st February 2009, 15:49
  4. move parent window to the front.
    By hvengel in forum Qt Programming
    Replies: 4
    Last Post: 2nd February 2007, 08:41
  5. Replies: 3
    Last Post: 23rd July 2006, 18:02

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.