53 |
53 |
54 def __appendText(self, txt, color): |
54 def __appendText(self, txt, color): |
55 """ |
55 """ |
56 Private method to append text to the end of the messages pane. |
56 Private method to append text to the end of the messages pane. |
57 |
57 |
58 @param txt text to insert (QString) |
58 @param txt text to insert (string) |
59 @param color text color to be used (QColor) |
59 @param color text color to be used (QColor) |
60 """ |
60 """ |
61 if txt is not None: |
61 if txt is not None: |
62 tc = self.messages.textCursor() |
62 tc = self.messages.textCursor() |
63 tc.movePosition(QTextCursor.End) |
63 tc.movePosition(QTextCursor.End) |