16 from E5Gui import E5MessageBox |
16 from E5Gui import E5MessageBox |
17 |
17 |
18 from .Ui_HgGpgSignaturesDialog import Ui_HgGpgSignaturesDialog |
18 from .Ui_HgGpgSignaturesDialog import Ui_HgGpgSignaturesDialog |
19 |
19 |
20 import Preferences |
20 import Preferences |
21 import UI.PixmapCache |
|
22 |
21 |
23 |
22 |
24 class HgGpgSignaturesDialog(QDialog, Ui_HgGpgSignaturesDialog): |
23 class HgGpgSignaturesDialog(QDialog, Ui_HgGpgSignaturesDialog): |
25 """ |
24 """ |
26 Class implementing a dialog showing signed changesets. |
25 Class implementing a dialog showing signed changesets. |
32 @param vcs reference to the vcs object |
31 @param vcs reference to the vcs object |
33 @param parent reference to the parent widget (QWidget) |
32 @param parent reference to the parent widget (QWidget) |
34 """ |
33 """ |
35 super().__init__(parent) |
34 super().__init__(parent) |
36 self.setupUi(self) |
35 self.setupUi(self) |
37 |
|
38 self.clearRxEditButton.setIcon(UI.PixmapCache.getIcon("clearLeft.png")) |
|
39 |
36 |
40 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
37 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
41 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
38 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
42 |
39 |
43 self.process = QProcess() |
40 self.process = QProcess() |