[PyKDE] QMessageBox

Pete Ware ware at cis.ohio-state.edu
Mon Oct 18 18:24:33 BST 1999

And to answer my own question, "message" is a static member function
in Qt so there might be problems.  I got it to work with:

	db = qt.QMessageBox ()
	db.setCaption (title)
	db.setText (mess)
	db.setButtonText (0, "Ok")
	db.exec_loop ()

Note the "exec_loop()" instead of the python keyword "exec"


More information about the PyQt mailing list