16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>Plugin_Project_Django.ProjectDjango.DjangoDialog</h1> |
23 <h1>Plugin_Project_Django.ProjectDjango.DjangoDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a dialog starting a process and showing its output. |
26 Module implementing a dialog starting a process and showing its output. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
31 <table> |
34 |
|
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#DjangoDialog">DjangoDialog</a></td> |
38 <td><a href="#DjangoDialog">DjangoDialog</a></td> |
34 <td>Class implementing a dialog starting a process and showing its output.</td> |
39 <td>Class implementing a dialog starting a process and showing its output.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
38 <table> |
43 |
39 <tr><td>None</td></tr> |
44 <table> |
40 </table> |
45 <tr><td>None</td></tr> |
41 <hr /><hr /> |
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
42 <a NAME="DjangoDialog" ID="DjangoDialog"></a> |
49 <a NAME="DjangoDialog" ID="DjangoDialog"></a> |
43 <h2>DjangoDialog</h2> |
50 <h2>DjangoDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a dialog starting a process and showing its output. |
53 Class implementing a dialog starting a process and showing its output. |
46 </p><p> |
54 </p> |
|
55 <p> |
47 It starts a QProcess and displays a dialog that |
56 It starts a QProcess and displays a dialog that |
48 shows the output of the process. The dialog is modal, |
57 shows the output of the process. The dialog is modal, |
49 which causes a synchronized execution of the process. |
58 which causes a synchronized execution of the process. |
50 </p> |
59 </p> |
51 <h3>Derived from</h3> |
60 <h3>Derived from</h3> |
52 QDialog, Ui_DjangoDialog |
61 QDialog, Ui_DjangoDialog |
53 <h3>Class Attributes</h3> |
62 <h3>Class Attributes</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Class Methods</h3> |
67 <h3>Class Methods</h3> |
|
68 |
58 <table> |
69 <table> |
59 <tr><td>None</td></tr> |
70 <tr><td>None</td></tr> |
60 </table> |
71 </table> |
61 <h3>Methods</h3> |
72 <h3>Methods</h3> |
62 <table> |
73 |
|
74 <table> |
|
75 |
63 <tr> |
76 <tr> |
64 <td><a href="#DjangoDialog.__init__">DjangoDialog</a></td> |
77 <td><a href="#DjangoDialog.__init__">DjangoDialog</a></td> |
65 <td>Constructor</td> |
78 <td>Constructor</td> |
66 </tr><tr> |
79 </tr> |
|
80 <tr> |
67 <td><a href="#DjangoDialog.__finish">__finish</a></td> |
81 <td><a href="#DjangoDialog.__finish">__finish</a></td> |
68 <td>Private slot called when the process finished or the user pressed the button.</td> |
82 <td>Private slot called when the process finished or the user pressed the button.</td> |
69 </tr><tr> |
83 </tr> |
|
84 <tr> |
70 <td><a href="#DjangoDialog.__procFinished">__procFinished</a></td> |
85 <td><a href="#DjangoDialog.__procFinished">__procFinished</a></td> |
71 <td>Private slot connected to the finished signal.</td> |
86 <td>Private slot connected to the finished signal.</td> |
72 </tr><tr> |
87 </tr> |
|
88 <tr> |
73 <td><a href="#DjangoDialog.__readStderr">__readStderr</a></td> |
89 <td><a href="#DjangoDialog.__readStderr">__readStderr</a></td> |
74 <td>Private slot to handle the readyReadStderr signal.</td> |
90 <td>Private slot to handle the readyReadStderr signal.</td> |
75 </tr><tr> |
91 </tr> |
|
92 <tr> |
76 <td><a href="#DjangoDialog.__readStdout">__readStdout</a></td> |
93 <td><a href="#DjangoDialog.__readStdout">__readStdout</a></td> |
77 <td>Private slot to handle the readyReadStdout signal.</td> |
94 <td>Private slot to handle the readyReadStdout signal.</td> |
78 </tr><tr> |
95 </tr> |
|
96 <tr> |
79 <td><a href="#DjangoDialog.__saveData">__saveData</a></td> |
97 <td><a href="#DjangoDialog.__saveData">__saveData</a></td> |
80 <td>Private slot to save the output to a file.</td> |
98 <td>Private slot to save the output to a file.</td> |
81 </tr><tr> |
99 </tr> |
|
100 <tr> |
82 <td><a href="#DjangoDialog.keyPressEvent">keyPressEvent</a></td> |
101 <td><a href="#DjangoDialog.keyPressEvent">keyPressEvent</a></td> |
83 <td>Protected slot to handle a key press event.</td> |
102 <td>Protected slot to handle a key press event.</td> |
84 </tr><tr> |
103 </tr> |
|
104 <tr> |
85 <td><a href="#DjangoDialog.normalExit">normalExit</a></td> |
105 <td><a href="#DjangoDialog.normalExit">normalExit</a></td> |
86 <td>Public method to check for a normal process termination.</td> |
106 <td>Public method to check for a normal process termination.</td> |
87 </tr><tr> |
107 </tr> |
|
108 <tr> |
88 <td><a href="#DjangoDialog.normalExitWithoutErrors">normalExitWithoutErrors</a></td> |
109 <td><a href="#DjangoDialog.normalExitWithoutErrors">normalExitWithoutErrors</a></td> |
89 <td>Public method to check for a normal process termination without error messages.</td> |
110 <td>Public method to check for a normal process termination without error messages.</td> |
90 </tr><tr> |
111 </tr> |
|
112 <tr> |
91 <td><a href="#DjangoDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
113 <td><a href="#DjangoDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
92 <td>Private slot called by a button of the button box clicked.</td> |
114 <td>Private slot called by a button of the button box clicked.</td> |
93 </tr><tr> |
115 </tr> |
|
116 <tr> |
94 <td><a href="#DjangoDialog.on_input_returnPressed">on_input_returnPressed</a></td> |
117 <td><a href="#DjangoDialog.on_input_returnPressed">on_input_returnPressed</a></td> |
95 <td>Private slot to handle the press of the return key in the input field.</td> |
118 <td>Private slot to handle the press of the return key in the input field.</td> |
96 </tr><tr> |
119 </tr> |
|
120 <tr> |
97 <td><a href="#DjangoDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td> |
121 <td><a href="#DjangoDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td> |
98 <td>Private slot to handle the password checkbox toggled.</td> |
122 <td>Private slot to handle the password checkbox toggled.</td> |
99 </tr><tr> |
123 </tr> |
|
124 <tr> |
100 <td><a href="#DjangoDialog.on_sendButton_clicked">on_sendButton_clicked</a></td> |
125 <td><a href="#DjangoDialog.on_sendButton_clicked">on_sendButton_clicked</a></td> |
101 <td>Private slot to send the input to the manage.py process.</td> |
126 <td>Private slot to send the input to the manage.py process.</td> |
102 </tr><tr> |
127 </tr> |
|
128 <tr> |
103 <td><a href="#DjangoDialog.startBatchProcesses">startBatchProcesses</a></td> |
129 <td><a href="#DjangoDialog.startBatchProcesses">startBatchProcesses</a></td> |
104 <td>Public slot used to start a batch of processes.</td> |
130 <td>Public slot used to start a batch of processes.</td> |
105 </tr><tr> |
131 </tr> |
|
132 <tr> |
106 <td><a href="#DjangoDialog.startProcess">startProcess</a></td> |
133 <td><a href="#DjangoDialog.startProcess">startProcess</a></td> |
107 <td>Public slot used to start the process.</td> |
134 <td>Public slot used to start the process.</td> |
108 </tr> |
135 </tr> |
109 </table> |
136 </table> |
110 <h3>Static Methods</h3> |
137 <h3>Static Methods</h3> |
111 <table> |
138 |
112 <tr><td>None</td></tr> |
139 <table> |
113 </table> |
140 <tr><td>None</td></tr> |
|
141 </table> |
|
142 |
114 <a NAME="DjangoDialog.__init__" ID="DjangoDialog.__init__"></a> |
143 <a NAME="DjangoDialog.__init__" ID="DjangoDialog.__init__"></a> |
115 <h4>DjangoDialog (Constructor)</h4> |
144 <h4>DjangoDialog (Constructor)</h4> |
116 <b>DjangoDialog</b>(<i>text, fixed=False, linewrap=True, msgSuccess=None, msgError=None, saveFilters=None, showInput=False, parent=None</i>) |
145 <b>DjangoDialog</b>(<i>text, fixed=False, linewrap=True, msgSuccess=None, msgError=None, saveFilters=None, showInput=False, parent=None</i>) |
|
146 |
117 <p> |
147 <p> |
118 Constructor |
148 Constructor |
119 </p><dl> |
149 </p> |
|
150 <dl> |
|
151 |
120 <dt><i>text</i></dt> |
152 <dt><i>text</i></dt> |
121 <dd> |
153 <dd> |
122 text to be shown by the label (string) |
154 text to be shown by the label (string) |
123 </dd><dt><i>fixed=</i></dt> |
155 </dd> |
|
156 <dt><i>fixed=</i></dt> |
124 <dd> |
157 <dd> |
125 flag indicating a fixed font should be used (boolean) |
158 flag indicating a fixed font should be used (boolean) |
126 </dd><dt><i>linewrap=</i></dt> |
159 </dd> |
|
160 <dt><i>linewrap=</i></dt> |
127 <dd> |
161 <dd> |
128 flag indicating to wrap long lines (boolean) |
162 flag indicating to wrap long lines (boolean) |
129 </dd><dt><i>msgSuccess=</i></dt> |
163 </dd> |
|
164 <dt><i>msgSuccess=</i></dt> |
130 <dd> |
165 <dd> |
131 optional string to show upon successful execution |
166 optional string to show upon successful execution |
132 (string) |
167 (string) |
133 </dd><dt><i>msgError=</i></dt> |
168 </dd> |
|
169 <dt><i>msgError=</i></dt> |
134 <dd> |
170 <dd> |
135 optional string to show upon unsuccessful execution |
171 optional string to show upon unsuccessful execution |
136 (string) |
172 (string) |
137 </dd><dt><i>saveFilters=</i></dt> |
173 </dd> |
|
174 <dt><i>saveFilters=</i></dt> |
138 <dd> |
175 <dd> |
139 filename filter string (string) |
176 filename filter string (string) |
140 </dd><dt><i>showInput=</i></dt> |
177 </dd> |
|
178 <dt><i>showInput=</i></dt> |
141 <dd> |
179 <dd> |
142 flag indicating to show the input widgets (bool) |
180 flag indicating to show the input widgets (bool) |
143 </dd><dt><i>parent=</i></dt> |
181 </dd> |
|
182 <dt><i>parent=</i></dt> |
144 <dd> |
183 <dd> |
145 parent widget (QWidget) |
184 parent widget (QWidget) |
146 </dd> |
185 </dd> |
147 </dl><a NAME="DjangoDialog.__finish" ID="DjangoDialog.__finish"></a> |
186 </dl> |
|
187 <a NAME="DjangoDialog.__finish" ID="DjangoDialog.__finish"></a> |
148 <h4>DjangoDialog.__finish</h4> |
188 <h4>DjangoDialog.__finish</h4> |
149 <b>__finish</b>(<i></i>) |
189 <b>__finish</b>(<i></i>) |
|
190 |
150 <p> |
191 <p> |
151 Private slot called when the process finished or the user pressed the |
192 Private slot called when the process finished or the user pressed the |
152 button. |
193 button. |
153 </p><a NAME="DjangoDialog.__procFinished" ID="DjangoDialog.__procFinished"></a> |
194 </p> |
|
195 <a NAME="DjangoDialog.__procFinished" ID="DjangoDialog.__procFinished"></a> |
154 <h4>DjangoDialog.__procFinished</h4> |
196 <h4>DjangoDialog.__procFinished</h4> |
155 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
197 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
|
198 |
156 <p> |
199 <p> |
157 Private slot connected to the finished signal. |
200 Private slot connected to the finished signal. |
158 </p><dl> |
201 </p> |
|
202 <dl> |
|
203 |
159 <dt><i>exitCode</i></dt> |
204 <dt><i>exitCode</i></dt> |
160 <dd> |
205 <dd> |
161 exit code of the process (integer) |
206 exit code of the process (integer) |
162 </dd><dt><i>exitStatus</i></dt> |
207 </dd> |
|
208 <dt><i>exitStatus</i></dt> |
163 <dd> |
209 <dd> |
164 exit status of the process (QProcess.ExitStatus) |
210 exit status of the process (QProcess.ExitStatus) |
165 </dd> |
211 </dd> |
166 </dl><a NAME="DjangoDialog.__readStderr" ID="DjangoDialog.__readStderr"></a> |
212 </dl> |
|
213 <a NAME="DjangoDialog.__readStderr" ID="DjangoDialog.__readStderr"></a> |
167 <h4>DjangoDialog.__readStderr</h4> |
214 <h4>DjangoDialog.__readStderr</h4> |
168 <b>__readStderr</b>(<i></i>) |
215 <b>__readStderr</b>(<i></i>) |
|
216 |
169 <p> |
217 <p> |
170 Private slot to handle the readyReadStderr signal. |
218 Private slot to handle the readyReadStderr signal. |
171 </p><p> |
219 </p> |
|
220 <p> |
172 It reads the error output of the process and inserts it into the |
221 It reads the error output of the process and inserts it into the |
173 error pane. |
222 error pane. |
174 </p><a NAME="DjangoDialog.__readStdout" ID="DjangoDialog.__readStdout"></a> |
223 </p> |
|
224 <a NAME="DjangoDialog.__readStdout" ID="DjangoDialog.__readStdout"></a> |
175 <h4>DjangoDialog.__readStdout</h4> |
225 <h4>DjangoDialog.__readStdout</h4> |
176 <b>__readStdout</b>(<i></i>) |
226 <b>__readStdout</b>(<i></i>) |
|
227 |
177 <p> |
228 <p> |
178 Private slot to handle the readyReadStdout signal. |
229 Private slot to handle the readyReadStdout signal. |
179 </p><p> |
230 </p> |
|
231 <p> |
180 It reads the output of the process, formats it and inserts it into |
232 It reads the output of the process, formats it and inserts it into |
181 the contents pane. |
233 the contents pane. |
182 </p><a NAME="DjangoDialog.__saveData" ID="DjangoDialog.__saveData"></a> |
234 </p> |
|
235 <a NAME="DjangoDialog.__saveData" ID="DjangoDialog.__saveData"></a> |
183 <h4>DjangoDialog.__saveData</h4> |
236 <h4>DjangoDialog.__saveData</h4> |
184 <b>__saveData</b>(<i></i>) |
237 <b>__saveData</b>(<i></i>) |
|
238 |
185 <p> |
239 <p> |
186 Private slot to save the output to a file. |
240 Private slot to save the output to a file. |
187 </p><a NAME="DjangoDialog.keyPressEvent" ID="DjangoDialog.keyPressEvent"></a> |
241 </p> |
|
242 <a NAME="DjangoDialog.keyPressEvent" ID="DjangoDialog.keyPressEvent"></a> |
188 <h4>DjangoDialog.keyPressEvent</h4> |
243 <h4>DjangoDialog.keyPressEvent</h4> |
189 <b>keyPressEvent</b>(<i>evt</i>) |
244 <b>keyPressEvent</b>(<i>evt</i>) |
|
245 |
190 <p> |
246 <p> |
191 Protected slot to handle a key press event. |
247 Protected slot to handle a key press event. |
192 </p><dl> |
248 </p> |
|
249 <dl> |
|
250 |
193 <dt><i>evt</i></dt> |
251 <dt><i>evt</i></dt> |
194 <dd> |
252 <dd> |
195 the key press event (QKeyEvent) |
253 the key press event (QKeyEvent) |
196 </dd> |
254 </dd> |
197 </dl><a NAME="DjangoDialog.normalExit" ID="DjangoDialog.normalExit"></a> |
255 </dl> |
|
256 <a NAME="DjangoDialog.normalExit" ID="DjangoDialog.normalExit"></a> |
198 <h4>DjangoDialog.normalExit</h4> |
257 <h4>DjangoDialog.normalExit</h4> |
199 <b>normalExit</b>(<i></i>) |
258 <b>normalExit</b>(<i></i>) |
|
259 |
200 <p> |
260 <p> |
201 Public method to check for a normal process termination. |
261 Public method to check for a normal process termination. |
202 </p><dl> |
262 </p> |
|
263 <dl> |
203 <dt>Returns:</dt> |
264 <dt>Returns:</dt> |
204 <dd> |
265 <dd> |
205 flag indicating normal process termination (boolean) |
266 flag indicating normal process termination (boolean) |
206 </dd> |
267 </dd> |
207 </dl><a NAME="DjangoDialog.normalExitWithoutErrors" ID="DjangoDialog.normalExitWithoutErrors"></a> |
268 </dl> |
|
269 <a NAME="DjangoDialog.normalExitWithoutErrors" ID="DjangoDialog.normalExitWithoutErrors"></a> |
208 <h4>DjangoDialog.normalExitWithoutErrors</h4> |
270 <h4>DjangoDialog.normalExitWithoutErrors</h4> |
209 <b>normalExitWithoutErrors</b>(<i></i>) |
271 <b>normalExitWithoutErrors</b>(<i></i>) |
|
272 |
210 <p> |
273 <p> |
211 Public method to check for a normal process termination without |
274 Public method to check for a normal process termination without |
212 error messages. |
275 error messages. |
213 </p><dl> |
276 </p> |
|
277 <dl> |
214 <dt>Returns:</dt> |
278 <dt>Returns:</dt> |
215 <dd> |
279 <dd> |
216 flag indicating normal process termination (boolean) |
280 flag indicating normal process termination (boolean) |
217 </dd> |
281 </dd> |
218 </dl><a NAME="DjangoDialog.on_buttonBox_clicked" ID="DjangoDialog.on_buttonBox_clicked"></a> |
282 </dl> |
|
283 <a NAME="DjangoDialog.on_buttonBox_clicked" ID="DjangoDialog.on_buttonBox_clicked"></a> |
219 <h4>DjangoDialog.on_buttonBox_clicked</h4> |
284 <h4>DjangoDialog.on_buttonBox_clicked</h4> |
220 <b>on_buttonBox_clicked</b>(<i>button</i>) |
285 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
286 |
221 <p> |
287 <p> |
222 Private slot called by a button of the button box clicked. |
288 Private slot called by a button of the button box clicked. |
223 </p><dl> |
289 </p> |
|
290 <dl> |
|
291 |
224 <dt><i>button</i></dt> |
292 <dt><i>button</i></dt> |
225 <dd> |
293 <dd> |
226 button that was clicked (QAbstractButton) |
294 button that was clicked (QAbstractButton) |
227 </dd> |
295 </dd> |
228 </dl><a NAME="DjangoDialog.on_input_returnPressed" ID="DjangoDialog.on_input_returnPressed"></a> |
296 </dl> |
|
297 <a NAME="DjangoDialog.on_input_returnPressed" ID="DjangoDialog.on_input_returnPressed"></a> |
229 <h4>DjangoDialog.on_input_returnPressed</h4> |
298 <h4>DjangoDialog.on_input_returnPressed</h4> |
230 <b>on_input_returnPressed</b>(<i></i>) |
299 <b>on_input_returnPressed</b>(<i></i>) |
|
300 |
231 <p> |
301 <p> |
232 Private slot to handle the press of the return key in the input field. |
302 Private slot to handle the press of the return key in the input field. |
233 </p><a NAME="DjangoDialog.on_passwordCheckBox_toggled" ID="DjangoDialog.on_passwordCheckBox_toggled"></a> |
303 </p> |
|
304 <a NAME="DjangoDialog.on_passwordCheckBox_toggled" ID="DjangoDialog.on_passwordCheckBox_toggled"></a> |
234 <h4>DjangoDialog.on_passwordCheckBox_toggled</h4> |
305 <h4>DjangoDialog.on_passwordCheckBox_toggled</h4> |
235 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>) |
306 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>) |
|
307 |
236 <p> |
308 <p> |
237 Private slot to handle the password checkbox toggled. |
309 Private slot to handle the password checkbox toggled. |
238 </p><dl> |
310 </p> |
|
311 <dl> |
|
312 |
239 <dt><i>isOn</i></dt> |
313 <dt><i>isOn</i></dt> |
240 <dd> |
314 <dd> |
241 flag indicating the status of the check box (boolean) |
315 flag indicating the status of the check box (boolean) |
242 </dd> |
316 </dd> |
243 </dl><a NAME="DjangoDialog.on_sendButton_clicked" ID="DjangoDialog.on_sendButton_clicked"></a> |
317 </dl> |
|
318 <a NAME="DjangoDialog.on_sendButton_clicked" ID="DjangoDialog.on_sendButton_clicked"></a> |
244 <h4>DjangoDialog.on_sendButton_clicked</h4> |
319 <h4>DjangoDialog.on_sendButton_clicked</h4> |
245 <b>on_sendButton_clicked</b>(<i></i>) |
320 <b>on_sendButton_clicked</b>(<i></i>) |
|
321 |
246 <p> |
322 <p> |
247 Private slot to send the input to the manage.py process. |
323 Private slot to send the input to the manage.py process. |
248 </p><a NAME="DjangoDialog.startBatchProcesses" ID="DjangoDialog.startBatchProcesses"></a> |
324 </p> |
|
325 <a NAME="DjangoDialog.startBatchProcesses" ID="DjangoDialog.startBatchProcesses"></a> |
249 <h4>DjangoDialog.startBatchProcesses</h4> |
326 <h4>DjangoDialog.startBatchProcesses</h4> |
250 <b>startBatchProcesses</b>(<i>argsLists, workingDir=None, mergedOutput=False</i>) |
327 <b>startBatchProcesses</b>(<i>argsLists, workingDir=None, mergedOutput=False</i>) |
|
328 |
251 <p> |
329 <p> |
252 Public slot used to start a batch of processes. |
330 Public slot used to start a batch of processes. |
253 </p><dl> |
331 </p> |
|
332 <dl> |
|
333 |
254 <dt><i>argsLists</i></dt> |
334 <dt><i>argsLists</i></dt> |
255 <dd> |
335 <dd> |
256 list of lists of arguments for the processes |
336 list of lists of arguments for the processes |
257 (list of lists of strings) |
337 (list of lists of strings) |
258 </dd><dt><i>workingDir</i></dt> |
338 </dd> |
|
339 <dt><i>workingDir</i></dt> |
259 <dd> |
340 <dd> |
260 working directory for the process (string) |
341 working directory for the process (string) |
261 </dd><dt><i>mergedOutput</i></dt> |
342 </dd> |
|
343 <dt><i>mergedOutput</i></dt> |
262 <dd> |
344 <dd> |
263 flag indicating to merge the output of the process |
345 flag indicating to merge the output of the process |
264 (boolean) |
346 (boolean) |
265 </dd> |
347 </dd> |
266 </dl><dl> |
348 </dl> |
|
349 <dl> |
267 <dt>Returns:</dt> |
350 <dt>Returns:</dt> |
268 <dd> |
351 <dd> |
269 flag indicating a successful start of the first process |
352 flag indicating a successful start of the first process |
270 (boolean) |
353 (boolean) |
271 </dd> |
354 </dd> |
272 </dl><a NAME="DjangoDialog.startProcess" ID="DjangoDialog.startProcess"></a> |
355 </dl> |
|
356 <a NAME="DjangoDialog.startProcess" ID="DjangoDialog.startProcess"></a> |
273 <h4>DjangoDialog.startProcess</h4> |
357 <h4>DjangoDialog.startProcess</h4> |
274 <b>startProcess</b>(<i>args, workingDir=None, showCommand=True, mergedOutput=False</i>) |
358 <b>startProcess</b>(<i>args, workingDir=None, showCommand=True, mergedOutput=False</i>) |
|
359 |
275 <p> |
360 <p> |
276 Public slot used to start the process. |
361 Public slot used to start the process. |
277 </p><dl> |
362 </p> |
|
363 <dl> |
|
364 |
278 <dt><i>args</i></dt> |
365 <dt><i>args</i></dt> |
279 <dd> |
366 <dd> |
280 list of arguments for the process (list of strings) |
367 list of arguments for the process (list of strings) |
281 </dd><dt><i>workingDir</i></dt> |
368 </dd> |
|
369 <dt><i>workingDir</i></dt> |
282 <dd> |
370 <dd> |
283 working directory for the process (string) |
371 working directory for the process (string) |
284 </dd><dt><i>showCommand</i></dt> |
372 </dd> |
|
373 <dt><i>showCommand</i></dt> |
285 <dd> |
374 <dd> |
286 flag indicating to show the command executed |
375 flag indicating to show the command executed |
287 (boolean) |
376 (boolean) |
288 </dd><dt><i>mergedOutput</i></dt> |
377 </dd> |
|
378 <dt><i>mergedOutput</i></dt> |
289 <dd> |
379 <dd> |
290 flag indicating to merge the output of the process |
380 flag indicating to merge the output of the process |
291 (boolean) |
381 (boolean) |
292 </dd> |
382 </dd> |
293 </dl><dl> |
383 </dl> |
|
384 <dl> |
294 <dt>Returns:</dt> |
385 <dt>Returns:</dt> |
295 <dd> |
386 <dd> |
296 flag indicating a successful start of the process (boolean) |
387 flag indicating a successful start of the process (boolean) |
297 </dd> |
388 </dd> |
298 </dl> |
389 </dl> |