E5XML/XMLMessageDialog.py

changeset 110
c9a969db1469
parent 50
a36eecf45b2e
child 792
a13346916170
equal deleted inserted replaced
109:9c72858d4b7a 110:c9a969db1469
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)

eric ide

mercurial