117 self.process.start('hg', args) |
117 self.process.start('hg', args) |
118 procStarted = self.process.waitForStarted(5000) |
118 procStarted = self.process.waitForStarted(5000) |
119 if not procStarted: |
119 if not procStarted: |
120 self.inputGroup.setEnabled(False) |
120 self.inputGroup.setEnabled(False) |
121 self.inputGroup.hide() |
121 self.inputGroup.hide() |
122 E5MessageBox.critical(self, |
122 E5MessageBox.critical( |
|
123 self, |
123 self.trUtf8('Process Generation Error'), |
124 self.trUtf8('Process Generation Error'), |
124 self.trUtf8( |
125 self.trUtf8( |
125 'The process {0} could not be started. ' |
126 'The process {0} could not be started. ' |
126 'Ensure, that it is in the search path.' |
127 'Ensure, that it is in the search path.' |
127 ).format('hg')) |
128 ).format('hg')) |
182 |
183 |
183 def __resort(self): |
184 def __resort(self): |
184 """ |
185 """ |
185 Private method to resort the tree. |
186 Private method to resort the tree. |
186 """ |
187 """ |
187 self.signaturesList.sortItems(self.signaturesList.sortColumn(), |
188 self.signaturesList.sortItems( |
|
189 self.signaturesList.sortColumn(), |
188 self.signaturesList.header().sortIndicatorOrder()) |
190 self.signaturesList.header().sortIndicatorOrder()) |
189 |
191 |
190 def __resizeColumns(self): |
192 def __resizeColumns(self): |
191 """ |
193 """ |
192 Private method to resize the list columns. |
194 Private method to resize the list columns. |