madgui.core.app module

madgui - interactive GUI application for MAD-X via cpymad.

Usage:

madgui [-c CONFIG] [FILE] madgui [–help | –version]

Options:
-c FILE, --config FILE

Set config file

-h, --help

Show this help

-v, --version

Show version information

Arguments:

FILE Load this file initially

Contact information:

Thomas Gläßle <t_glaessle@gmx.de>

Website:

Functions

main([argv, MainWindow])

Run madgui mainloop and exit process when finished.

init_app([argv, gui])

Initialize qt runtime, deal with common issues (such as installing an exception handler), and return a QApplication object.

madgui.core.app.init_app(argv=None, gui=True)[source]

Initialize qt runtime, deal with common issues (such as installing an exception handler), and return a QApplication object. If gui is false, return a QCoreApplication instead.

madgui.core.app.main(argv=None, MainWindow=None)[source]

Run madgui mainloop and exit process when finished.