123 self.process.start('hg', args) |
123 self.process.start('hg', args) |
124 procStarted = self.process.waitForStarted(5000) |
124 procStarted = self.process.waitForStarted(5000) |
125 if not procStarted: |
125 if not procStarted: |
126 self.inputGroup.setEnabled(False) |
126 self.inputGroup.setEnabled(False) |
127 self.inputGroup.hide() |
127 self.inputGroup.hide() |
128 E5MessageBox.critical(self, |
128 E5MessageBox.critical( |
|
129 self, |
129 self.trUtf8('Process Generation Error'), |
130 self.trUtf8('Process Generation Error'), |
130 self.trUtf8( |
131 self.trUtf8( |
131 'The process {0} could not be started. ' |
132 'The process {0} could not be started. ' |
132 'Ensure, that it is in the search path.' |
133 'Ensure, that it is in the search path.' |
133 ).format('hg')) |
134 ).format('hg')) |
189 |
190 |
190 def __resort(self): |
191 def __resort(self): |
191 """ |
192 """ |
192 Private method to resort the tree. |
193 Private method to resort the tree. |
193 """ |
194 """ |
194 self.bookmarksList.sortItems(self.bookmarksList.sortColumn(), |
195 self.bookmarksList.sortItems( |
|
196 self.bookmarksList.sortColumn(), |
195 self.bookmarksList.header().sortIndicatorOrder()) |
197 self.bookmarksList.header().sortIndicatorOrder()) |
196 |
198 |
197 def __resizeColumns(self): |
199 def __resizeColumns(self): |
198 """ |
200 """ |
199 Private method to resize the list columns. |
201 Private method to resize the list columns. |