--- Martin Wiechert wrote:
> Using standard python shell without iqt makes no difference.
> [iqt allows to use qt without having to set up an event loop, very
> handy for interactive sessions.]
Okay, so I just remembered that there is an overloaded version of
QMessageBox.question et al. It uses custom button texts and returns the
index of the clicked button instead of its "identity":
>>> # click Yes
... QMessageBox.question(None,'Caption','Text','Yes','No','Cancel')
0
>>>
Are you somehow passing strings instead of integers?
John Ridley
___________________________________________________________
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
_______________________________________________
PyKDE mailing list [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde