Plugins/DocumentationPlugins/Ericapi/EricapiExecDialog.py

changeset 537
72b32daeb8d6
parent 500
c3abc7895a01
child 791
9ec2ac20e54e
equal deleted inserted replaced
536:6d8d39753c82 537:72b32daeb8d6
9 9
10 import os.path 10 import os.path
11 11
12 from PyQt4.QtCore import * 12 from PyQt4.QtCore import *
13 from PyQt4.QtGui import * 13 from PyQt4.QtGui import *
14
15 from E5Gui import E5MessageBox
14 16
15 from .Ui_EricapiExecDialog import Ui_EricapiExecDialog 17 from .Ui_EricapiExecDialog import Ui_EricapiExecDialog
16 18
17 import Preferences 19 import Preferences
18 20
77 79
78 self.setWindowTitle(self.trUtf8('{0} - {1}').format(self.cmdname, self.filename)) 80 self.setWindowTitle(self.trUtf8('{0} - {1}').format(self.cmdname, self.filename))
79 self.process.start(program, args) 81 self.process.start(program, args)
80 procStarted = self.process.waitForStarted() 82 procStarted = self.process.waitForStarted()
81 if not procStarted: 83 if not procStarted:
82 QMessageBox.critical(None, 84 E5MessageBox.critical(self,
83 self.trUtf8('Process Generation Error'), 85 self.trUtf8('Process Generation Error'),
84 self.trUtf8( 86 self.trUtf8(
85 'The process {0} could not be started. ' 87 'The process {0} could not be started. '
86 'Ensure, that it is in the search path.' 88 'Ensure, that it is in the search path.'
87 ).format(program)) 89 ).format(program))

eric ide

mercurial