10 import os |
10 import os |
11 |
11 |
12 from PyQt6.QtCore import QTimer, QProcess, pyqtSlot, Qt, QProcessEnvironment |
12 from PyQt6.QtCore import QTimer, QProcess, pyqtSlot, Qt, QProcessEnvironment |
13 from PyQt6.QtWidgets import QLineEdit, QDialog, QDialogButtonBox |
13 from PyQt6.QtWidgets import QLineEdit, QDialog, QDialogButtonBox |
14 |
14 |
15 from E5Gui import E5MessageBox |
15 from E5Gui import EricMessageBox |
16 |
16 |
17 from .Ui_SvnDialog import Ui_SvnDialog |
17 from .Ui_SvnDialog import Ui_SvnDialog |
18 |
18 |
19 import Preferences |
19 import Preferences |
20 from Globals import strToQByteArray |
20 from Globals import strToQByteArray |
164 procStarted = self.process.waitForStarted(5000) |
164 procStarted = self.process.waitForStarted(5000) |
165 if not procStarted: |
165 if not procStarted: |
166 self.buttonBox.setFocus() |
166 self.buttonBox.setFocus() |
167 self.inputGroup.setEnabled(False) |
167 self.inputGroup.setEnabled(False) |
168 self.inputGroup.hide() |
168 self.inputGroup.hide() |
169 E5MessageBox.critical( |
169 EricMessageBox.critical( |
170 self, |
170 self, |
171 self.tr('Process Generation Error'), |
171 self.tr('Process Generation Error'), |
172 self.tr( |
172 self.tr( |
173 'The process {0} could not be started. ' |
173 'The process {0} could not be started. ' |
174 'Ensure, that it is in the search path.' |
174 'Ensure, that it is in the search path.' |