add backlight

This commit is contained in:
2017-11-29 07:54:22 +01:00
parent 16e1bbb289
commit e8a65357b7
5 changed files with 77 additions and 15 deletions

View File

@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>776</width>
<height>298</height>
<height>342</height>
</rect>
</property>
<property name="windowTitle">
@@ -49,7 +49,7 @@
<x>20</x>
<y>70</y>
<width>725</width>
<height>168</height>
<height>192</height>
</rect>
</property>
<property name="macro">
@@ -60,13 +60,14 @@ P=$(P),M=MOTOR_ROT_Y;
P=$(P),M=MOTOR_FX;
P=$(P),M=MOTOR_FY;
P=$(P),M=MOTOR_CAMX;
P=$(P),M=MOTOR_CAMY</string>
P=$(P),M=MOTOR_CAMY;
P=$(P),M=MOTOR_BLGT</string>
</property>
<property name="filename" stdset="0">
<string notr="true">ESB_MX_motor.ui</string>
</property>
<property name="numberOfItems" stdset="0">
<number>7</number>
<number>8</number>
</property>
</widget>
<widget class="QWidget" name="horizontalLayoutWidget">
@@ -221,7 +222,7 @@ P=$(P),M=MOTOR_CAMY</string>
<property name="geometry">
<rect>
<x>620</x>
<y>250</y>
<y>300</y>
<width>121</width>
<height>24</height>
</rect>
@@ -246,6 +247,47 @@ P=$(P),M=MOTOR_CAMY</string>
<string>P=SARES30-ESBMX</string>
</property>
</widget>
<widget class="caToggleButton" name="catogglebutton">
<property name="geometry">
<rect>
<x>460</x>
<y>300</y>
<width>100</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Backlight</string>
</property>
<property name="channel" stdset="0">
<string notr="true">$(P):MOTOR_BLGT</string>
</property>
<property name="trueValue">
<string>28000</string>
</property>
<property name="falseValue">
<string>-2000</string>
</property>
</widget>
<widget class="caMessageButton" name="camessagebutton_2">
<property name="geometry">
<rect>
<x>110</x>
<y>300</y>
<width>100</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Home BkLight</string>
</property>
<property name="channel" stdset="0">
<string notr="true">$(P):MOTOR_BLGT.HOMF</string>
</property>
<property name="pressMessage">
<string notr="true">1</string>
</property>
</widget>
</widget>
<customwidgets>
<customwidget>
@@ -258,6 +300,11 @@ P=$(P),M=MOTOR_CAMY</string>
<extends>QPushButton</extends>
<header>caMessageButton</header>
</customwidget>
<customwidget>
<class>caToggleButton</class>
<extends>QCheckBox</extends>
<header>caToggleButton</header>
</customwidget>
<customwidget>
<class>caLabel</class>
<extends>QLabel</extends>