src/eric7/PdfViewer/PdfViewerWindow.py

branch
eric7
changeset 11006
a671918232f3
parent 10933
95a15b70f7bb
child 11090
f5f5f5803935
equal deleted inserted replaced
11005:b918c6c2736b 11006:a671918232f3
1232 ConfigurationDialog, 1232 ConfigurationDialog,
1233 ConfigurationMode, 1233 ConfigurationMode,
1234 ) 1234 )
1235 1235
1236 dlg = ConfigurationDialog( 1236 dlg = ConfigurationDialog(
1237 None, 1237 parent=self,
1238 "Configuration", 1238 name="Configuration",
1239 True, 1239 modal=True,
1240 fromEric=False, 1240 fromEric=False,
1241 displayMode=ConfigurationMode.PDFVIEWERMODE, 1241 displayMode=ConfigurationMode.PDFVIEWERMODE,
1242 ) 1242 )
1243 dlg.show() 1243 dlg.show()
1244 dlg.showConfigurationPageByName("pdfViewerPage") 1244 dlg.showConfigurationPageByName("pdfViewerPage")
1353 from .PdfGoToDialog import PdfGoToDialog 1353 from .PdfGoToDialog import PdfGoToDialog
1354 1354
1355 dlg = PdfGoToDialog( 1355 dlg = PdfGoToDialog(
1356 self.__view.pageNavigator().currentPage(), 1356 self.__view.pageNavigator().currentPage(),
1357 self.__pdfDocument.pageCount(), 1357 self.__pdfDocument.pageCount(),
1358 self, 1358 parent=self,
1359 ) 1359 )
1360 if dlg.exec() == QDialog.DialogCode.Accepted: 1360 if dlg.exec() == QDialog.DialogCode.Accepted:
1361 page = dlg.getPage() 1361 page = dlg.getPage()
1362 self.__pageSelected(page) 1362 self.__pageSelected(page)
1363 1363

eric ide

mercurial