2523:139f182b72f6 | 2525:8b507a9a2d40 |
---|---|
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing a dialog to show and edit all certificates. | 7 Module implementing a dialog to show and edit all certificates. |
8 """ | 8 """ |
9 | |
10 from __future__ import unicode_literals # __IGNORE_WARNING__ | |
9 | 11 |
10 from PyQt4.QtCore import pyqtSlot, Qt, QByteArray, QFile, QFileInfo, QIODevice, \ | 12 from PyQt4.QtCore import pyqtSlot, Qt, QByteArray, QFile, QFileInfo, QIODevice, \ |
11 qVersion | 13 qVersion |
12 from PyQt4.QtGui import QDialog, QTreeWidgetItem | 14 from PyQt4.QtGui import QDialog, QTreeWidgetItem |
13 try: | 15 try: |
34 """ | 36 """ |
35 Constructor | 37 Constructor |
36 | 38 |
37 @param parent reference to the parent widget (QWidget) | 39 @param parent reference to the parent widget (QWidget) |
38 """ | 40 """ |
39 super().__init__(parent) | 41 super(E5SslCertificatesDialog, self).__init__(parent) |
40 self.setupUi(self) | 42 self.setupUi(self) |
41 | 43 |
42 self.serversViewButton.setIcon(UI.PixmapCache.getIcon("certificates.png")) | 44 self.serversViewButton.setIcon(UI.PixmapCache.getIcon("certificates.png")) |
43 self.serversDeleteButton.setIcon(UI.PixmapCache.getIcon("certificateDelete.png")) | 45 self.serversDeleteButton.setIcon(UI.PixmapCache.getIcon("certificateDelete.png")) |
44 self.serversExportButton.setIcon(UI.PixmapCache.getIcon("certificateExport.png")) | 46 self.serversExportButton.setIcon(UI.PixmapCache.getIcon("certificateExport.png")) |