147 <p> |
147 <p> |
148 Constructor |
148 Constructor |
149 </p> |
149 </p> |
150 <dl> |
150 <dl> |
151 |
151 |
152 <dt><i>text</i></dt> |
152 <dt><i>text</i> (str)</dt> |
153 <dd> |
153 <dd> |
154 text to be shown by the label (string) |
154 text to be shown by the label |
155 </dd> |
155 </dd> |
156 <dt><i>fixed=</i></dt> |
156 <dt><i>fixed</i> (bool)</dt> |
157 <dd> |
157 <dd> |
158 flag indicating a fixed font should be used (boolean) |
158 flag indicating a fixed font should be used |
159 </dd> |
159 </dd> |
160 <dt><i>linewrap=</i></dt> |
160 <dt><i>linewrap</i> (bool)</dt> |
161 <dd> |
161 <dd> |
162 flag indicating to wrap long lines (boolean) |
162 flag indicating to wrap long lines |
163 </dd> |
163 </dd> |
164 <dt><i>msgSuccess=</i></dt> |
164 <dt><i>msgSuccess</i> (str)</dt> |
165 <dd> |
165 <dd> |
166 optional string to show upon successful execution |
166 optional string to show upon successful execution |
167 (string) |
167 </dd> |
168 </dd> |
168 <dt><i>msgError</i> (str)</dt> |
169 <dt><i>msgError=</i></dt> |
|
170 <dd> |
169 <dd> |
171 optional string to show upon unsuccessful execution |
170 optional string to show upon unsuccessful execution |
172 (string) |
171 </dd> |
173 </dd> |
172 <dt><i>saveFilters</i> (str)</dt> |
174 <dt><i>saveFilters=</i></dt> |
173 <dd> |
175 <dd> |
174 filename filter string |
176 filename filter string (string) |
175 </dd> |
177 </dd> |
176 <dt><i>showInput</i> (bool)</dt> |
178 <dt><i>showInput=</i></dt> |
177 <dd> |
179 <dd> |
178 flag indicating to show the input widgets |
180 flag indicating to show the input widgets (bool) |
179 </dd> |
181 </dd> |
180 <dt><i>parent</i> (QWidget)</dt> |
182 <dt><i>parent=</i></dt> |
181 <dd> |
183 <dd> |
182 parent widget |
184 parent widget (QWidget) |
|
185 </dd> |
183 </dd> |
186 </dl> |
184 </dl> |
187 <a NAME="DjangoDialog.__finish" ID="DjangoDialog.__finish"></a> |
185 <a NAME="DjangoDialog.__finish" ID="DjangoDialog.__finish"></a> |
188 <h4>DjangoDialog.__finish</h4> |
186 <h4>DjangoDialog.__finish</h4> |
189 <b>__finish</b>(<i></i>) |
187 <b>__finish</b>(<i></i>) |
199 <p> |
197 <p> |
200 Private slot connected to the finished signal. |
198 Private slot connected to the finished signal. |
201 </p> |
199 </p> |
202 <dl> |
200 <dl> |
203 |
201 |
204 <dt><i>exitCode</i></dt> |
202 <dt><i>exitCode</i> (int)</dt> |
205 <dd> |
203 <dd> |
206 exit code of the process (integer) |
204 exit code of the process |
207 </dd> |
205 </dd> |
208 <dt><i>exitStatus</i></dt> |
206 <dt><i>exitStatus</i> (QProcess.ExitStatus)</dt> |
209 <dd> |
207 <dd> |
210 exit status of the process (QProcess.ExitStatus) |
208 exit status of the process |
211 </dd> |
209 </dd> |
212 </dl> |
210 </dl> |
213 <a NAME="DjangoDialog.__readStderr" ID="DjangoDialog.__readStderr"></a> |
211 <a NAME="DjangoDialog.__readStderr" ID="DjangoDialog.__readStderr"></a> |
214 <h4>DjangoDialog.__readStderr</h4> |
212 <h4>DjangoDialog.__readStderr</h4> |
215 <b>__readStderr</b>(<i></i>) |
213 <b>__readStderr</b>(<i></i>) |
246 <p> |
244 <p> |
247 Protected slot to handle a key press event. |
245 Protected slot to handle a key press event. |
248 </p> |
246 </p> |
249 <dl> |
247 <dl> |
250 |
248 |
251 <dt><i>evt</i></dt> |
249 <dt><i>evt</i> (QKeyEvent)</dt> |
252 <dd> |
250 <dd> |
253 the key press event (QKeyEvent) |
251 the key press event |
254 </dd> |
252 </dd> |
255 </dl> |
253 </dl> |
256 <a NAME="DjangoDialog.normalExit" ID="DjangoDialog.normalExit"></a> |
254 <a NAME="DjangoDialog.normalExit" ID="DjangoDialog.normalExit"></a> |
257 <h4>DjangoDialog.normalExit</h4> |
255 <h4>DjangoDialog.normalExit</h4> |
258 <b>normalExit</b>(<i></i>) |
256 <b>normalExit</b>(<i></i>) |
261 Public method to check for a normal process termination. |
259 Public method to check for a normal process termination. |
262 </p> |
260 </p> |
263 <dl> |
261 <dl> |
264 <dt>Return:</dt> |
262 <dt>Return:</dt> |
265 <dd> |
263 <dd> |
266 flag indicating normal process termination (boolean) |
264 flag indicating normal process termination |
|
265 </dd> |
|
266 </dl> |
|
267 <dl> |
|
268 <dt>Return Type:</dt> |
|
269 <dd> |
|
270 bool |
267 </dd> |
271 </dd> |
268 </dl> |
272 </dl> |
269 <a NAME="DjangoDialog.normalExitWithoutErrors" ID="DjangoDialog.normalExitWithoutErrors"></a> |
273 <a NAME="DjangoDialog.normalExitWithoutErrors" ID="DjangoDialog.normalExitWithoutErrors"></a> |
270 <h4>DjangoDialog.normalExitWithoutErrors</h4> |
274 <h4>DjangoDialog.normalExitWithoutErrors</h4> |
271 <b>normalExitWithoutErrors</b>(<i></i>) |
275 <b>normalExitWithoutErrors</b>(<i></i>) |
275 error messages. |
279 error messages. |
276 </p> |
280 </p> |
277 <dl> |
281 <dl> |
278 <dt>Return:</dt> |
282 <dt>Return:</dt> |
279 <dd> |
283 <dd> |
280 flag indicating normal process termination (boolean) |
284 flag indicating normal process termination |
|
285 </dd> |
|
286 </dl> |
|
287 <dl> |
|
288 <dt>Return Type:</dt> |
|
289 <dd> |
|
290 bool |
281 </dd> |
291 </dd> |
282 </dl> |
292 </dl> |
283 <a NAME="DjangoDialog.on_buttonBox_clicked" ID="DjangoDialog.on_buttonBox_clicked"></a> |
293 <a NAME="DjangoDialog.on_buttonBox_clicked" ID="DjangoDialog.on_buttonBox_clicked"></a> |
284 <h4>DjangoDialog.on_buttonBox_clicked</h4> |
294 <h4>DjangoDialog.on_buttonBox_clicked</h4> |
285 <b>on_buttonBox_clicked</b>(<i>button</i>) |
295 <b>on_buttonBox_clicked</b>(<i>button</i>) |
287 <p> |
297 <p> |
288 Private slot called by a button of the button box clicked. |
298 Private slot called by a button of the button box clicked. |
289 </p> |
299 </p> |
290 <dl> |
300 <dl> |
291 |
301 |
292 <dt><i>button</i></dt> |
302 <dt><i>button</i> (QAbstractButton)</dt> |
293 <dd> |
303 <dd> |
294 button that was clicked (QAbstractButton) |
304 button that was clicked |
295 </dd> |
305 </dd> |
296 </dl> |
306 </dl> |
297 <a NAME="DjangoDialog.on_input_returnPressed" ID="DjangoDialog.on_input_returnPressed"></a> |
307 <a NAME="DjangoDialog.on_input_returnPressed" ID="DjangoDialog.on_input_returnPressed"></a> |
298 <h4>DjangoDialog.on_input_returnPressed</h4> |
308 <h4>DjangoDialog.on_input_returnPressed</h4> |
299 <b>on_input_returnPressed</b>(<i></i>) |
309 <b>on_input_returnPressed</b>(<i></i>) |
308 <p> |
318 <p> |
309 Private slot to handle the password checkbox toggled. |
319 Private slot to handle the password checkbox toggled. |
310 </p> |
320 </p> |
311 <dl> |
321 <dl> |
312 |
322 |
313 <dt><i>isOn</i></dt> |
323 <dt><i>isOn</i> (bool)</dt> |
314 <dd> |
324 <dd> |
315 flag indicating the status of the check box (boolean) |
325 flag indicating the status of the check box |
316 </dd> |
326 </dd> |
317 </dl> |
327 </dl> |
318 <a NAME="DjangoDialog.on_sendButton_clicked" ID="DjangoDialog.on_sendButton_clicked"></a> |
328 <a NAME="DjangoDialog.on_sendButton_clicked" ID="DjangoDialog.on_sendButton_clicked"></a> |
319 <h4>DjangoDialog.on_sendButton_clicked</h4> |
329 <h4>DjangoDialog.on_sendButton_clicked</h4> |
320 <b>on_sendButton_clicked</b>(<i></i>) |
330 <b>on_sendButton_clicked</b>(<i></i>) |
329 <p> |
339 <p> |
330 Public slot used to start a batch of processes. |
340 Public slot used to start a batch of processes. |
331 </p> |
341 </p> |
332 <dl> |
342 <dl> |
333 |
343 |
334 <dt><i>argsLists</i></dt> |
344 <dt><i>argsLists</i> (list of list of str)</dt> |
335 <dd> |
345 <dd> |
336 list of lists of arguments for the processes |
346 list of lists of arguments for the processes |
337 (list of lists of strings) |
347 </dd> |
338 </dd> |
348 <dt><i>workingDir</i> (str)</dt> |
339 <dt><i>workingDir</i></dt> |
349 <dd> |
340 <dd> |
350 working directory for the process |
341 working directory for the process (string) |
351 </dd> |
342 </dd> |
352 <dt><i>mergedOutput</i> (bool)</dt> |
343 <dt><i>mergedOutput</i></dt> |
|
344 <dd> |
353 <dd> |
345 flag indicating to merge the output of the process |
354 flag indicating to merge the output of the process |
346 (boolean) |
|
347 </dd> |
355 </dd> |
348 </dl> |
356 </dl> |
349 <dl> |
357 <dl> |
350 <dt>Return:</dt> |
358 <dt>Return:</dt> |
351 <dd> |
359 <dd> |
352 flag indicating a successful start of the first process |
360 flag indicating a successful start of the first process |
353 (boolean) |
361 </dd> |
|
362 </dl> |
|
363 <dl> |
|
364 <dt>Return Type:</dt> |
|
365 <dd> |
|
366 bool |
354 </dd> |
367 </dd> |
355 </dl> |
368 </dl> |
356 <a NAME="DjangoDialog.startProcess" ID="DjangoDialog.startProcess"></a> |
369 <a NAME="DjangoDialog.startProcess" ID="DjangoDialog.startProcess"></a> |
357 <h4>DjangoDialog.startProcess</h4> |
370 <h4>DjangoDialog.startProcess</h4> |
358 <b>startProcess</b>(<i>args, workingDir=None, showCommand=True, mergedOutput=False</i>) |
371 <b>startProcess</b>(<i>args, workingDir=None, showCommand=True, mergedOutput=False</i>) |
360 <p> |
373 <p> |
361 Public slot used to start the process. |
374 Public slot used to start the process. |
362 </p> |
375 </p> |
363 <dl> |
376 <dl> |
364 |
377 |
365 <dt><i>args</i></dt> |
378 <dt><i>args</i> (list of str)</dt> |
366 <dd> |
379 <dd> |
367 list of arguments for the process (list of strings) |
380 list of arguments for the process |
368 </dd> |
381 </dd> |
369 <dt><i>workingDir</i></dt> |
382 <dt><i>workingDir</i> (str)</dt> |
370 <dd> |
383 <dd> |
371 working directory for the process (string) |
384 working directory for the process |
372 </dd> |
385 </dd> |
373 <dt><i>showCommand</i></dt> |
386 <dt><i>showCommand</i> (bool)</dt> |
374 <dd> |
387 <dd> |
375 flag indicating to show the command executed |
388 flag indicating to show the command executed |
376 (boolean) |
389 </dd> |
377 </dd> |
390 <dt><i>mergedOutput</i> (bool)</dt> |
378 <dt><i>mergedOutput</i></dt> |
|
379 <dd> |
391 <dd> |
380 flag indicating to merge the output of the process |
392 flag indicating to merge the output of the process |
381 (boolean) |
|
382 </dd> |
393 </dd> |
383 </dl> |
394 </dl> |
384 <dl> |
395 <dl> |
385 <dt>Return:</dt> |
396 <dt>Return:</dt> |
386 <dd> |
397 <dd> |
387 flag indicating a successful start of the process (boolean) |
398 flag indicating a successful start of the process |
|
399 </dd> |
|
400 </dl> |
|
401 <dl> |
|
402 <dt>Return Type:</dt> |
|
403 <dd> |
|
404 bool |
388 </dd> |
405 </dd> |
389 </dl> |
406 </dl> |
390 <div align="right"><a href="#top">Up</a></div> |
407 <div align="right"><a href="#top">Up</a></div> |
391 <hr /> |
408 <hr /> |
392 </body></html> |
409 </body></html> |