Files
OpticsTools/ui/OpticsPlotGui.ui
2026-01-26 12:51:49 +01:00

745 lines
21 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>OpticsPlotGUI</class>
<widget class="QMainWindow" name="OpticsPlotGUI">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1605</width>
<height>1023</height>
</rect>
</property>
<property name="windowTitle">
<string>SwissFEL Optics</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QTabWidget" name="TabMaster">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tab_3">
<attribute name="title">
<string>Plot</string>
</attribute>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QWidget" name="widget_2" native="true">
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<widget class="QLabel" name="label_31">
<property name="text">
<string>Plotting</string>
</property>
</widget>
</item>
<item>
<layout class="QGridLayout" name="gridLayout_4">
<item row="3" column="1">
<widget class="QPushButton" name="PY">
<property name="text">
<string>Y</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QPushButton" name="PR22">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>R22</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="PAlphay">
<property name="text">
<string>AlphaY</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QPushButton" name="PR12">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>R12</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QPushButton" name="PEnergy">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Energy</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QPushButton" name="PMux">
<property name="text">
<string>Mux</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QPushButton" name="PBetax">
<property name="text">
<string>Betax</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="PAlphax">
<property name="text">
<string>Alphax</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QPushButton" name="PR56">
<property name="text">
<string>R56</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QPushButton" name="PR33">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>R33</string>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QPushButton" name="PR34">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>R34</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QPushButton" name="PEtax">
<property name="text">
<string>Etax</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QPushButton" name="PX">
<property name="text">
<string>X</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QPushButton" name="PEtay">
<property name="text">
<string>Etay</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QPushButton" name="PR11">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>R11</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="PBetay">
<property name="text">
<string>Betay</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QPushButton" name="PR21">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>R21</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QPushButton" name="PMuy">
<property name="text">
<string>Muy</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item row="9" column="0">
<widget class="QPushButton" name="PR43">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>R43</string>
</property>
</widget>
</item>
<item row="9" column="1">
<widget class="QPushButton" name="PR44">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>R44</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="0">
<widget class="QLabel" name="label_22">
<property name="text">
<string>Plot Start</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="PStart">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>0</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_21">
<property name="text">
<string>Plot End</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="PEnd">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>1000</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>175</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="UIPlotSaveReference">
<property name="text">
<string>Save Current Optics as Reference</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="UIPlotClearReference">
<property name="text">
<string>Clear Reference</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="UIPlotExportOptics">
<property name="text">
<string>Export Optics</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="mplwindow" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>900</width>
<height>0</height>
</size>
</property>
<layout class="QVBoxLayout" name="mplvl"/>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_4">
<attribute name="title">
<string>Values</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QVBoxLayout" name="verticalLayout_12">
<item>
<widget class="QTableWidget" name="UITwissValues">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="UIPLotNewReference">
<property name="text">
<string>Copy Entry as New Reference Point</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1605</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<action name="actionNew">
<property name="text">
<string>New Model</string>
</property>
<property name="shortcut">
<string>Ctrl+N</string>
</property>
</action>
<action name="actionOpen">
<property name="text">
<string>Open Model...</string>
</property>
<property name="shortcut">
<string>Ctrl+O</string>
</property>
</action>
<action name="actionSave_Model">
<property name="text">
<string>Save Model</string>
</property>
<property name="shortcut">
<string>Ctrl+S</string>
</property>
</action>
<action name="actionSave_Model_as">
<property name="text">
<string>Save Model as ...</string>
</property>
</action>
<action name="actionNew_Script">
<property name="text">
<string>New Script...</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+N</string>
</property>
</action>
<action name="actionDuplicate_Script">
<property name="text">
<string>Save Script as...</string>
</property>
</action>
<action name="actionTrack">
<property name="text">
<string>Track</string>
</property>
<property name="shortcut">
<string>Ctrl+T</string>
</property>
</action>
<action name="actionMatch">
<property name="text">
<string>Match</string>
</property>
<property name="shortcut">
<string>Ctrl+M</string>
</property>
</action>
<action name="actionQuit">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Quit</string>
</property>
<property name="shortcut">
<string/>
</property>
</action>
<action name="actionExport_Lattice">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Export Lattice...</string>
</property>
</action>
<action name="actionExport_Magnet_Settings">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Export Magnet Settings...</string>
</property>
</action>
<action name="actionInfo">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Info...</string>
</property>
</action>
<action name="actionWebsite">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Website...</string>
</property>
</action>
<action name="actionLoad_Settings_from_Model">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Load Settings from Model</string>
</property>
</action>
<action name="actionUpdate_Model">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Update Model</string>
</property>
</action>
<action name="actionLoad_Settings_from_Machine">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Load Settings from Machine</string>
</property>
</action>
<action name="actionOpen_Script">
<property name="text">
<string>Open Script...</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+O</string>
</property>
</action>
<action name="actionSave_Script">
<property name="text">
<string>Save Script</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+S</string>
</property>
</action>
<action name="actionCut">
<property name="text">
<string>Cut</string>
</property>
<property name="shortcut">
<string>Ctrl+X</string>
</property>
</action>
<action name="actionCopy">
<property name="text">
<string>Copy</string>
</property>
<property name="shortcut">
<string>Ctrl+C</string>
</property>
</action>
<action name="actionPaste">
<property name="text">
<string>Paste</string>
</property>
<property name="shortcut">
<string>Ctrl+V</string>
</property>
</action>
<action name="actionRefreshSettings">
<property name="checkable">
<bool>false</bool>
</property>
<property name="text">
<string>Refresh</string>
</property>
</action>
<action name="actionLoad_From_Machine">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Load From Machine</string>
</property>
</action>
<action name="actionUpdate_RF_in_Model">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Update RF in Model</string>
</property>
</action>
<action name="actionEnforce_Energy_Profile">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Enforce Energy Profile</string>
</property>
</action>
<action name="actionSerach">
<property name="text">
<string>Serach...</string>
</property>
</action>
<action name="actionExport_Lattice_for_Elegant">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Export Lattice for Elegant...</string>
</property>
</action>
<action name="actionTrack_Elegant">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Track (Blocking)</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+T</string>
</property>
</action>
<action name="actionReduce_Distribution">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>Reduce Input Distribution</string>
</property>
</action>
<action name="actionExclude_Space_Charge">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>Exclude Space Charge</string>
</property>
</action>
<action name="actionExclude_CSR">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>Exclude CSR</string>
</property>
</action>
<action name="actionTest">
<property name="text">
<string>Test</string>
</property>
</action>
<action name="actionImport_Initial_Distribution">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Import Initial Distribution...</string>
</property>
</action>
<action name="actionLoad_From_LongTracker">
<property name="text">
<string>Load From LongTracker...</string>
</property>
</action>
<action name="actionUpdate_Undulator_in_Model">
<property name="text">
<string>Update Undulator in Model</string>
</property>
</action>
<action name="actionBackup">
<property name="text">
<string>Backup Files</string>
</property>
</action>
<action name="actionExport_Optics_Function">
<property name="text">
<string>Export Optics Function...</string>
</property>
</action>
<action name="actionExport_Optics_Functions">
<property name="text">
<string>Export Optical Functions...</string>
</property>
</action>
<action name="actionLoad_Reference">
<property name="text">
<string>Load Reference...</string>
</property>
</action>
<action name="actionSave_Reference">
<property name="text">
<string>Save Reference</string>
</property>
</action>
<action name="actionNew_Reference">
<property name="text">
<string>New Reference</string>
</property>
</action>
</widget>
<resources/>
<connections>
<connection>
<sender>actionQuit</sender>
<signal>triggered()</signal>
<receiver>OpticsPlotGUI</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>747</x>
<y>448</y>
</hint>
</hints>
</connection>
</connections>
</ui>