21 QTreeWidgetItem, QLineEdit |
21 QTreeWidgetItem, QLineEdit |
22 |
22 |
23 from E5Gui import E5MessageBox |
23 from E5Gui import E5MessageBox |
24 |
24 |
25 from .Ui_HgGpgSignaturesDialog import Ui_HgGpgSignaturesDialog |
25 from .Ui_HgGpgSignaturesDialog import Ui_HgGpgSignaturesDialog |
|
26 |
|
27 from Globals import strToQByteArray |
26 |
28 |
27 |
29 |
28 class HgGpgSignaturesDialog(QDialog, Ui_HgGpgSignaturesDialog): |
30 class HgGpgSignaturesDialog(QDialog, Ui_HgGpgSignaturesDialog): |
29 """ |
31 """ |
30 Class implementing a dialog showing signed changesets. |
32 Class implementing a dialog showing signed changesets. |
360 self.errors.ensureCursorVisible() |
362 self.errors.ensureCursorVisible() |
361 else: |
363 else: |
362 self.errors.insertPlainText(inputTxt) |
364 self.errors.insertPlainText(inputTxt) |
363 self.errors.ensureCursorVisible() |
365 self.errors.ensureCursorVisible() |
364 |
366 |
365 self.process.write(inputTxt) |
367 self.process.write(strToQByteArray(inputTxt)) |
366 |
368 |
367 self.passwordCheckBox.setChecked(False) |
369 self.passwordCheckBox.setChecked(False) |
368 self.input.clear() |
370 self.input.clear() |
369 |
371 |
370 def on_input_returnPressed(self): |
372 def on_input_returnPressed(self): |