58 |
58 |
59 from EricNetwork.EricNetworkProxyFactory import ( |
59 from EricNetwork.EricNetworkProxyFactory import ( |
60 EricNetworkProxyFactory, proxyAuthenticationRequired |
60 EricNetworkProxyFactory, proxyAuthenticationRequired |
61 ) |
61 ) |
62 try: |
62 try: |
63 from EricNetwork.EricSslErrorHandler import EricSslErrorHandler, EricSslErrorState |
63 from EricNetwork.EricSslErrorHandler import ( |
|
64 EricSslErrorHandler, EricSslErrorState |
|
65 ) |
64 SSL_AVAILABLE = True |
66 SSL_AVAILABLE = True |
65 except ImportError: |
67 except ImportError: |
66 SSL_AVAILABLE = False |
68 SSL_AVAILABLE = False |
67 |
69 |
68 from eric7config import getConfig |
70 from eric7config import getConfig |
608 if self.symbolsViewer is not None: |
610 if self.symbolsViewer is not None: |
609 ericApp().registerObject("Symbols", self.symbolsViewer) |
611 ericApp().registerObject("Symbols", self.symbolsViewer) |
610 if self.numbersViewer is not None: |
612 if self.numbersViewer is not None: |
611 ericApp().registerObject("Numbers", self.numbersViewer) |
613 ericApp().registerObject("Numbers", self.numbersViewer) |
612 if self.codeDocumentationViewer is not None: |
614 if self.codeDocumentationViewer is not None: |
613 ericApp().registerObject("DocuViewer", self.codeDocumentationViewer) |
615 ericApp().registerObject("DocuViewer", |
|
616 self.codeDocumentationViewer) |
614 if self.microPythonWidget is not None: |
617 if self.microPythonWidget is not None: |
615 ericApp().registerObject("MicroPython", self.microPythonWidget) |
618 ericApp().registerObject("MicroPython", self.microPythonWidget) |
616 |
619 |
617 # list of web addresses serving the versions file |
620 # list of web addresses serving the versions file |
618 self.__httpAlternatives = Preferences.getUI("VersionsUrls7") |
621 self.__httpAlternatives = Preferences.getUI("VersionsUrls7") |
822 """ |
825 """ |
823 Private method to create the Toolboxes layout. |
826 Private method to create the Toolboxes layout. |
824 |
827 |
825 @param debugServer reference to the debug server object |
828 @param debugServer reference to the debug server object |
826 """ |
829 """ |
827 from EricWidgets.EricToolBox import EricVerticalToolBox, EricHorizontalToolBox |
830 from EricWidgets.EricToolBox import ( |
|
831 EricVerticalToolBox, EricHorizontalToolBox |
|
832 ) |
828 |
833 |
829 logging.debug("Creating Toolboxes Layout...") |
834 logging.debug("Creating Toolboxes Layout...") |
830 |
835 |
831 # Create the left toolbox |
836 # Create the left toolbox |
832 self.lToolboxDock = self.__createDockWindow("lToolboxDock") |
837 self.lToolboxDock = self.__createDockWindow("lToolboxDock") |
6352 |
6357 |
6353 def __showCertificatesDialog(self): |
6358 def __showCertificatesDialog(self): |
6354 """ |
6359 """ |
6355 Private slot to show the certificates management dialog. |
6360 Private slot to show the certificates management dialog. |
6356 """ |
6361 """ |
6357 from EricNetwork.EricSslCertificatesDialog import EricSslCertificatesDialog |
6362 from EricNetwork.EricSslCertificatesDialog import ( |
|
6363 EricSslCertificatesDialog |
|
6364 ) |
6358 |
6365 |
6359 dlg = EricSslCertificatesDialog(self) |
6366 dlg = EricSslCertificatesDialog(self) |
6360 dlg.exec() |
6367 dlg.exec() |
6361 |
6368 |
6362 def __clearPrivateData(self): |
6369 def __clearPrivateData(self): |