eric7/Plugins/DocumentationPlugins/Ericapi/EricapiExecDialog.py

branch
eric7
changeset 8356
68ec9c3d4de5
parent 8318
962bce857696
child 8358
144a6b854f70
equal deleted inserted replaced
8355:8a7677a63c8d 8356:68ec9c3d4de5
10 import os.path 10 import os.path
11 11
12 from PyQt6.QtCore import QProcess, QTimer 12 from PyQt6.QtCore import QProcess, QTimer
13 from PyQt6.QtWidgets import QDialog, QDialogButtonBox 13 from PyQt6.QtWidgets import QDialog, QDialogButtonBox
14 14
15 from E5Gui import E5MessageBox 15 from E5Gui import EricMessageBox
16 16
17 from .Ui_EricapiExecDialog import Ui_EricapiExecDialog 17 from .Ui_EricapiExecDialog import Ui_EricapiExecDialog
18 18
19 import Preferences 19 import Preferences
20 20
84 self.setWindowTitle( 84 self.setWindowTitle(
85 self.tr('{0} - {1}').format(self.cmdname, self.filename)) 85 self.tr('{0} - {1}').format(self.cmdname, self.filename))
86 self.process.start(program, args) 86 self.process.start(program, args)
87 procStarted = self.process.waitForStarted(5000) 87 procStarted = self.process.waitForStarted(5000)
88 if not procStarted: 88 if not procStarted:
89 E5MessageBox.critical( 89 EricMessageBox.critical(
90 self, 90 self,
91 self.tr('Process Generation Error'), 91 self.tr('Process Generation Error'),
92 self.tr( 92 self.tr(
93 'The process {0} could not be started. ' 93 'The process {0} could not be started. '
94 'Ensure, that it is in the search path.' 94 'Ensure, that it is in the search path.'

eric ide

mercurial