[PyKDE] QMessageBox - Capturing modeless selections

Bryan O'Sullivan bos at serpentine.com
Wed Oct 13 22:36:42 BST 2004

On Wed, 2004-10-13 at 14:31 -0700, Alfred Young wrote:

> 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.

Override accept() and reject(), and get them to emit signals.

Alternatively, poll the dialog periodically and see what its return
value is.


More information about the PyQt mailing list