12 from PyQt6.QtCore import QTimer, QProcess, Qt, pyqtSlot |
12 from PyQt6.QtCore import QTimer, QProcess, Qt, pyqtSlot |
13 from PyQt6.QtWidgets import ( |
13 from PyQt6.QtWidgets import ( |
14 QHeaderView, QLineEdit, QDialog, QDialogButtonBox, QTreeWidgetItem |
14 QHeaderView, QLineEdit, QDialog, QDialogButtonBox, QTreeWidgetItem |
15 ) |
15 ) |
16 |
16 |
17 from E5Gui import E5MessageBox |
17 from E5Gui import EricMessageBox |
18 |
18 |
19 from .Ui_SvnBlameDialog import Ui_SvnBlameDialog |
19 from .Ui_SvnBlameDialog import Ui_SvnBlameDialog |
20 |
20 |
21 import Preferences |
21 import Preferences |
22 from Globals import strToQByteArray |
22 from Globals import strToQByteArray |
97 self.process.start('svn', args) |
97 self.process.start('svn', args) |
98 procStarted = self.process.waitForStarted(5000) |
98 procStarted = self.process.waitForStarted(5000) |
99 if not procStarted: |
99 if not procStarted: |
100 self.inputGroup.setEnabled(False) |
100 self.inputGroup.setEnabled(False) |
101 self.inputGroup.hide() |
101 self.inputGroup.hide() |
102 E5MessageBox.critical( |
102 EricMessageBox.critical( |
103 self, |
103 self, |
104 self.tr('Process Generation Error'), |
104 self.tr('Process Generation Error'), |
105 self.tr( |
105 self.tr( |
106 'The process {0} could not be started. ' |
106 'The process {0} could not be started. ' |
107 'Ensure, that it is in the search path.' |
107 'Ensure, that it is in the search path.' |