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 |