ProjectPyramid/PyramidDialog.py

changeset 19
f4adfe6e51b0
parent 6
43d74d535785
child 34
d20f7218d53c
equal deleted inserted replaced
18:c27d4435675a 19:f4adfe6e51b0
26 26
27 It starts a QProcess and displays a dialog that 27 It starts a QProcess and displays a dialog that
28 shows the output of the process. The dialog is modal, 28 shows the output of the process. The dialog is modal,
29 which causes a synchronized execution of the process. 29 which causes a synchronized execution of the process.
30 """ 30 """
31 def __init__(self, text, fixed = False, linewrap = True, 31 def __init__(self, text, fixed=False, linewrap=True,
32 msgSuccess = None, msgError = None, 32 msgSuccess=None, msgError=None,
33 parent = None): 33 parent=None):
34 """ 34 """
35 Constructor 35 Constructor
36 36
37 @param text text to be shown by the label (string) 37 @param text text to be shown by the label (string)
38 @keyparam fixed flag indicating a fixed font should be used (boolean) 38 @keyparam fixed flag indicating a fixed font should be used (boolean)
168 else: 168 else:
169 self.inputGroup.setEnabled(True) 169 self.inputGroup.setEnabled(True)
170 self.inputGroup.show() 170 self.inputGroup.show()
171 return procStarted 171 return procStarted
172 172
173 def startBatchProcesses(self, argsLists, workingDir = None): 173 def startBatchProcesses(self, argsLists, workingDir=None):
174 """ 174 """
175 Public slot used to start a batch of processes. 175 Public slot used to start a batch of processes.
176 176
177 @param argsLists list of lists of arguments for the processes 177 @param argsLists list of lists of arguments for the processes
178 (list of list of string) 178 (list of list of string)

eric ide

mercurial