chore: transfer feedback uis

This commit is contained in:
Benjamin Labrecque
2026-07-27 08:46:47 +02:00
parent ce1ff1148a
commit fb4ef10348
4 changed files with 591 additions and 206 deletions
-103
View File
@@ -1,103 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>600</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="caNumeric" name="canumeric">
<property name="geometry">
<rect>
<x>0</x>
<y>60</y>
<width>100</width>
<height>50</height>
</rect>
</property>
<property name="integerDigits" stdset="0">
<number>1</number>
</property>
<property name="decimalDigits" stdset="0">
<number>0</number>
</property>
<property name="channel" stdset="0">
<string>AGEBD-SHIFTTOOL-DEV:AO</string>
</property>
<property name="maxValue">
<double>9.000000000000000</double>
</property>
<property name="minValue">
<double>0.000000000000000</double>
</property>
</widget>
<widget class="caToggleButton" name="catogglebutton">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>601</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Toggle AGEBD-ALH-DEV:SHIFTTOOL-ONOFF</string>
</property>
<property name="channel" stdset="0">
<string>AGEBD-ALH-DEV:SHIFTTOOL-ONOFF</string>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>6</x>
<y>34</y>
<width>401</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>13</pointsize>
</font>
</property>
<property name="text">
<string>Value of AGEBD-SHIFTTOOL-DEV:AO</string>
</property>
</widget>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<customwidgets>
<customwidget>
<class>caNumeric</class>
<extends>QFrame</extends>
<header>caNumeric</header>
</customwidget>
<customwidget>
<class>caToggleButton</class>
<extends>QCheckBox</extends>
<header>caToggleButton</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
+412
View File
@@ -0,0 +1,412 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>600</width>
<height>570</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<property name="styleSheet">
<string notr="true">/*################################################*/
/*# Settings for new templates/forms #*/
/*################################################*/
QMainWindow#MainWindow, QWidget#Form, QDialog#Dialog{
background: rgba(236, 236, 236, 255);
}
QMainWindow#MainWindow[transparent=true], QWidget#Form[transparent=true], QDialog#Dialog[transparent=true]{
background: rgba(0, 0, 0, 0);
}
/*-----------------------------------------------*/
/* Title */
/*-----------------------------------------------*/
/* Operation panels */
caLabel[statusTip=&quot;Operation&quot;]{
color: rgba(0, 0, 0, 255);
font: bold 18pt;
font-family: Sans Serif;
padding: 1px;
margin: 0px;
qproperty-alignment: AlignLeft;
qproperty-frameShape: StyledPanel;
/*qproperty-geometry: rect(-2 0 1600 33);*/
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1,
stop:0 rgba(218, 218, 218, 255),
stop:0.5 rgba(200, 200, 200, 255),
stop:1 rgba(218, 218, 218, 255));
}
QGroupBox {
background: rgba(225,225,225,255);
border: 2px solid black;
border-radius: 5px;
margin-top: 1ex; /* leave space at the top for the title */
}</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="caLabel" name="calabel_54">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>697</width>
<height>27</height>
</rect>
</property>
<property name="statusTip">
<string>Operation</string>
</property>
<property name="text">
<string>Feedback / Feed Forward Overview</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading</set>
</property>
<property name="colorMode">
<enum>caLabel::Default</enum>
</property>
</widget>
<widget class="QTabWidget" name="tabWidget">
<property name="geometry">
<rect>
<x>-2</x>
<y>36</y>
<width>605</width>
<height>511</height>
</rect>
</property>
<property name="tabPosition">
<enum>QTabWidget::South</enum>
</property>
<property name="tabShape">
<enum>QTabWidget::Rounded</enum>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>Maschine</string>
</attribute>
<widget class="caInclude" name="cainclude_3">
<property name="geometry">
<rect>
<x>0</x>
<y>26</y>
<width>600</width>
<height>68</height>
</rect>
</property>
<property name="macro">
<string>name=Orbit Feedback,alive=ARSGE-CECL-FOFB1:FOFB-OPERATE,panelcmd=A_DI_FOFB_CECL_USER.ui;name=Hor. Tune Feedback,onoff=AGEBD-ALH:TUNEFBX-ONOFF,alive=AGEBD-ALH:TUNEFBX-ALIVE,panelcmd=A_BD_TuneBump.ui;name=Ver. Tune Feedback,onoff=AGEBD-ALH:TUNEFBY-ONOFF,alive=AGEBD-ALH:TUNEFBY-ALIVE,panelcmd=A_BD_TuneBump.ui</string>
</property>
<property name="filename" stdset="0">
<string notr="true">A_BD_FeedBackOverview_inc.ui</string>
</property>
<property name="numberOfItems" stdset="0">
<number>3</number>
</property>
<property name="adjustSizeToContents" stdset="0">
<bool>true</bool>
</property>
<property name="verticalSpacing" stdset="0">
<number>4</number>
</property>
</widget>
<widget class="caLabel" name="calabel_53">
<property name="geometry">
<rect>
<x>494</x>
<y>0</y>
<width>100</width>
<height>23</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Panel</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="caLabel" name="calabel_52">
<property name="geometry">
<rect>
<x>310</x>
<y>0</y>
<width>229</width>
<height>23</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Status</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="Line" name="line_18">
<property name="geometry">
<rect>
<x>300</x>
<y>0</y>
<width>20</width>
<height>26</height>
</rect>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
<widget class="Line" name="line_19">
<property name="geometry">
<rect>
<x>474</x>
<y>0</y>
<width>20</width>
<height>23</height>
</rect>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
<widget class="caLabel" name="calabel_51">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>303</width>
<height>23</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Maschine Feedback </string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="Line" name="line">
<property name="geometry">
<rect>
<x>2</x>
<y>16</y>
<width>800</width>
<height>16</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>Beamlines</string>
</attribute>
<widget class="caInclude" name="cainclude_2">
<property name="geometry">
<rect>
<x>0</x>
<y>26</y>
<width>600</width>
<height>212</height>
</rect>
</property>
<property name="macro">
<string>name=Orbit Feed Forward X02SA,onoff=X02SA-UIND:FF-ENABLE,alive=X02SA-CPCL-UIND:STATUS,panelcmd=X_ID_FF.ui,macro=DEVICE=X02SA-UIND;name=Orbit Feed Forward X04SA,onoff=X04SA-UIND:FF-ENABLE,alive=X04SA-CPCL-UIND:STATUS,panelcmd=X_ID_FF.ui,macro=DEVICE=X04SA-UIND;name=Orbit Feed Forward X06SA,onoff=X06SA-UIND:FF-ENABLE,alive=X06SA-CPCL-UIND:STATUS,panelcmd=X_ID_FF.ui,macro=DEVICE=X06SA-UIND;name=Orbit Feed Forward X07M,onoff=X07MA-UIND:FF-ENABLE,alive=X07MA-CPCL-UIND:STATUS,panelcmd=X_ID_FF.ui,macro=DEVICE=X07MA-UIND;name=Orbit Feed Forward X09LB,onoff=X09LB-UIND:FF-ENABLE,alive=X09LB-CPCL-UIND:STATUS,panelcmd=X_ID_FF.ui,macro=DEVICE=X09LB-UIND;name=Orbit Feed Forward X10SA,onoff=X10SA-UIND:FF-ENABLE,alive=X10SA-CPCL-UIND:STATUS,panelcmd=X_ID_FF.ui,macro=DEVICE=X10SA-UIND;name=Orbit Feed Forward X11MA-ID1,onoff=X11MA-UIND1:FF-ENABLE,alive=X11MA-CPCL-UIND:STATUS,panelcmd=X_ID_X11MA_FF.ui,macro=DEVICE=X11MA-UIND;name=Orbit Feed Forward X11MA-ID2,onoff=X11MA-UIND2:FF-ENABLE,alive=X11MA-CPCL-UIND:STATUS,panelcmd=X_ID_X11MA_FF.ui,macro=DEVICE=X11MA-UIND;name=Orbit Feed Forward X12SA,onoff=X12SA-UIND:FF-ENABLE,alive=X12SA-CPCL-UIND:STATUS,panelcmd=X_ID_FF.ui,macro=DEVICE=X12SA-UIND;</string>
</property>
<property name="filename" stdset="0">
<string notr="true">A_BD_FeedBackOverview_inc.ui</string>
</property>
<property name="numberOfItems" stdset="0">
<number>9</number>
</property>
<property name="adjustSizeToContents" stdset="0">
<bool>true</bool>
</property>
<property name="verticalSpacing" stdset="0">
<number>4</number>
</property>
</widget>
<widget class="Line" name="line_2">
<property name="geometry">
<rect>
<x>2</x>
<y>16</y>
<width>800</width>
<height>16</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="caLabel" name="calabel_55">
<property name="geometry">
<rect>
<x>310</x>
<y>0</y>
<width>229</width>
<height>23</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Status</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="Line" name="line_20">
<property name="geometry">
<rect>
<x>474</x>
<y>0</y>
<width>20</width>
<height>23</height>
</rect>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
<widget class="Line" name="line_21">
<property name="geometry">
<rect>
<x>300</x>
<y>0</y>
<width>20</width>
<height>26</height>
</rect>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
<widget class="caLabel" name="calabel_56">
<property name="geometry">
<rect>
<x>494</x>
<y>0</y>
<width>100</width>
<height>23</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Panel</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="caLabel" name="calabel_57">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>303</width>
<height>23</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Feed Forward</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</widget>
</widget>
</widget>
</widget>
<customwidgets>
<customwidget>
<class>caLabel</class>
<extends>QLabel</extends>
<header>caLabel</header>
</customwidget>
<customwidget>
<class>caInclude</class>
<extends>QWidget</extends>
<header>caInclude</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
+179
View File
@@ -0,0 +1,179 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>600</width>
<height>20</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="caLabel" name="calabel_47">
<property name="geometry">
<rect>
<x>10</x>
<y>0</y>
<width>281</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>$(name)</string>
</property>
<property name="textFormat">
<enum>Qt::MarkdownText</enum>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="Line" name="line_18">
<property name="geometry">
<rect>
<x>300</x>
<y>-2</y>
<width>20</width>
<height>23</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
<widget class="Line" name="line_19">
<property name="geometry">
<rect>
<x>474</x>
<y>0</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
<widget class="caRelatedDisplay" name="carelateddisplay_23">
<property name="geometry">
<rect>
<x>506</x>
<y>0</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="background">
<color>
<red>183</red>
<green>157</green>
<blue>92</blue>
</color>
</property>
<property name="labels">
<string>P</string>
</property>
<property name="files">
<string>$(panelcmd)</string>
</property>
<property name="args">
<string>$(macro)</string>
</property>
</widget>
<widget class="caLed" name="caled_55">
<property name="geometry">
<rect>
<x>442</x>
<y>0</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="sizeIncrement">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="rectangular">
<bool>true</bool>
</property>
<property name="gradientEnabled">
<bool>false</bool>
</property>
<property name="ledWidth">
<number>18</number>
</property>
<property name="ledHeight">
<number>18</number>
</property>
<property name="linearGradient">
<bool>true</bool>
</property>
<property name="scaleContents">
<bool>false</bool>
</property>
<property name="channel" stdset="0">
<string notr="true">$(alive)</string>
</property>
<property name="colorMode">
<enum>caLed::Alarm</enum>
</property>
</widget>
<widget class="caChoice" name="cachoice_18">
<property name="geometry">
<rect>
<x>322</x>
<y>0</y>
<width>100</width>
<height>20</height>
</rect>
</property>
<property name="channel" stdset="0">
<string notr="true">$(onoff)</string>
</property>
<property name="stackingMode" stdset="0">
<enum>caChoice::Column</enum>
</property>
<property name="endBit">
<number>1</number>
</property>
</widget>
</widget>
</widget>
<customwidgets>
<customwidget>
<class>caChoice</class>
<extends>QWidget</extends>
<header>caChoice</header>
</customwidget>
<customwidget>
<class>caRelatedDisplay</class>
<extends>QWidget</extends>
<header>caRelatedDisplay</header>
</customwidget>
<customwidget>
<class>caLabel</class>
<extends>QLabel</extends>
<header>caLabel</header>
</customwidget>
<customwidget>
<class>caLed</class>
<extends>QWidget</extends>
<header>caLed</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
-103
View File
@@ -1,103 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>600</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="caNumeric" name="canumeric">
<property name="geometry">
<rect>
<x>0</x>
<y>60</y>
<width>100</width>
<height>50</height>
</rect>
</property>
<property name="integerDigits" stdset="0">
<number>1</number>
</property>
<property name="decimalDigits" stdset="0">
<number>0</number>
</property>
<property name="channel" stdset="0">
<string>AGEBD-PLOTS-DEV:AO</string>
</property>
<property name="maxValue">
<double>9.000000000000000</double>
</property>
<property name="minValue">
<double>0.000000000000000</double>
</property>
</widget>
<widget class="caToggleButton" name="catogglebutton">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>601</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Toggle AGEBD-ALH-DEV:PLOTS-ONOFF</string>
</property>
<property name="channel" stdset="0">
<string>AGEBD-ALH-DEV:PLOTS-ONOFF</string>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>6</x>
<y>34</y>
<width>401</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>13</pointsize>
</font>
</property>
<property name="text">
<string>Value of AGEBD-PLOTS-DEV:AO</string>
</property>
</widget>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<customwidgets>
<customwidget>
<class>caNumeric</class>
<extends>QFrame</extends>
<header>caNumeric</header>
</customwidget>
<customwidget>
<class>caToggleButton</class>
<extends>QCheckBox</extends>
<header>caToggleButton</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>