src/eric7/WebBrowser/WebBrowserWindow.py

branch
eric7
changeset 11148
15e30f0c76a8
parent 11105
ec86fc991d28
child 11181
52e30cc024aa
equal deleted inserted replaced
11147:dee6e106b4d3 11148:15e30f0c76a8
4018 def __manageQtHelpDocumentation(self): 4018 def __manageQtHelpDocumentation(self):
4019 """ 4019 """
4020 Private slot to manage the QtHelp documentation database. 4020 Private slot to manage the QtHelp documentation database.
4021 """ 4021 """
4022 if WebBrowserWindow._useQtHelp: 4022 if WebBrowserWindow._useQtHelp:
4023 from eric7.QtHelpInterface.QtHelpDocumentationConfigurationDialog import ( # noqa: I101 4023 from eric7.QtHelpInterface.QtHelpDocumentationConfigurationDialog import ( # noqa: I-101
4024 QtHelpDocumentationConfigurationDialog, 4024 QtHelpDocumentationConfigurationDialog,
4025 ) 4025 )
4026 4026
4027 dlg = QtHelpDocumentationConfigurationDialog(self.__helpEngine, parent=self) 4027 dlg = QtHelpDocumentationConfigurationDialog(self.__helpEngine, parent=self)
4028 dlg.exec() 4028 dlg.exec()
4117 """ 4117 """
4118 Private slot to look for new documentation to be loaded into the 4118 Private slot to look for new documentation to be loaded into the
4119 help database. 4119 help database.
4120 """ 4120 """
4121 if WebBrowserWindow._useQtHelp: 4121 if WebBrowserWindow._useQtHelp:
4122 from eric7.QtHelpInterface.HelpDocsInstaller import ( # noqa: I101 4122 from eric7.QtHelpInterface.HelpDocsInstaller import ( # noqa: I-101
4123 HelpDocsInstaller, 4123 HelpDocsInstaller,
4124 ) 4124 )
4125 4125
4126 self.__helpInstaller = HelpDocsInstaller(self.__helpEngine.collectionFile()) 4126 self.__helpInstaller = HelpDocsInstaller(self.__helpEngine.collectionFile())
4127 self.__helpInstaller.errorMessage.connect(self.__showInstallationError) 4127 self.__helpInstaller.errorMessage.connect(self.__showInstallationError)
4298 """ 4298 """
4299 Private slot to show the feature permission dialog. 4299 Private slot to show the feature permission dialog.
4300 """ 4300 """
4301 if QtUtilities.qVersionTuple() >= (6, 8, 0): 4301 if QtUtilities.qVersionTuple() >= (6, 8, 0):
4302 # Qt 6.8+ 4302 # Qt 6.8+
4303 from .FeaturePermissions.FeaturePermissionsDialog import ( # noqa: I101 4303 from .FeaturePermissions.FeaturePermissionsDialog import ( # noqa: I-101
4304 FeaturePermissionsDialog, 4304 FeaturePermissionsDialog,
4305 ) 4305 )
4306 4306
4307 dlg = FeaturePermissionsDialog( 4307 dlg = FeaturePermissionsDialog(
4308 self.webProfile().listAllPermissions(), parent=self 4308 self.webProfile().listAllPermissions(), parent=self

eric ide

mercurial