Manager for running functions in subprocess.
More...
|
|
None | __init__ (self, parentWidget) |
| |
| def | waiterFinished (self, success) |
| | To be connected to the finished signal of the waiter object. More...
|
| |
| def | runInSubprocess (self, work, args, dialogText="") |
| | Runs a function in a subprocess. More...
|
| |
|
|
| parentWidget |
| |
|
| subProcessRunning |
| |
|
| currentCalculationDialog |
| |
|
| waiterThread |
| |
Manager for running functions in subprocess.
◆ runInSubprocess()
| def GUI.SubprocessManager.SubprocessManager.runInSubprocess |
( |
|
self, |
|
|
|
work, |
|
|
|
args, |
|
|
|
dialogText = "" |
|
) |
| |
Runs a function in a subprocess.
- Parameters
-
| work | Function to be run in subprocess |
| args | Tuple of the arguments work takes |
| dialogText | String to be shown in the waiting dialog; defaults to "Calculating" |
◆ waiterFinished()
| def GUI.SubprocessManager.SubprocessManager.waiterFinished |
( |
|
self, |
|
|
|
success |
|
) |
| |
To be connected to the finished signal of the waiter object.
- Parameters
-
| success | Boolean, determines wether calculation finished successfully |
The documentation for this class was generated from the following file: