[PyQt] QPrintDialog (pyqt4)
jaybstory at yahoo.com
Thu Feb 18 00:09:56 GMT 2010
I also wanted to know if I need a signal/slot connection to connect the print
button from the PrintDialog gui to actually printing to the printer. Ive
tried this for a signal slot connection:
pd = QtGui.QPrintDialog(self)
but I know this isn't right and I'm not sure how to fix this.
> I am trying to print my gui, however I am having trouble. I have a button
> with a signal as clicked and slot as printd(which is my function that I am
> calling QPrintDialog. In printd, I have this code:
> def printd(self):
> pd = QtGui.QPrintDialog(self)
> Which successfully opens the popup window for printing items. However,
> when i click print, nothing ends up printing. I'm not sure what I am doing
> wrong here. Any suggestions? Thank you in advance.
> NOTE: this is for help in PyQt4.
View this message in context: http://old.nabble.com/QPrintDialog-%28pyqt4%29-tp27619288p27632580.html
Sent from the PyQt mailing list archive at Nabble.com.
More information about the PyQt