Public Member Functions | |
def | __init__ |
ScriptEngineMain constructor. | |
def | connectClicked |
def | applyPermissions |
Apply the permissions for the current operator. | |
def | setEnabledTabPage |
Find the tabPage belonging to panel identified by panelLabel. | |
def | setOperator |
Set the current operator. | |
def | setParticleType |
Set the particle type. | |
def | setOrientation |
Set the orientation. | |
def | getName |
Retrieve the name of the main script engine class. | |
def | __statusMsg |
Update the status bar with the message msg. | |
def | __shutdown |
Clean up and shut down the various threads. | |
def | initApp |
Method usually invoked by the GUI to load a new application. | |
def | loadApp |
Method that can be invoked from code to load a new application. | |
def | loadModule |
Method that can be invoked from code to load a new module. | |
def | __initAppCommon |
Initialize the GUI based on the loaded application. | |
def | __updateRunConditions |
Set the run conditions to the NOT-DEFINED value. | |
def | __updateAppListBox |
Update the application combo box with the loaded application.appName Full path for the application. | |
def | __startApp |
Load and instantiate the application. | |
def | __startModule |
Clear previous app, force garbage collection and setup the GUI. | |
def | __clearPreviousApp |
Delete the previous app and force garbage collection. | |
def | __setupApp |
Setup the GUI for the loaded app. | |
def | __updateGUI |
Method for updating the GUI. | |
def | updateState |
Update the GUI to reflect the state of the current application. | |
def | RunClicked |
Slot for the run button. | |
def | __run |
Start the execution of the application. | |
def | __resume |
Resume the paused script. | |
def | ResetClicked |
Slot for the reset button. | |
def | __reset |
Reset the script. | |
def | StopClicked |
Slot for the stop button. | |
def | __abort |
Abort the running script. | |
def | PauseClicked |
Slot for the pause button. | |
def | __pause |
Pause the running script (if supported). | |
def | doRun |
Emit a Run button click under program control. | |
def | doReset |
Emit a Reset button click under program control. | |
def | doEmit |
Emit a signal, possibly from a subthread. | |
def | normalCursor |
Set the mouse cursor to normal. | |
def | waitCursor |
Set the mouse cursor to hourglass. | |
def | getEndRunComments |
Retrieve the end run comments widget. | |
def | handleComments |
Based on the current state hide or show the comment panel. | |
def | showHidePythonShell |
Toggle the Python shell window. | |
def | verifySoftware |
Perform software verification. | |
def | elogWebsite |
Launch the E-Logbook web site. | |
def | warnFreeSpace |
Display a low disk space warning. | |
def | warnDirectoryExist |
Warn if a directory does not exist. | |
def | aboutScriptEngine |
The About dialog box for the Script Engine. | |
def | fileLogout |
Log the current user off. | |
def | closeEvent |
Trap the close event of the main GUI. | |
def | login |
Login to the script engine. | |
def | isGUIthread |
Returns True if this method is being called from the GUI thread. | |
def | customEvent |
Post an event to the GUI thread. | |
def | createGUI |
Method used for instantiating a GUI from a non-GUI subthread. | |
def | execGUImethodNR |
Method used for executing a GUI function from a non-GUI thread. | |
def | getEndRunDlg |
Retrieve reference to the End Run Dialog. |
Definition at line 72 of file ScriptEngineMain.py.
|
Abort the running script.
Definition at line 494 of file ScriptEngineMain.py. |
|
Delete the previous app and force garbage collection.
Definition at line 370 of file ScriptEngineMain.py. |
|
ScriptEngineMain constructor.
Definition at line 75 of file ScriptEngineMain.py. |
|
Initialize the GUI based on the loaded application.
Definition at line 297 of file ScriptEngineMain.py. |
|
Pause the running script (if supported).
Definition at line 510 of file ScriptEngineMain.py. |
|
Reset the script.
Definition at line 478 of file ScriptEngineMain.py. |
|
Resume the paused script.
Definition at line 463 of file ScriptEngineMain.py. |
|
Start the execution of the application.
Definition at line 456 of file ScriptEngineMain.py. |
|
Setup the GUI for the loaded app.
Definition at line 380 of file ScriptEngineMain.py. |
|
Clean up and shut down the various threads.
Definition at line 229 of file ScriptEngineMain.py. |
|
Load and instantiate the application.
Definition at line 340 of file ScriptEngineMain.py. |
|
Clear previous app, force garbage collection and setup the GUI.
Definition at line 360 of file ScriptEngineMain.py. |
|
Update the status bar with the message msg.
Definition at line 221 of file ScriptEngineMain.py. |
|
Update the application combo box with the loaded application.appName Full path for the application.
Definition at line 332 of file ScriptEngineMain.py. |
|
Method for updating the GUI.
Definition at line 404 of file ScriptEngineMain.py. |
|
Set the run conditions to the NOT-DEFINED value.
Definition at line 316 of file ScriptEngineMain.py. |
|
The About dialog box for the Script Engine. Displays version information for Hippo, Qt, PyQt, SIP and subsystem releases. Definition at line 683 of file ScriptEngineMain.py. |
|
Apply the permissions for the current operator.
Definition at line 134 of file ScriptEngineMain.py. |
|
Trap the close event of the main GUI. In secure mode, only administrators can close the main GUI while logged in. Other users need to logout first in order to exit the Script Engine.
Definition at line 722 of file ScriptEngineMain.py. |
|
Definition at line 128 of file ScriptEngineMain.py. |
|
Method used for instantiating a GUI from a non-GUI subthread.
Definition at line 789 of file ScriptEngineMain.py. |
|
Post an event to the GUI thread. This method overrides the QObject base class's. There is generally no reason to call this method directly. It is called by the Qt infrastructure whenever the custom event is posted, e.g. by the following three methods of this class: createGUI, execGUImethodNR and execGUImethod.
Definition at line 777 of file ScriptEngineMain.py. |
|
Emit a signal, possibly from a subthread. By default the signal is 'clicked()' with no arguments.
Definition at line 532 of file ScriptEngineMain.py. |
|
Emit a Reset button click under program control. Can be done from a subthread. Definition at line 525 of file ScriptEngineMain.py. |
|
Emit a Run button click under program control. Can be done from a subthread. Definition at line 518 of file ScriptEngineMain.py. |
|
Launch the E-Logbook web site.
Definition at line 648 of file ScriptEngineMain.py. |
|
Method used for executing a GUI function from a non-GUI thread. Use this method when no (useful) response is expected or when waiting for one could cause a deadlock. Any response from the function is lost.
Definition at line 801 of file ScriptEngineMain.py. |
|
Log the current user off.
Definition at line 714 of file ScriptEngineMain.py. |
|
Retrieve the end run comments widget.
Definition at line 558 of file ScriptEngineMain.py. |
|
Retrieve reference to the End Run Dialog.
Definition at line 818 of file ScriptEngineMain.py. |
|
Retrieve the name of the main script engine class.
Definition at line 214 of file ScriptEngineMain.py. |
|
Based on the current state hide or show the comment panel.
Definition at line 565 of file ScriptEngineMain.py. |
|
Method usually invoked by the GUI to load a new application.
Definition at line 263 of file ScriptEngineMain.py. |
|
Returns True if this method is being called from the GUI thread.
Definition at line 770 of file ScriptEngineMain.py. |
|
Method that can be invoked from code to load a new application.
Definition at line 271 of file ScriptEngineMain.py. |
|
Method that can be invoked from code to load a new module.
Definition at line 290 of file ScriptEngineMain.py. |
|
Login to the script engine.
Definition at line 736 of file ScriptEngineMain.py. |
|
Set the mouse cursor to normal.
Definition at line 546 of file ScriptEngineMain.py. |
|
Slot for the pause button.
Definition at line 501 of file ScriptEngineMain.py. |
|
Slot for the reset button.
Definition at line 469 of file ScriptEngineMain.py. |
|
Slot for the run button.
Definition at line 444 of file ScriptEngineMain.py. |
|
Find the tabPage belonging to panel identified by panelLabel.
Definition at line 180 of file ScriptEngineMain.py. |
|
Set the current operator.
Definition at line 192 of file ScriptEngineMain.py. |
|
Set the orientation.
Definition at line 207 of file ScriptEngineMain.py. |
|
Set the particle type.
Definition at line 200 of file ScriptEngineMain.py. |
|
Toggle the Python shell window.
Definition at line 589 of file ScriptEngineMain.py. |
|
Slot for the stop button.
Definition at line 485 of file ScriptEngineMain.py. |
|
Update the GUI to reflect the state of the current application.
Definition at line 437 of file ScriptEngineMain.py. |
|
Perform software verification.
Definition at line 600 of file ScriptEngineMain.py. |
|
Set the mouse cursor to hourglass.
Definition at line 552 of file ScriptEngineMain.py. |
|
Warn if a directory does not exist.
Definition at line 669 of file ScriptEngineMain.py. |
|
Display a low disk space warning.
Definition at line 654 of file ScriptEngineMain.py. |