[PyQt] minor bug in examples

Danny Shevitz shevitz at lanl.gov
Thu Jun 3 22:26:04 BST 2010


Howdy, I'm new to PyQt and found a minor bug in the mdi mainwindows sample. 

 

In lines 93 and 95 of mdi.pyw, QApplication is a member of the QtGui module,
not

QtCore as written. The code should read:

 

QtGui.QApplication.setOverrideCursor(QtCore.Qt.WaitCursor)

outstr << self.toPlainText()

QtGui.QApplication.restoreOverrideCursor()

 

I am using PyQt version 4.7.3

 

Thanks,

Danny

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100603/590874b2/attachment.html>


More information about the PyQt mailing list