[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] QMessage within QDialog
From:       "Ken Godee" <ken () perfect-image ! com>
Date:       2003-04-28 17:39:01
[Download RAW message or body]

There's probally different ways to do this but I 
usally nest a "while true" statement to pop up dialogs/messages
and return breaks where/when I want them for the problem
your talking about.

main.dialog1
start new dialog2 in a "while true"
eval error, popup message
close message, returns to dialog2
dialog2 only returns to dialog1 if you issue a break
close window etc.




> I have created a QDialog object from another Dialog using exec_loop().  on
> validating a field entry within the QDialog, I have used QMessage to warn of
> a data entry
> error.  On exit from QMessage the QDialog terminates and the program reverts
> to the original Dialog.  I want to return to the QDialog object that I have
> created.  What is causing the created QDialog to terminate?
> 


_______________________________________________
PyKDE mailing list    PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic