[PyKDE] QMessageBox - Capturing modeless selections

Alfred Young alfred at tippett.com
Wed Oct 13 22:31:43 BST 2004


Hi all,

I've done a bit of scouring and playing around, but couldn't find a way 
to capture either a "Yes" or a "No" from a runaway (ie modeless) 
QMessageBox. 

Since QDialog doesn't have any signals, and modeless windows immediately 
return after show() or being instantiated, I'm at a bit of a loss as to 
figuring out how to grab the client's choice.

Is there an easy way to grab it, or does this solution not exist?

- Alfred




More information about the PyQt mailing list