[PyQt] QPrinter.setOutputToFile is missing
Mike Tammerman
mtammerman at gmail.com
Thu Dec 6 16:48:29 GMT 2007
Hi,
I think, QPrinter's setOutputToFile function is not wrapped. It is in
the documentation of the Qt4.
from PyQt4.QtCore import *
from PyQt4.QtGui import *
a = QApplication([])
p = QPrinter()
p.setOutputToFile(True)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: setOutputToFile
I am using kubuntu gutsy with following packages
sip 4.7.1
pyqt 4.3
Mike
More information about the PyQt
mailing list