madgui.widget.mainwindow module

Main window component for madgui.

Classes

MainWindow(session, *args, **kwargs)

class madgui.widget.mainwindow.MainWindow(session, *args, **kwargs)[source]

Bases: PyQt5.QtWidgets.QMainWindow

Methods

createControls()

createMenu()

decreaseFontSize()

execFile()

fileOpen()

graphs(name)

helpAboutQt()

increaseFontSize()

initUI()

loadBeam()

loadStrengths()

loadTwiss()

log_command(text)

model_args(filename)

open_graph(name)

refreshTwiss()

Redo twiss and redraw plot.

reverseSequence()

Reverse sequence from back to front.

saveBeam()

saveCommands()

saveStrengths()

saveTwiss()

session_data()

setFontSize(size)

setInterpolate()

setLogSize()

setNumberFormat()

showTwiss([name])

toggleSpinBox()

update_twiss()

viewFloorPlan()

viewLayout3d()

viewShell()

Attributes

dataReceived

Signal<<class ‘object’>>

editInitialConditions

folder

helpAboutCPyMAD

Show about dialog.

helpAboutMadGUI

Show about dialog.

helpAboutMadX

Show about dialog.

helpAboutPython

Show about dialog.

ui_file

str(object=’’) -> str

viewMatchDialog

createControls()[source]
createMenu()[source]
dataReceived

Signal<<class ‘object’>>

decreaseFontSize()[source]
property editInitialConditions
execFile()[source]
fileOpen()[source]
property folder
graphs(name)[source]
property helpAboutCPyMAD

Show about dialog.

property helpAboutMadGUI

Show about dialog.

property helpAboutMadX

Show about dialog.

property helpAboutPython

Show about dialog.

helpAboutQt()[source]
increaseFontSize()[source]
initUI()[source]
loadBeam()[source]
loadStrengths()[source]
loadTwiss()[source]
log_command(text)[source]
model_args(filename)[source]
open_graph(name)[source]
refreshTwiss()[source]

Redo twiss and redraw plot.

reverseSequence()[source]

Reverse sequence from back to front. Experimental feature. Not implemented for all element types.

saveBeam()[source]
saveCommands()[source]
saveStrengths()[source]
saveTwiss()[source]
session_data()[source]
setFontSize(size)[source]
setInterpolate()[source]
setLogSize()[source]
setNumberFormat()[source]
showTwiss(name=None)[source]
toggleSpinBox()[source]
ui_file = 'mainwindow.ui'
update_twiss()[source]
viewFloorPlan()[source]
viewLayout3d()[source]
property viewMatchDialog
viewShell()[source]