|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
Utilities for interactions between the GUI and the operating system (headers). More...
#include <QStringList>

Go to the source code of this file.
Functions | |
| bool | python_gui (QStringList args) |
| Launch a Python-driven computation with a GUI progress dialog. More... | |
Utilities for interactions between the GUI and the operating system (headers).
Definition in file os.h.
| bool python_gui | ( | QStringList | args | ) |
Launch a Python-driven computation with a GUI progress dialog.
Shows an application-modal progress dialog with an indeterminate spinner while the Python subprocess runs. The dialog provides a Cancel button; upon user cancellation, a termination request is forwarded to the subprocess and the dialog is hidden.
On success: the dialog is closed cleanly (auto-close at 100%). On failure: the dialog is hidden and a French error message is displayed. On user cancellation: the dialog is hidden and a French information message is displayed.
| args | Arguments passed to the Python interpreter (first element is the script path). |
Definition at line 45 of file os.cpp.

