示例#1
0
 def showsettingdailog(self):
     try:
         printerdailog = QPageSetupDialog(self.printer)
         #print(self.Dialog.geometry().width(), self.Dialog.geometry().height())
         printerdailog.exec()
     except Exception as e:
         print(e)
示例#2
0
 def showSettingsDialog(self):
     printDialog =QPageSetupDialog(self.printer, self)
     printDialog.exec()
示例#3
0
 def set_printer_dialog(self):
     set_dialog = QPageSetupDialog(self.printer, self)
     set_dialog.exec()
示例#4
0
 def showsettingDialog(self):
     printdialog = QPageSetupDialog(self.printer, self)
     printdialog.exec()
示例#5
0
 def showSettingsDialog(self):  # 显示打印设置对话框
     printDialog = QPageSetupDialog(self.printer, self)  # 创建打印设置对话框对象
     printDialog.exec()  # 退出