eye.app module

class eye.app.App(argv)[source]

Bases: QApplication

Application

init_logging()[source]
init_ui()[source]
open_command_line_files()[source]
parse_arguments()[source]
process_remote()[source]
run()[source]

Run app until exit

Create and show interface, run config script, handle command-line args and run. Does not return until app is quit.

run_script(path)[source]

Run a config script in this app

The script will be run with the variables returned by script_dict. Exceptions thrown by the script are catched and logged.

run_start_scripts()[source]
script_dict()[source]

Build a env suitable for running conf scripts.

The built dict will contain ‘qApp’ key pointing to this App instance.

startup_scripts()[source]

Get list of startup script files

These are the script present at the moment, not the scripts that were run when the app started.

eye.app.main()[source]

Run eye app

eye.app.qApp()[source]