예제 #1
0
 def handlePrint(self):
     dialog = QPrintDialog()
     if dialog.exec_() == QtGui.QDialog.Accepted:
         self.handlePaintRequest(dialog.printer())
예제 #2
0
 def file_print(self):
     dlg = QPrintDialog()
     if dlg.exec_():
         self.editor.print_(dlg.printer())