100 self.process.start('svn', args) |
100 self.process.start('svn', args) |
101 procStarted = self.process.waitForStarted(5000) |
101 procStarted = self.process.waitForStarted(5000) |
102 if not procStarted: |
102 if not procStarted: |
103 self.inputGroup.setEnabled(False) |
103 self.inputGroup.setEnabled(False) |
104 self.inputGroup.hide() |
104 self.inputGroup.hide() |
105 E5MessageBox.critical(self, |
105 E5MessageBox.critical( |
|
106 self, |
106 self.trUtf8('Process Generation Error'), |
107 self.trUtf8('Process Generation Error'), |
107 self.trUtf8( |
108 self.trUtf8( |
108 'The process {0} could not be started. ' |
109 'The process {0} could not be started. ' |
109 'Ensure, that it is in the search path.' |
110 'Ensure, that it is in the search path.' |
110 ).format('svn')) |
111 ).format('svn')) |
168 |
169 |
169 @param revision revision string (string) |
170 @param revision revision string (string) |
170 @param author author of the change (string) |
171 @param author author of the change (string) |
171 @param text line of text from the annotated file (string) |
172 @param text line of text from the annotated file (string) |
172 """ |
173 """ |
173 itm = QTreeWidgetItem(self.blameList, |
174 itm = QTreeWidgetItem( |
|
175 self.blameList, |
174 [revision, author, "{0:d}".format(self.lineno), text]) |
176 [revision, author, "{0:d}".format(self.lineno), text]) |
175 self.lineno += 1 |
177 self.lineno += 1 |
176 itm.setTextAlignment(0, Qt.AlignRight) |
178 itm.setTextAlignment(0, Qt.AlignRight) |
177 itm.setTextAlignment(2, Qt.AlignRight) |
179 itm.setTextAlignment(2, Qt.AlignRight) |
178 |
180 |