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 """ |