7 Module implementing the subversion repository browser dialog. |
7 Module implementing the subversion repository browser dialog. |
8 """ |
8 """ |
9 |
9 |
10 from __future__ import unicode_literals |
10 from __future__ import unicode_literals |
11 try: |
11 try: |
12 str = unicode # __IGNORE_WARNING__ |
12 str = unicode |
13 except (NameError): |
13 except NameError: |
14 pass |
14 pass |
15 |
15 |
16 import os |
16 import os |
17 |
17 |
18 from PyQt4.QtGui import QCursor, QHeaderView, QLineEdit, QDialog, \ |
18 from PyQt4.QtGui import QCursor, QHeaderView, QLineEdit, QDialog, \ |
188 self.errors.ensureCursorVisible() |
188 self.errors.ensureCursorVisible() |
189 else: |
189 else: |
190 QApplication.restoreOverrideCursor() |
190 QApplication.restoreOverrideCursor() |
191 E5MessageBox.critical( |
191 E5MessageBox.critical( |
192 self, |
192 self, |
193 self.trUtf8('Process Generation Error'), |
193 self.tr('Process Generation Error'), |
194 self.trUtf8( |
194 self.tr( |
195 'The process {0} could not be started. ' |
195 'The process {0} could not be started. ' |
196 'Ensure, that it is in the search path.' |
196 'Ensure, that it is in the search path.' |
197 ).format('svn')) |
197 ).format('svn')) |
198 return repoRoot |
198 return repoRoot |
199 |
199 |
261 self.__finish() |
261 self.__finish() |
262 self.inputGroup.setEnabled(False) |
262 self.inputGroup.setEnabled(False) |
263 self.inputGroup.hide() |
263 self.inputGroup.hide() |
264 E5MessageBox.critical( |
264 E5MessageBox.critical( |
265 self, |
265 self, |
266 self.trUtf8('Process Generation Error'), |
266 self.tr('Process Generation Error'), |
267 self.trUtf8( |
267 self.tr( |
268 'The process {0} could not be started. ' |
268 'The process {0} could not be started. ' |
269 'Ensure, that it is in the search path.' |
269 'Ensure, that it is in the search path.' |
270 ).format('svn')) |
270 ).format('svn')) |
271 else: |
271 else: |
272 self.inputGroup.setEnabled(True) |
272 self.inputGroup.setEnabled(True) |