Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesHeaderDialog.py

changeset 5020
d0afdfd8e45b
parent 4631
5c1a96925da4
child 5389
9b1c800daff3
equal deleted inserted replaced
5015:ca1d44f0f6b2 5020:d0afdfd8e45b
19 from PyQt5.QtWidgets import QDialog, QDialogButtonBox 19 from PyQt5.QtWidgets import QDialog, QDialogButtonBox
20 20
21 from E5Gui import E5MessageBox 21 from E5Gui import E5MessageBox
22 22
23 from .Ui_HgQueuesHeaderDialog import Ui_HgQueuesHeaderDialog 23 from .Ui_HgQueuesHeaderDialog import Ui_HgQueuesHeaderDialog
24
25 import Utilities
24 26
25 27
26 class HgQueuesHeaderDialog(QDialog, Ui_HgQueuesHeaderDialog): 28 class HgQueuesHeaderDialog(QDialog, Ui_HgQueuesHeaderDialog):
27 """ 29 """
28 Class implementing a dialog to show the commit message of the current 30 Class implementing a dialog to show the commit message of the current
171 """ 173 """
172 Private slot to show some output. 174 Private slot to show some output.
173 175
174 @param out output to be shown (string) 176 @param out output to be shown (string)
175 """ 177 """
176 self.messageEdit.appendPlainText(out) 178 self.messageEdit.appendPlainText(Utilities.filterAnsiSequences(out))
177 179
178 def __readStderr(self): 180 def __readStderr(self):
179 """ 181 """
180 Private slot to handle the readyReadStderr signal. 182 Private slot to handle the readyReadStderr signal.
181 183
192 Private slot to show some error. 194 Private slot to show some error.
193 195
194 @param out error to be shown (string) 196 @param out error to be shown (string)
195 """ 197 """
196 self.messageEdit.appendPlainText(self.tr("Error: ")) 198 self.messageEdit.appendPlainText(self.tr("Error: "))
197 self.messageEdit.appendPlainText(out) 199 self.messageEdit.appendPlainText(Utilities.filterAnsiSequences(out))

eric ide

mercurial