<?xml version="1.0" ?>
<ui version="4.0">
<class>Dialog</class>
<widget class="PyDMFrame" name="screen">
<property name="geometry">
<rect>
<x>118</x>
<y>76</y>
<width>320</width>
<height>173</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>320</width>
<height>173</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">PyDMFrame#screen {
color: rgb(0, 0, 0);
background-color: rgb(200, 200, 200);
}</string>
</property>
<property name="windowTitle">
<string>SGM_tiny</string>
</property>
<layout class="QGridLayout" name="gridLayout" columnstretch="1,1,3,1,15,4,1,1,20,1,20,1,8,3,5,19,1,5,1,4,5,10,1,1,20,1,2,18,1,1,15,10,9,1,5,1,19,1,1,13,5,2,1,20,1,16,19,1,4,1" rowstretch="3,19,1,2,20,16,4,21,20,1,10,20,2,1,2,2,8,2,6,4,1,7,1">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="horizontalSpacing">
<number>0</number>
</property>
<property name="verticalSpacing">
<number>0</number>
</property>
<item row="20" column="14" rowspan="3" colspan="13">
<widget class="PyDMLabel" name="text">
<property name="geometry">
<rect>
<x>80</x>
<y>164</y>
<width>75</width>
<height>10</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Motor limit</string>
</property>
<property name="font">
<font>
<pointsize>6</pointsize>
</font>
</property>
<property name="brush" stdset="0">
<brush brushstyle="NoBrush">
<color alpha="255">
<red>253</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="rules" stdset="0">
<string>[{"name": "visibility", "property": "Visible", "channels": [{"channel": "ca://${P}${M_rOut}.LLS", "trigger": true, "use_enum": false}], "expression": "ch[0]!=0"}]</string>
</property>
<property name="toolTip">
<string>text</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="styleSheet">
<string notr="true">PyDMLabel#text {
color: rgb(253, 0, 0);
}</string>
</property>
</widget>
</item>
<item row="20" column="14" rowspan="3" colspan="13">
<widget class="PyDMLabel" name="text_1">
<property name="geometry">
<rect>
<x>80</x>
<y>164</y>
<width>75</width>
<height>10</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Motor limit</string>
</property>
<property name="font">
<font>
<pointsize>6</pointsize>
</font>
</property>
<property name="brush" stdset="0">
<brush brushstyle="NoBrush">
<color alpha="255">
<red>253</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="rules" stdset="0">
<string>[{"name": "visibility", "property": "Visible", "channels": [{"channel": "ca://${P}${M_rOut}.HLS", "trigger": true, "use_enum": false}], "expression": "ch[0]!=0"}]</string>
</property>
<property name="toolTip">
<string>text_1</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="styleSheet">
<string notr="true">PyDMLabel#text_1 {
color: rgb(253, 0, 0);
}</string>
</property>
</widget>
</item>
<item row="20" column="14" rowspan="3" colspan="13">
<widget class="PyDMLabel" name="text_2">
<property name="geometry">
<rect>
<x>80</x>
<y>164</y>
<width>75</width>
<height>10</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Motor limit</string>
</property>
<property name="font">
<font>
<pointsize>6</pointsize>
</font>
</property>
<property name="brush" stdset="0">
<brush brushstyle="NoBrush">
<color alpha="255">
<red>251</red>
<green>243</green>
<blue>74</blue>
</color>
</brush>
</property>
<property name="rules" stdset="0">
<string>[{"name": "visibility", "property": "Visible", "channels": [{"channel": "ca://${P}${M_rOut}.LVIO", "trigger": true, "use_enum": false}], "expression": "ch[0]!=0"}]</string>
</property>
<property name="toolTip">
<string>text_2</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="styleSheet">
<string notr="true">PyDMLabel#text_2 {
color: rgb(251, 243, 74);
}</string>
</property>
</widget>
</item>
<item row="20" column="14" rowspan="3" colspan="13">
<widget class="PyDMLabel" name="text_3">
<property name="geometry">
<rect>
<x>80</x>
<y>164</y>
<width>75</width>
<height>10</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Motor limit</string>
</property>
<property name="font">
<font>
<pointsize>6</pointsize>
</font>
</property>
<property name="brush" stdset="0">
<brush brushstyle="NoBrush">
<color alpha="255">
<red>251</red>
<green>243</green>
<blue>74</blue>
</color>
</brush>
</property>
<property name="rules" stdset="0">
<string>[{"name": "visibility", "property": "Visible", "channels": [{"channel": "ca://${P}${M_rIn}.LVIO", "trigger": true, "use_enum": false}], "expression": "ch[0]!=0"}]</string>
</property>
<property name="toolTip">
<string>text_3</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="styleSheet">
<string notr="true">PyDMLabel#text_3 {
color: rgb(251, 243, 74);
}</string>
</property>
</widget>
</item>
<item row="20" column="14" rowspan="3" colspan="13">
<widget class="PyDMLabel" name="text_4">
<property name="geometry">
<rect>
<x>80</x>
<y>164</y>
<width>75</width>
<height>10</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Motor limit</string>
</property>
<property name="font">
<font>
<pointsize>6</pointsize>
</font>
</property>
<property name="brush" stdset="0">
<brush brushstyle="NoBrush">
<color alpha="255">
<red>251</red>
<green>243</green>
<blue>74</blue>
</color>
</brush>
</property>
<property name="rules" stdset="0">
<string>[{"name": "visibility", "property": "Visible", "channels": [{"channel": "ca://${P}${M_x}.LVIO", "trigger": true, "use_enum": false}], "expression": "ch[0]!=0"}]</string>
</property>
<property name="toolTip">
<string>text_4</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="styleSheet">
<string notr="true">PyDMLabel#text_4 {
color: rgb(251, 243, 74);
}</string>
</property>
</widget>
</item>
<item row="20" column="14" rowspan="3" colspan="13">
<widget class="PyDMLabel" name="text_5">
<property name="geometry">
<rect>
<x>80</x>
<y>164</y>
<width>75</width>
<height>10</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Motor limit</string>
</property>
<property name="font">
<font>
<pointsize>6</pointsize>
</font>
</property>
<property name="brush" stdset="0">
<brush brushstyle="NoBrush">
<color alpha="255">
<red>253</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="rules" stdset="0">
<string>[{"name": "visibility", "property": "Visible", "channels": [{"channel": "ca://${P}${M_x}.HLS", "trigger": true, "use_enum": false}], "expression": "ch[0]!=0"}]</string>
</property>
<property name="toolTip">
<string>text_5</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="styleSheet">
<string notr="true">PyDMLabel#text_5 {
color: rgb(253, 0, 0);
}</string>
</property>
</widget>
</item>
<item row="20" column="14" rowspan="3" colspan="13">
<widget class="PyDMLabel" name="text_6">
<property name="geometry">
<rect>
<x>80</x>
<y>164</y>
<width>75</width>
<height>10</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Motor limit</string>
</property>
<property name="font">
<font>
<pointsize>6</pointsize>
</font>
</property>
<property name="brush" stdset="0">
<brush brushstyle="NoBrush">
<color alpha="255">
<red>253</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="rules" stdset="0">
<string>[{"name": "visibility", "property": "Visible", "channels": [{"channel": "ca://${P}${M_rIn}.HLS", "trigger": true, "use_enum": false}], "expression": "ch[0]!=0"}]</string>
</property>
<property name="toolTip">
<string>text_6</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="styleSheet">
<string notr="true">PyDMLabel#text_6 {
color: rgb(253, 0, 0);
}</string>
</property>
</widget>
</item>
<item row="20" column="14" rowspan="3" colspan="13">
<widget class="PyDMLabel" name="text_7">
<property name="geometry">
<rect>
<x>80</x>
<y>164</y>
<width>75</width>
<height>10</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Motor limit</string>
</property>
<property name="font">
<font>
<pointsize>6</pointsize>
</font>
</property>
<property name="brush" stdset="0">
<brush brushstyle="NoBrush">
<color alpha="255">
<red>253</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="rules" stdset="0">
<string>[{"name": "visibility", "property": "Visible", "channels": [{"channel": "ca://${P}${M_rIn}.LLS", "trigger": true, "use_enum": false}], "expression": "ch[0]!=0"}]</string>
</property>
<property name="toolTip">
<string>text_7</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="styleSheet">
<string notr="true">PyDMLabel#text_7 {
color: rgb(253, 0, 0);
}</string>
</property>
</widget>
</item>
<item row="20" column="14" rowspan="3" colspan="13">
<widget class="PyDMLabel" name="text_8">
<property name="geometry">
<rect>
<x>80</x>
<y>164</y>
<width>75</width>
<height>10</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Motor limit</string>
</property>
<property name="font">
<font>
<pointsize>6</pointsize>
</font>
</property>
<property name="brush" stdset="0">
<brush brushstyle="NoBrush">
<color alpha="255">
<red>253</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="rules" stdset="0">
<string>[{"name": "visibility", "property": "Visible", "channels": [{"channel": "ca://${P}${M_x}.LLS", "trigger": true, "use_enum": false}], "expression": "ch[0]!=0"}]</string>
</property>
<property name="toolTip">
<string>text_8</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="styleSheet">
<string notr="true">PyDMLabel#text_8 {
color: rgb(253, 0, 0);
}</string>
</property>
</widget>
</item>
<item row="16" column="32" rowspan="3" colspan="9">
<widget class="PyDMEnumComboBox" name="menu">
<property name="geometry">
<rect>
<x>200</x>
<y>144</y>
<width>55</width>
<height>16</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>${P}SGM${N}:rTrack</string>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:rTrack</string>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">PyDMEnumComboBox#menu {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
}</string>
</property>
</widget>
</item>
<item row="16" column="14" rowspan="4" colspan="6">
<widget class="PyDMPushButton" name="message_button">
<property name="geometry">
<rect>
<x>80</x>
<y>144</y>
<width>35</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Move</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="toolTip">
<string>${P}SGM${N}:move.PROC</string>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:move.PROC</string>
</property>
<property name="pressValue" stdset="0">
<string>1</string>
</property>
<property name="styleSheet">
<string notr="true">PyDMPushButton#message_button {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
}</string>
</property>
</widget>
</item>
<item row="16" column="21" rowspan="4" colspan="6">
<widget class="PyDMPushButton" name="message_button_1">
<property name="geometry">
<rect>
<x>120</x>
<y>144</y>
<width>35</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Sync</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="toolTip">
<string>${P}SGM${N}:sync.PROC</string>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:sync.PROC</string>
</property>
<property name="pressValue" stdset="0">
<string>1</string>
</property>
<property name="styleSheet">
<string notr="true">PyDMPushButton#message_button_1 {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
}</string>
</property>
</widget>
</item>
<item row="10" column="3" rowspan="3" colspan="14">
<widget class="PyDMDrawingRectangle" name="rectangle">
<property name="geometry">
<rect>
<x>5</x>
<y>107</y>
<width>100</width>
<height>32</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="brush" stdset="0">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="penStyle" stdset="0">
<enum>Qt::SolidLine</enum>
</property>
<property name="penColor" stdset="0">
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</property>
<property name="penWidth" stdset="0">
<double>0</double>
</property>
<property name="penCapStyle" stdset="0">
<enum>Qt::FlatCap</enum>
</property>
<property name="toolTip">
<string>rectangle</string>
</property>
</widget>
</item>
<item row="10" column="3" colspan="14">
<widget class="QLabel" name="text_9">
<property name="geometry">
<rect>
<x>5</x>
<y>107</y>
<width>100</width>
<height>10</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>SCAN CONTROL</string>
</property>
<property name="font">
<font>
<pointsize>6</pointsize>
</font>
</property>
<property name="brush" stdset="0">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>216</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="toolTip">
<string>text_9</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="styleSheet">
<string notr="true">QLabel#text_9 {
color: rgb(0, 216, 0);
}</string>
</property>
</widget>
</item>
<item row="11" column="12" colspan="4">
<widget class="PyDMPushButton" name="message_button_2">
<property name="geometry">
<rect>
<x>69</x>
<y>117</y>
<width>35</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Stop</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="toolTip">
<string>${P}allstop.VAL</string>
</property>
<property name="channel" stdset="0">
<string>ca://${P}allstop.VAL</string>
</property>
<property name="pressValue" stdset="0">
<string>1</string>
</property>
<property name="styleSheet">
<string notr="true">PyDMPushButton#message_button_2 {
color: rgb(251, 243, 74);
background-color: rgb(253, 0, 0);
}</string>
</property>
</widget>
</item>
<item row="11" column="10">
<widget class="PyDMPushButton" name="message_button_3">
<property name="geometry">
<rect>
<x>48</x>
<y>117</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Go</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="toolTip">
<string>${P}SGM${N}:Energy:scanParms.GO</string>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:Energy:scanParms.GO</string>
</property>
<property name="pressValue" stdset="0">
<string>1</string>
</property>
<property name="styleSheet">
<string notr="true">PyDMPushButton#message_button_3 {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
}</string>
</property>
</widget>
</item>
<item row="11" column="8">
<widget class="PyDMPushButton" name="message_button_4">
<property name="geometry">
<rect>
<x>27</x>
<y>117</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Ld</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="toolTip">
<string>${P}SGM${N}:Energy:scanParms.LOAD</string>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:Energy:scanParms.LOAD</string>
</property>
<property name="pressValue" stdset="0">
<string>1</string>
</property>
<property name="styleSheet">
<string notr="true">PyDMPushButton#message_button_4 {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
}</string>
</property>
</widget>
</item>
<item row="11" column="4" colspan="3">
<widget class="PyDMRelatedDisplayButton" name="related_display">
<property name="geometry">
<rect>
<x>6</x>
<y>117</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="showIcon" stdset="0">
<bool>true</bool>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">PyDMRelatedDisplayButton#related_display {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
}</string>
</property>
<property name="titles" stdset="0">
<stringlist>
<string>Energy-scan parameters</string>
</stringlist>
</property>
<property name="filenames" stdset="0">
<stringlist>
<string>scanParms.ui</string>
</stringlist>
</property>
<property name="macros" stdset="0">
<stringlist>
<string>P=${P},Q=SGM${N}:Energy,PV=SGM${N}:Energy</string>
</stringlist>
</property>
<property name="openInNewWindow" stdset="0">
<bool>true</bool>
</property>
</widget>
</item>
<item row="8" column="15" colspan="2">
<widget class="PyDMPushButton" name="message_button_5">
<property name="geometry">
<rect>
<x>85</x>
<y>86</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>></string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="toolTip">
<string>${P}SGM${N}:EnergyTweak.A</string>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:EnergyTweak.A</string>
</property>
<property name="pressValue" stdset="0">
<string>1</string>
</property>
<property name="styleSheet">
<string notr="true">PyDMPushButton#message_button_5 {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
}</string>
</property>
</widget>
</item>
<item row="8" column="6" colspan="9">
<widget class="PyDMLineEdit" name="text_entry">
<property name="geometry">
<rect>
<x>25</x>
<y>86</y>
<width>60</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:EnergyTweak.C</string>
</property>
<property name="toolTip">
<string>${P}SGM${N}:EnergyTweak.C</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">PyDMLineEdit#text_entry {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
border: 1px solid black;
margin: 0px;
padding: 0px;
spacing: 0px;
}</string>
</property>
</widget>
</item>
<item row="8" column="3" colspan="3">
<widget class="PyDMPushButton" name="message_button_6">
<property name="geometry">
<rect>
<x>5</x>
<y>86</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string><</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="toolTip">
<string>${P}SGM${N}:EnergyTweak.B</string>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:EnergyTweak.B</string>
</property>
<property name="pressValue" stdset="0">
<string>1</string>
</property>
<property name="styleSheet">
<string notr="true">PyDMPushButton#message_button_6 {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
}</string>
</property>
</widget>
</item>
<item row="14" column="0" colspan="50">
<widget class="PyDMDrawingLine" name="polyline">
<property name="geometry">
<rect>
<x>-1</x>
<y>140</y>
<width>321</width>
<height>2</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>polyline</string>
</property>
<property name="brush" stdset="0">
<brush brushstyle="NoBrush">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="penStyle" stdset="0">
<enum>Qt::SolidLine</enum>
</property>
<property name="penColor" stdset="0">
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</property>
<property name="penWidth" stdset="0">
<double>2.0</double>
</property>
<property name="penCapStyle" stdset="0">
<enum>Qt::FlatCap</enum>
</property>
<property name="penWidth" stdset="0">
<double>2</double>
</property>
<property name="penStyle" stdset="0">
<enum>Qt::SolidLine</enum>
</property>
<property name="penColor" stdset="0"/>
<property name="penCapStyle" stdset="0">
<enum>Qt::FlatCap</enum>
</property>
</widget>
</item>
<item row="17" column="45" rowspan="5" colspan="4">
<widget class="PyDMRelatedDisplayButton" name="related_display_1">
<property name="geometry">
<rect>
<x>279</x>
<y>152</y>
<width>40</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>More</string>
</property>
<property name="text">
<string>More</string>
</property>
<property name="showIcon" stdset="0">
<bool>false</bool>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">PyDMRelatedDisplayButton#related_display_1 {
color: rgb(255, 255, 255);
background-color: rgb(51, 153, 0);
}</string>
</property>
<property name="titles" stdset="0">
<stringlist>
<string>SGM {more}</string>
<string>Gratings</string>
<string>r motor {entrance slit}</string>
<string>x motor {grating drive}</string>
<string>r' motor {exit slit}</string>
<string>index motor {grating index}</string>
</stringlist>
</property>
<property name="filenames" stdset="0">
<stringlist>
<string>SGM.ui</string>
<string>SGM_gratings.ui</string>
<string>motorx_more.ui</string>
<string>motorx_more.ui</string>
<string>motorx_more.ui</string>
<string>motorx_more.ui</string>
</stringlist>
</property>
<property name="macros" stdset="0">
<stringlist>
<string>P=${P},N=${N},M_x=${M_x},M_rIn=${M_rIn},M_rOut=${M_rOut},M_g=${M_g}</string>
<string>P=${P},N=${N},M_x=${M_x},M_rIn=${M_rIn},M_rOut=${M_rOut},M_g=${M_g}</string>
<string>P=${P},M=${M_rIn}</string>
<string>P=${P},M=${M_x}</string>
<string>P=${P},M=${M_rOut}</string>
<string>P=${P},M=${M_g}</string>
</stringlist>
</property>
<property name="openInNewWindow" stdset="0">
<bool>false</bool>
</property>
</widget>
</item>
<item row="10" column="18" rowspan="3" colspan="16">
<widget class="PyDMDrawingRectangle" name="rectangle_1">
<property name="geometry">
<rect>
<x>110</x>
<y>107</y>
<width>100</width>
<height>32</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="brush" stdset="0">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="penStyle" stdset="0">
<enum>Qt::SolidLine</enum>
</property>
<property name="penColor" stdset="0">
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</property>
<property name="penWidth" stdset="0">
<double>0</double>
</property>
<property name="penCapStyle" stdset="0">
<enum>Qt::FlatCap</enum>
</property>
<property name="toolTip">
<string>rectangle_1</string>
</property>
</widget>
</item>
<item row="10" column="18" colspan="16">
<widget class="QLabel" name="text_10">
<property name="geometry">
<rect>
<x>110</x>
<y>107</y>
<width>100</width>
<height>10</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>SCAN CONTROL</string>
</property>
<property name="font">
<font>
<pointsize>6</pointsize>
</font>
</property>
<property name="brush" stdset="0">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>216</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="toolTip">
<string>text_10</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="styleSheet">
<string notr="true">QLabel#text_10 {
color: rgb(0, 216, 0);
}</string>
</property>
</widget>
</item>
<item row="11" column="29" colspan="4">
<widget class="PyDMPushButton" name="message_button_7">
<property name="geometry">
<rect>
<x>174</x>
<y>117</y>
<width>35</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Stop</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="toolTip">
<string>${P}AbortScans.VAL</string>
</property>
<property name="channel" stdset="0">
<string>ca://${P}AbortScans.VAL</string>
</property>
<property name="pressValue" stdset="0">
<string>1</string>
</property>
<property name="styleSheet">
<string notr="true">PyDMPushButton#message_button_7 {
color: rgb(251, 243, 74);
background-color: rgb(253, 0, 0);
}</string>
</property>
</widget>
</item>
<item row="11" column="26" colspan="2">
<widget class="PyDMPushButton" name="message_button_8">
<property name="geometry">
<rect>
<x>153</x>
<y>117</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Go</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="toolTip">
<string>${P}SGM${N}:Lambda:scanParms.GO</string>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:Lambda:scanParms.GO</string>
</property>
<property name="pressValue" stdset="0">
<string>1</string>
</property>
<property name="styleSheet">
<string notr="true">PyDMPushButton#message_button_8 {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
}</string>
</property>
</widget>
</item>
<item row="11" column="24">
<widget class="PyDMPushButton" name="message_button_9">
<property name="geometry">
<rect>
<x>132</x>
<y>117</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Ld</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="toolTip">
<string>${P}SGM${N}:Lambda:scanParms.LOAD</string>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:Lambda:scanParms.LOAD</string>
</property>
<property name="pressValue" stdset="0">
<string>1</string>
</property>
<property name="styleSheet">
<string notr="true">PyDMPushButton#message_button_9 {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
}</string>
</property>
</widget>
</item>
<item row="11" column="19" colspan="4">
<widget class="PyDMRelatedDisplayButton" name="related_display_2">
<property name="geometry">
<rect>
<x>111</x>
<y>117</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="showIcon" stdset="0">
<bool>true</bool>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">PyDMRelatedDisplayButton#related_display_2 {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
}</string>
</property>
<property name="titles" stdset="0">
<stringlist>
<string>Wavelength-scan parameters</string>
</stringlist>
</property>
<property name="filenames" stdset="0">
<stringlist>
<string>scanParms.ui</string>
</stringlist>
</property>
<property name="macros" stdset="0">
<stringlist>
<string>P=${P},Q=SGM${N}:Lambda,PV=SGM${N}:Lambda</string>
</stringlist>
</property>
<property name="openInNewWindow" stdset="0">
<bool>true</bool>
</property>
</widget>
</item>
<item row="8" column="31" colspan="3">
<widget class="PyDMPushButton" name="message_button_10">
<property name="geometry">
<rect>
<x>190</x>
<y>86</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>></string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="toolTip">
<string>${P}SGM${N}:LambdaTweak.A</string>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:LambdaTweak.A</string>
</property>
<property name="pressValue" stdset="0">
<string>1</string>
</property>
<property name="styleSheet">
<string notr="true">PyDMPushButton#message_button_10 {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
}</string>
</property>
</widget>
</item>
<item row="8" column="22" colspan="9">
<widget class="PyDMLineEdit" name="text_entry_1">
<property name="geometry">
<rect>
<x>130</x>
<y>86</y>
<width>60</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:LambdaTweak.C</string>
</property>
<property name="toolTip">
<string>${P}SGM${N}:LambdaTweak.C</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">PyDMLineEdit#text_entry_1 {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
border: 1px solid black;
margin: 0px;
padding: 0px;
spacing: 0px;
}</string>
</property>
</widget>
</item>
<item row="8" column="18" colspan="4">
<widget class="PyDMPushButton" name="message_button_11">
<property name="geometry">
<rect>
<x>110</x>
<y>86</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string><</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="toolTip">
<string>${P}SGM${N}:LambdaTweak.B</string>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:LambdaTweak.B</string>
</property>
<property name="pressValue" stdset="0">
<string>1</string>
</property>
<property name="styleSheet">
<string notr="true">PyDMPushButton#message_button_11 {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
}</string>
</property>
</widget>
</item>
<item row="10" column="35" rowspan="3" colspan="13">
<widget class="PyDMDrawingRectangle" name="rectangle_2">
<property name="geometry">
<rect>
<x>215</x>
<y>107</y>
<width>100</width>
<height>32</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="brush" stdset="0">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="penStyle" stdset="0">
<enum>Qt::SolidLine</enum>
</property>
<property name="penColor" stdset="0">
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</property>
<property name="penWidth" stdset="0">
<double>0</double>
</property>
<property name="penCapStyle" stdset="0">
<enum>Qt::FlatCap</enum>
</property>
<property name="toolTip">
<string>rectangle_2</string>
</property>
</widget>
</item>
<item row="10" column="35" colspan="13">
<widget class="QLabel" name="text_11">
<property name="geometry">
<rect>
<x>215</x>
<y>107</y>
<width>100</width>
<height>10</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>SCAN CONTROL</string>
</property>
<property name="font">
<font>
<pointsize>6</pointsize>
</font>
</property>
<property name="brush" stdset="0">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>216</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="toolTip">
<string>text_11</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="styleSheet">
<string notr="true">QLabel#text_11 {
color: rgb(0, 216, 0);
}</string>
</property>
</widget>
</item>
<item row="11" column="45" colspan="2">
<widget class="PyDMPushButton" name="message_button_12">
<property name="geometry">
<rect>
<x>279</x>
<y>117</y>
<width>35</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Stop</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="toolTip">
<string>${P}allstop.VAL</string>
</property>
<property name="channel" stdset="0">
<string>ca://${P}allstop.VAL</string>
</property>
<property name="pressValue" stdset="0">
<string>1</string>
</property>
<property name="styleSheet">
<string notr="true">PyDMPushButton#message_button_12 {
color: rgb(251, 243, 74);
background-color: rgb(253, 0, 0);
}</string>
</property>
</widget>
</item>
<item row="11" column="43">
<widget class="PyDMPushButton" name="message_button_13">
<property name="geometry">
<rect>
<x>258</x>
<y>117</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Go</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="toolTip">
<string>${P}SGM${N}:phi:scanParms.GO</string>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:phi:scanParms.GO</string>
</property>
<property name="pressValue" stdset="0">
<string>1</string>
</property>
<property name="styleSheet">
<string notr="true">PyDMPushButton#message_button_13 {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
}</string>
</property>
</widget>
</item>
<item row="11" column="39" colspan="3">
<widget class="PyDMPushButton" name="message_button_14">
<property name="geometry">
<rect>
<x>237</x>
<y>117</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Ld</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="toolTip">
<string>${P}SGM${N}:phi:scanParms.LOAD</string>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:phi:scanParms.LOAD</string>
</property>
<property name="pressValue" stdset="0">
<string>1</string>
</property>
<property name="styleSheet">
<string notr="true">PyDMPushButton#message_button_14 {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
}</string>
</property>
</widget>
</item>
<item row="11" column="36" colspan="2">
<widget class="PyDMRelatedDisplayButton" name="related_display_3">
<property name="geometry">
<rect>
<x>216</x>
<y>117</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="showIcon" stdset="0">
<bool>true</bool>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">PyDMRelatedDisplayButton#related_display_3 {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
}</string>
</property>
<property name="titles" stdset="0">
<stringlist>
<string>Grating angle scan parameters</string>
</stringlist>
</property>
<property name="filenames" stdset="0">
<stringlist>
<string>scanParms.ui</string>
</stringlist>
</property>
<property name="macros" stdset="0">
<stringlist>
<string>P=${P},Q=SGM${N}:phi,PV=SGM${N}:phi</string>
</stringlist>
</property>
<property name="openInNewWindow" stdset="0">
<bool>true</bool>
</property>
</widget>
</item>
<item row="8" column="46" colspan="2">
<widget class="PyDMPushButton" name="message_button_15">
<property name="geometry">
<rect>
<x>295</x>
<y>86</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>></string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="toolTip">
<string>${P}SGM${N}:phiTweak.A</string>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:phiTweak.A</string>
</property>
<property name="pressValue" stdset="0">
<string>1</string>
</property>
<property name="styleSheet">
<string notr="true">PyDMPushButton#message_button_15 {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
}</string>
</property>
</widget>
</item>
<item row="8" column="37" colspan="9">
<widget class="PyDMLineEdit" name="text_entry_2">
<property name="geometry">
<rect>
<x>235</x>
<y>86</y>
<width>60</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:phiTweak.C</string>
</property>
<property name="toolTip">
<string>${P}SGM${N}:phiTweak.C</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">PyDMLineEdit#text_entry_2 {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
border: 1px solid black;
margin: 0px;
padding: 0px;
spacing: 0px;
}</string>
</property>
</widget>
</item>
<item row="8" column="35" colspan="2">
<widget class="PyDMPushButton" name="message_button_16">
<property name="geometry">
<rect>
<x>215</x>
<y>86</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string><</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="toolTip">
<string>${P}SGM${N}:phiTweak.B</string>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:phiTweak.B</string>
</property>
<property name="pressValue" stdset="0">
<string>1</string>
</property>
<property name="styleSheet">
<string notr="true">PyDMPushButton#message_button_16 {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
}</string>
</property>
</widget>
</item>
<item row="16" column="30" rowspan="2" colspan="2">
<widget class="QLabel" name="text_12">
<property name="geometry">
<rect>
<x>175</x>
<y>144</y>
<width>25</width>
<height>10</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>EXIT</string>
</property>
<property name="font">
<font>
<pointsize>6</pointsize>
</font>
</property>
<property name="brush" stdset="0">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="toolTip">
<string>text_12</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="styleSheet">
<string notr="true">QLabel#text_12 {
color: rgb(0, 0, 0);
}</string>
</property>
</widget>
</item>
<item row="18" column="30" rowspan="2" colspan="2">
<widget class="QLabel" name="text_13">
<property name="geometry">
<rect>
<x>175</x>
<y>154</y>
<width>25</width>
<height>10</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>SLIT</string>
</property>
<property name="font">
<font>
<pointsize>6</pointsize>
</font>
</property>
<property name="brush" stdset="0">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="toolTip">
<string>text_13</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="styleSheet">
<string notr="true">QLabel#text_13 {
color: rgb(0, 0, 0);
}</string>
</property>
</widget>
</item>
<item row="16" column="2" rowspan="3" colspan="11">
<widget class="PyDMEnumComboBox" name="menu_1">
<property name="geometry">
<rect>
<x>2</x>
<y>144</y>
<width>75</width>
<height>16</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>${P}SGM${N}:auto</string>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:auto</string>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">PyDMEnumComboBox#menu_1 {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
}</string>
</property>
</widget>
</item>
<item row="5" column="3" rowspan="2" colspan="14">
<widget class="PyDMLabel" name="text_update">
<property name="geometry">
<rect>
<x>5</x>
<y>45</y>
<width>100</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>PV: ${P}SGM${N}:EnergyRBV</string>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:EnergyRBV</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="textInteractionFlags">
<set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
</property>
<property name="styleSheet">
<string notr="true">PyDMLabel#text_update {
color: rgb(10, 0, 184);
background-color: rgb(200, 200, 200);
}</string>
</property>
</widget>
</item>
<item row="6" column="3" rowspan="2" colspan="14">
<widget class="PyDMLineEdit" name="text_entry_3">
<property name="geometry">
<rect>
<x>5</x>
<y>61</y>
<width>100</width>
<height>25</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:Energy</string>
</property>
<property name="toolTip">
<string>${P}SGM${N}:Energy</string>
</property>
<property name="font">
<font>
<pointsize>15</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">PyDMLineEdit#text_entry_3 {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
border: 1px solid black;
margin: 0px;
padding: 0px;
spacing: 0px;
}</string>
</property>
</widget>
</item>
<item row="5" column="18" rowspan="2" colspan="16">
<widget class="PyDMLabel" name="text_update_1">
<property name="geometry">
<rect>
<x>110</x>
<y>45</y>
<width>100</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>PV: ${P}SGM${N}:LambdaRBV</string>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:LambdaRBV</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="textInteractionFlags">
<set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
</property>
<property name="styleSheet">
<string notr="true">PyDMLabel#text_update_1 {
color: rgb(10, 0, 184);
background-color: rgb(200, 200, 200);
}</string>
</property>
</widget>
</item>
<item row="6" column="18" rowspan="2" colspan="16">
<widget class="PyDMLineEdit" name="text_entry_4">
<property name="geometry">
<rect>
<x>110</x>
<y>61</y>
<width>100</width>
<height>25</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:Lambda</string>
</property>
<property name="toolTip">
<string>${P}SGM${N}:Lambda</string>
</property>
<property name="font">
<font>
<pointsize>15</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">PyDMLineEdit#text_entry_4 {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
border: 1px solid black;
margin: 0px;
padding: 0px;
spacing: 0px;
}</string>
</property>
</widget>
</item>
<item row="5" column="35" rowspan="2" colspan="13">
<widget class="PyDMLabel" name="text_update_2">
<property name="geometry">
<rect>
<x>215</x>
<y>45</y>
<width>100</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>PV: ${P}SGM${N}:phiRBV</string>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:phiRBV</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="textInteractionFlags">
<set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
</property>
<property name="styleSheet">
<string notr="true">PyDMLabel#text_update_2 {
color: rgb(10, 0, 184);
background-color: rgb(200, 200, 200);
}</string>
</property>
</widget>
</item>
<item row="6" column="35" rowspan="2" colspan="13">
<widget class="PyDMLineEdit" name="text_entry_5">
<property name="geometry">
<rect>
<x>215</x>
<y>61</y>
<width>100</width>
<height>25</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="channel" stdset="0">
<string>ca://${P}SGM${N}:phi</string>
</property>
<property name="toolTip">
<string>${P}SGM${N}:phi</string>
</property>
<property name="font">
<font>
<pointsize>15</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">PyDMLineEdit#text_entry_5 {
color: rgb(0, 0, 0);
background-color: rgb(115, 223, 255);
border: 1px solid black;
margin: 0px;
padding: 0px;
spacing: 0px;
}</string>
</property>
</widget>
</item>
<item row="0" column="0" rowspan="4" colspan="50">
<widget class="PyDMDrawingRectangle" name="rectangle_3">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>320</width>
<height>25</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="brush" stdset="0">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</property>
<property name="penStyle" stdset="0">
<enum>Qt::SolidLine</enum>
</property>
<property name="penColor" stdset="0">
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</property>
<property name="penWidth" stdset="0">
<double>0</double>
</property>
<property name="penCapStyle" stdset="0">
<enum>Qt::FlatCap</enum>
</property>
<property name="toolTip">
<string>rectangle_3</string>
</property>
</widget>
</item>
<item row="1" column="0" rowspan="2" colspan="50">
<widget class="QLabel" name="text_14">
<property name="geometry">
<rect>
<x>0</x>
<y>3</y>
<width>320</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Spherical Grating Monochromator</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="brush" stdset="0">
<brush brushstyle="NoBrush">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="toolTip">
<string>text_14</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="styleSheet">
<string notr="true">QLabel#text_14 {
color: rgb(0, 0, 0);
}</string>
</property>
</widget>
</item>
<item row="4" column="3" colspan="14">
<widget class="QLabel" name="text_15">
<property name="geometry">
<rect>
<x>5</x>
<y>25</y>
<width>100</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Energy{eV}</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="brush" stdset="0">
<brush brushstyle="NoBrush">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="toolTip">
<string>text_15</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="styleSheet">
<string notr="true">QLabel#text_15 {
color: rgb(0, 0, 0);
}</string>
</property>
</widget>
</item>
<item row="4" column="18" colspan="16">
<widget class="QLabel" name="text_16">
<property name="geometry">
<rect>
<x>110</x>
<y>25</y>
<width>100</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Wavelen{A}</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="brush" stdset="0">
<brush brushstyle="NoBrush">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="toolTip">
<string>text_16</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="styleSheet">
<string notr="true">QLabel#text_16 {
color: rgb(0, 0, 0);
}</string>
</property>
</widget>
</item>
<item row="4" column="35" colspan="13">
<widget class="QLabel" name="text_17">
<property name="geometry">
<rect>
<x>215</x>
<y>25</y>
<width>100</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Phi{deg}</string>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="brush" stdset="0">
<brush brushstyle="NoBrush">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="toolTip">
<string>text_17</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="styleSheet">
<string notr="true">QLabel#text_17 {
color: rgb(0, 0, 0);
}</string>
</property>
</widget>
</item>
<item row="2" column="0" rowspan="2" colspan="50">
<widget class="PyDMDrawingLine" name="polyline_1">
<property name="geometry">
<rect>
<x>0</x>
<y>22</y>
<width>321</width>
<height>3</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>polyline_1</string>
</property>
<property name="brush" stdset="0">
<brush brushstyle="NoBrush">
<color alpha="255">
<red>10</red>
<green>0</green>
<blue>184</blue>
</color>
</brush>
</property>
<property name="penStyle" stdset="0">
<enum>Qt::SolidLine</enum>
</property>
<property name="penColor" stdset="0">
<color>
<red>10</red>
<green>0</green>
<blue>184</blue>
</color>
</property>
<property name="penWidth" stdset="0">
<double>3.0</double>
</property>
<property name="penCapStyle" stdset="0">
<enum>Qt::FlatCap</enum>
</property>
<property name="penWidth" stdset="0">
<double>3</double>
</property>
<property name="penStyle" stdset="0">
<enum>Qt::SolidLine</enum>
</property>
<property name="penColor" stdset="0"/>
<property name="penCapStyle" stdset="0">
<enum>Qt::FlatCap</enum>
</property>
</widget>
</item>
<item row="20" column="30" rowspan="3" colspan="10">
<widget class="PyDMLabel" name="text_18">
<property name="geometry">
<rect>
<x>175</x>
<y>164</y>
<width>75</width>
<height>10</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>r' AT LIMIT</string>
</property>
<property name="font">
<font>
<pointsize>6</pointsize>
</font>
</property>
<property name="brush" stdset="0">
<brush brushstyle="NoBrush">
<color alpha="255">
<red>251</red>
<green>243</green>
<blue>74</blue>
</color>
</brush>
</property>
<property name="rules" stdset="0">
<string>[{"name": "visibility", "property": "Visible", "channels": [{"channel": "ca://${P}SGM${N}:T2.M", "trigger": true, "use_enum": false}], "expression": "ch[0]!=0"}]</string>
</property>
<property name="toolTip">
<string>text_18</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="styleSheet">
<string notr="true">PyDMLabel#text_18 {
color: rgb(251, 243, 74);
}</string>
</property>
</widget>
</item>
<item row="21" column="1" rowspan="2" colspan="4">
<widget class="QLabel" name="text_19">
<property name="geometry">
<rect>
<x>1</x>
<y>165</y>
<width>20</width>
<height>8</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>V1.4</string>
</property>
<property name="font">
<font>
<pointsize>6</pointsize>
</font>
</property>
<property name="brush" stdset="0">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="toolTip">
<string>text_19</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="styleSheet">
<string notr="true">QLabel#text_19 {
color: rgb(0, 0, 0);
}</string>
</property>
</widget>
</item>
</layout>
<zorder>text</zorder>
<zorder>text_1</zorder>
<zorder>text_2</zorder>
<zorder>text_3</zorder>
<zorder>text_4</zorder>
<zorder>text_5</zorder>
<zorder>text_6</zorder>
<zorder>text_7</zorder>
<zorder>text_8</zorder>
<zorder>menu</zorder>
<zorder>message_button</zorder>
<zorder>message_button_1</zorder>
<zorder>rectangle</zorder>
<zorder>text_9</zorder>
<zorder>message_button_2</zorder>
<zorder>message_button_3</zorder>
<zorder>message_button_4</zorder>
<zorder>related_display</zorder>
<zorder>message_button_5</zorder>
<zorder>text_entry</zorder>
<zorder>message_button_6</zorder>
<zorder>polyline</zorder>
<zorder>related_display_1</zorder>
<zorder>rectangle_1</zorder>
<zorder>text_10</zorder>
<zorder>message_button_7</zorder>
<zorder>message_button_8</zorder>
<zorder>message_button_9</zorder>
<zorder>related_display_2</zorder>
<zorder>message_button_10</zorder>
<zorder>text_entry_1</zorder>
<zorder>message_button_11</zorder>
<zorder>rectangle_2</zorder>
<zorder>text_11</zorder>
<zorder>message_button_12</zorder>
<zorder>message_button_13</zorder>
<zorder>message_button_14</zorder>
<zorder>related_display_3</zorder>
<zorder>message_button_15</zorder>
<zorder>text_entry_2</zorder>
<zorder>message_button_16</zorder>
<zorder>text_12</zorder>
<zorder>text_13</zorder>
<zorder>menu_1</zorder>
<zorder>text_update</zorder>
<zorder>text_entry_3</zorder>
<zorder>text_update_1</zorder>
<zorder>text_entry_4</zorder>
<zorder>text_update_2</zorder>
<zorder>text_entry_5</zorder>
<zorder>rectangle_3</zorder>
<zorder>text_14</zorder>
<zorder>text_15</zorder>
<zorder>text_16</zorder>
<zorder>text_17</zorder>
<zorder>polyline_1</zorder>
<zorder>text_18</zorder>
<zorder>text_19</zorder>
</widget>
<customwidgets>
<customwidget>
<class>PyDMLabel</class>
<extends>QLabel</extends>
<header>pydm.widgets.label</header>
</customwidget>
<customwidget>
<class>PyDMEnumComboBox</class>
<extends>QComboBox</extends>
<header>pydm.widgets.enum_combo_box</header>
</customwidget>
<customwidget>
<class>PyDMPushButton</class>
<extends>QPushButton</extends>
<header>pydm.widgets.pushbutton</header>
</customwidget>
<customwidget>
<class>PyDMDrawingRectangle</class>
<extends>QWidget</extends>
<header>pydm.widgets.drawing</header>
</customwidget>
<customwidget>
<class>PyDMRelatedDisplayButton</class>
<extends>QPushButton</extends>
<header>pydm.widgets.related_display_button</header>
</customwidget>
<customwidget>
<class>PyDMLineEdit</class>
<extends>QLineEdit</extends>
<header>pydm.widgets.line_edit</header>
</customwidget>
<customwidget>
<class>PyDMDrawingPolyline</class>
<extends>QWidget</extends>
<header>pydm.widgets.drawing</header>
</customwidget>
<customwidget>
<class>PyDMDrawingLine</class>
<extends>QWidget</extends>
<header>pydm.widgets.drawing</header>
</customwidget>
<customwidget>
<class>PyDMFrame</class>
<extends>QFrame</extends>
<header>pydm.widgets.frame</header>
</customwidget>
</customwidgets>
</ui>