PrintPreviewDialog problem

alhad alhaddeshpande at gmail.com
Tue Apr 17 02:09:09 EDT 2012


Hi Guys,

I am using Python 2.5 & Qt4.4.1 on windows xp machine. I am trying to use
printpreviewdialog for my application.

printer = QtGui.QPrinter(QtGui.QPrinter.HighResolution)
preview = QtGui.QPrintPreviewDialog(printer,self)
preview.paintRequested.connect(self.printPreview)
preview.exec_()

but, i am getting AttributeError for "paintRequested"

What could be the possible solution for this?

Thanks in advance

--
View this message in context: http://python.6.n6.nabble.com/PrintPreviewDialog-problem-tp4889139p4889139.html
Sent from the Python - python-list mailing list archive at Nabble.com.



More information about the Python-list mailing list