Plugins/VcsPlugins/vcsPySvn/SvnBlameDialog.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3024
17c01303a239
child 3141
72f3bde98c58
equal deleted inserted replaced
3057:10516539f238 3058:0a02c433f52d
123 @param revision revision string (string) 123 @param revision revision string (string)
124 @param author author of the change (string) 124 @param author author of the change (string)
125 @param lineno linenumber (string) 125 @param lineno linenumber (string)
126 @param text line of text from the annotated file (string) 126 @param text line of text from the annotated file (string)
127 """ 127 """
128 itm = QTreeWidgetItem(self.blameList, 128 itm = QTreeWidgetItem(
129 self.blameList,
129 ["{0:d}".format(revision), author, "{0:d}".format(lineno), text]) 130 ["{0:d}".format(revision), author, "{0:d}".format(lineno), text])
130 itm.setTextAlignment(0, Qt.AlignRight) 131 itm.setTextAlignment(0, Qt.AlignRight)
131 itm.setTextAlignment(2, Qt.AlignRight) 132 itm.setTextAlignment(2, Qt.AlignRight)
132 133
133 def __showError(self, msg): 134 def __showError(self, msg):

eric ide

mercurial