eric6/WebBrowser/Tools/PrintToPdfDialog.py

changeset 7759
51aa6c6b66f7
parent 7360
9190402e4505
child 7781
607a6098cb44
equal deleted inserted replaced
7758:dd54d33d21d2 7759:51aa6c6b66f7
63 """ 63 """
64 printer = QPrinter() 64 printer = QPrinter()
65 printer.setPageLayout(self.__currentPageLayout) 65 printer.setPageLayout(self.__currentPageLayout)
66 66
67 dlg = QPageSetupDialog(printer, self) 67 dlg = QPageSetupDialog(printer, self)
68 if dlg.exec_() == QDialog.Accepted: 68 if dlg.exec() == QDialog.Accepted:
69 self.__currentPageLayout = printer.pageLayout() 69 self.__currentPageLayout = printer.pageLayout()
70 self.__updatePageLayoutLabel() 70 self.__updatePageLayoutLabel()
71 71
72 def __updatePageLayoutLabel(self): 72 def __updatePageLayoutLabel(self):
73 """ 73 """

eric ide

mercurial