20 QTreeWidgetItem, QLineEdit |
20 QTreeWidgetItem, QLineEdit |
21 |
21 |
22 from E5Gui import E5MessageBox |
22 from E5Gui import E5MessageBox |
23 |
23 |
24 from .Ui_HgQueuesListDialog import Ui_HgQueuesListDialog |
24 from .Ui_HgQueuesListDialog import Ui_HgQueuesListDialog |
|
25 |
|
26 from Globals import strToQByteArray |
25 |
27 |
26 |
28 |
27 class HgQueuesListDialog(QDialog, Ui_HgQueuesListDialog): |
29 class HgQueuesListDialog(QDialog, Ui_HgQueuesListDialog): |
28 """ |
30 """ |
29 Class implementing a dialog to show a list of applied and unapplied |
31 Class implementing a dialog to show a list of applied and unapplied |
416 self.errors.ensureCursorVisible() |
418 self.errors.ensureCursorVisible() |
417 else: |
419 else: |
418 self.errors.insertPlainText(inputTxt) |
420 self.errors.insertPlainText(inputTxt) |
419 self.errors.ensureCursorVisible() |
421 self.errors.ensureCursorVisible() |
420 |
422 |
421 self.process.write(inputTxt) |
423 self.process.write(strToQByteArray(inputTxt)) |
422 |
424 |
423 self.passwordCheckBox.setChecked(False) |
425 self.passwordCheckBox.setChecked(False) |
424 self.input.clear() |
426 self.input.clear() |
425 |
427 |
426 def on_input_returnPressed(self): |
428 def on_input_returnPressed(self): |