E5Network/E5SslCertificatesDialog.py

changeset 2361
fe8bccb78a8d
parent 2359
ef81d2d0a031
child 2363
d5d006a038a4
equal deleted inserted replaced
2360:b6bf3925e3e1 2361:fe8bccb78a8d
24 except ImportError: 24 except ImportError:
25 pass 25 pass
26 26
27 import Preferences 27 import Preferences
28 import Utilities 28 import Utilities
29 import UI.PixmapCache
29 30
30 31
31 class E5SslCertificatesDialog(QDialog, Ui_E5SslCertificatesDialog): 32 class E5SslCertificatesDialog(QDialog, Ui_E5SslCertificatesDialog):
32 """ 33 """
33 Class implementing a dialog to show and edit all certificates. 34 Class implementing a dialog to show and edit all certificates.
40 41
41 @param parent reference to the parent widget (QWidget) 42 @param parent reference to the parent widget (QWidget)
42 """ 43 """
43 super().__init__(parent) 44 super().__init__(parent)
44 self.setupUi(self) 45 self.setupUi(self)
46
47 self.serversViewButton.setIcon(UI.PixmapCache.getIcon("certificates.png"))
48 self.serversDeleteButton.setIcon(UI.PixmapCache.getIcon("certificateDelete.png"))
49 self.serversExportButton.setIcon(UI.PixmapCache.getIcon("certificateExport.png"))
50 self.serversImportButton.setIcon(UI.PixmapCache.getIcon("certificateImport.png"))
51
52 self.caViewButton.setIcon(UI.PixmapCache.getIcon("certificates.png"))
53 self.caDeleteButton.setIcon(UI.PixmapCache.getIcon("certificateDelete.png"))
54 self.caExportButton.setIcon(UI.PixmapCache.getIcon("certificateExport.png"))
55 self.caImportButton.setIcon(UI.PixmapCache.getIcon("certificateImport.png"))
45 56
46 self.__populateServerCertificatesTree() 57 self.__populateServerCertificatesTree()
47 self.__populateCaCertificatesTree() 58 self.__populateCaCertificatesTree()
48 59
49 def __populateServerCertificatesTree(self): 60 def __populateServerCertificatesTree(self):

eric ide

mercurial