625 lines
15 KiB
XML
625 lines
15 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<ui version="4.0">
|
||
<class>Widget</class>
|
||
<widget class="QWidget" name="Widget">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>800</width>
|
||
<height>600</height>
|
||
</rect>
|
||
</property>
|
||
<property name="windowTitle">
|
||
<string>Widget</string>
|
||
</property>
|
||
<widget class="QTabWidget" name="tabWidget">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>801</width>
|
||
<height>601</height>
|
||
</rect>
|
||
</property>
|
||
<property name="currentIndex">
|
||
<number>1</number>
|
||
</property>
|
||
<widget class="QWidget" name="tab">
|
||
<attribute name="title">
|
||
<string>Tab 1</string>
|
||
</attribute>
|
||
<widget class="QPushButton" name="pushButtonStart">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>100</x>
|
||
<y>130</y>
|
||
<width>201</width>
|
||
<height>61</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>开始</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QPushButton" name="pushButton_2">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>400</x>
|
||
<y>120</y>
|
||
<width>181</width>
|
||
<height>71</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>保存图片</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QPushButton" name="btn_goto_sort">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>120</x>
|
||
<y>290</y>
|
||
<width>121</width>
|
||
<height>61</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>停止</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QPushButton" name="btn_0to3">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>410</x>
|
||
<y>290</y>
|
||
<width>141</width>
|
||
<height>61</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>喷阀测试</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QGroupBox" name="groupBox">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>160</x>
|
||
<y>390</y>
|
||
<width>401</width>
|
||
<height>131</height>
|
||
</rect>
|
||
</property>
|
||
<property name="title">
|
||
<string>连接状态:</string>
|
||
</property>
|
||
<widget class="QLabel" name="label">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>40</x>
|
||
<y>70</y>
|
||
<width>41</width>
|
||
<height>16</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>下位机</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="lab_lowermachine_isconnect">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>90</x>
|
||
<y>60</y>
|
||
<width>31</width>
|
||
<height>31</height>
|
||
</rect>
|
||
</property>
|
||
<property name="palette">
|
||
<palette>
|
||
<active>
|
||
<colorrole role="Button">
|
||
<brush brushstyle="SolidPattern">
|
||
<color alpha="255">
|
||
<red>237</red>
|
||
<green>212</green>
|
||
<blue>0</blue>
|
||
</color>
|
||
</brush>
|
||
</colorrole>
|
||
<colorrole role="Base">
|
||
<brush brushstyle="SolidPattern">
|
||
<color alpha="255">
|
||
<red>237</red>
|
||
<green>212</green>
|
||
<blue>0</blue>
|
||
</color>
|
||
</brush>
|
||
</colorrole>
|
||
<colorrole role="Window">
|
||
<brush brushstyle="SolidPattern">
|
||
<color alpha="255">
|
||
<red>237</red>
|
||
<green>212</green>
|
||
<blue>0</blue>
|
||
</color>
|
||
</brush>
|
||
</colorrole>
|
||
<colorrole role="AlternateBase">
|
||
<brush brushstyle="SolidPattern">
|
||
<color alpha="255">
|
||
<red>246</red>
|
||
<green>233</green>
|
||
<blue>127</blue>
|
||
</color>
|
||
</brush>
|
||
</colorrole>
|
||
</active>
|
||
<inactive>
|
||
<colorrole role="Button">
|
||
<brush brushstyle="SolidPattern">
|
||
<color alpha="255">
|
||
<red>237</red>
|
||
<green>212</green>
|
||
<blue>0</blue>
|
||
</color>
|
||
</brush>
|
||
</colorrole>
|
||
<colorrole role="Base">
|
||
<brush brushstyle="SolidPattern">
|
||
<color alpha="255">
|
||
<red>237</red>
|
||
<green>212</green>
|
||
<blue>0</blue>
|
||
</color>
|
||
</brush>
|
||
</colorrole>
|
||
<colorrole role="Window">
|
||
<brush brushstyle="SolidPattern">
|
||
<color alpha="255">
|
||
<red>237</red>
|
||
<green>212</green>
|
||
<blue>0</blue>
|
||
</color>
|
||
</brush>
|
||
</colorrole>
|
||
<colorrole role="AlternateBase">
|
||
<brush brushstyle="SolidPattern">
|
||
<color alpha="255">
|
||
<red>246</red>
|
||
<green>233</green>
|
||
<blue>127</blue>
|
||
</color>
|
||
</brush>
|
||
</colorrole>
|
||
</inactive>
|
||
<disabled>
|
||
<colorrole role="Button">
|
||
<brush brushstyle="SolidPattern">
|
||
<color alpha="255">
|
||
<red>237</red>
|
||
<green>212</green>
|
||
<blue>0</blue>
|
||
</color>
|
||
</brush>
|
||
</colorrole>
|
||
<colorrole role="Base">
|
||
<brush brushstyle="SolidPattern">
|
||
<color alpha="255">
|
||
<red>237</red>
|
||
<green>212</green>
|
||
<blue>0</blue>
|
||
</color>
|
||
</brush>
|
||
</colorrole>
|
||
<colorrole role="Window">
|
||
<brush brushstyle="SolidPattern">
|
||
<color alpha="255">
|
||
<red>237</red>
|
||
<green>212</green>
|
||
<blue>0</blue>
|
||
</color>
|
||
</brush>
|
||
</colorrole>
|
||
<colorrole role="AlternateBase">
|
||
<brush brushstyle="SolidPattern">
|
||
<color alpha="255">
|
||
<red>246</red>
|
||
<green>233</green>
|
||
<blue>127</blue>
|
||
</color>
|
||
</brush>
|
||
</colorrole>
|
||
</disabled>
|
||
</palette>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
</widget>
|
||
<widget class="QPushButton" name="btn_reconnect">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>590</x>
|
||
<y>440</y>
|
||
<width>101</width>
|
||
<height>41</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>重新连接</string>
|
||
</property>
|
||
</widget>
|
||
</widget>
|
||
<widget class="QWidget" name="tab_2">
|
||
<attribute name="title">
|
||
<string>Tab 2</string>
|
||
</attribute>
|
||
<widget class="QLabel" name="lab_info">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>20</x>
|
||
<y>50</y>
|
||
<width>151</width>
|
||
<height>81</height>
|
||
</rect>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>28</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="text">
|
||
<string>准备中</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QPushButton" name="pushButton">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>20</x>
|
||
<y>130</y>
|
||
<width>101</width>
|
||
<height>41</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>开始分选</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QPushButton" name="btn_stop">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>20</x>
|
||
<y>190</y>
|
||
<width>101</width>
|
||
<height>41</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>停止分选</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="camera_1_img">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>160</x>
|
||
<y>290</y>
|
||
<width>591</width>
|
||
<height>191</height>
|
||
</rect>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">background-color: rgb(129, 129, 129);
|
||
border: 4px solid black;</string>
|
||
</property>
|
||
<property name="lineWidth">
|
||
<number>1</number>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="label_2">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>160</x>
|
||
<y>270</y>
|
||
<width>141</width>
|
||
<height>16</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>相机1(高侧/气罐侧)</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="label_3">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>160</x>
|
||
<y>20</y>
|
||
<width>141</width>
|
||
<height>16</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>相机0(低侧/出风口侧)</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="camera_0_img">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>160</x>
|
||
<y>50</y>
|
||
<width>591</width>
|
||
<height>191</height>
|
||
</rect>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">background-color: rgb(129, 129, 129);
|
||
border: 4px solid black;</string>
|
||
</property>
|
||
<property name="lineWidth">
|
||
<number>1</number>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
</widget>
|
||
<widget class="QWidget" name="tab_3">
|
||
<attribute name="title">
|
||
<string>Tab 3</string>
|
||
</attribute>
|
||
<widget class="QLabel" name="label_title_3">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>10</y>
|
||
<width>171</width>
|
||
<height>41</height>
|
||
</rect>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>20</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="text">
|
||
<string>参数设置界面</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QGroupBox" name="groupBox_4">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>10</x>
|
||
<y>60</y>
|
||
<width>341</width>
|
||
<height>191</height>
|
||
</rect>
|
||
</property>
|
||
<property name="title">
|
||
<string>下位机参数</string>
|
||
</property>
|
||
<widget class="QLabel" name="label_delaytime">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>40</x>
|
||
<y>40</y>
|
||
<width>53</width>
|
||
<height>15</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>延迟时间</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="label_encoder">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>40</x>
|
||
<y>80</y>
|
||
<width>81</width>
|
||
<height>16</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>相机分频系数</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="label_encoder_2">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>40</x>
|
||
<y>120</y>
|
||
<width>71</width>
|
||
<height>16</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>喷阀分频系数</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QSpinBox" name="spinbox_delaytime">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>120</x>
|
||
<y>40</y>
|
||
<width>81</width>
|
||
<height>22</height>
|
||
</rect>
|
||
</property>
|
||
</widget>
|
||
<widget class="QSpinBox" name="spinbox_encoder">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>120</x>
|
||
<y>80</y>
|
||
<width>81</width>
|
||
<height>22</height>
|
||
</rect>
|
||
</property>
|
||
</widget>
|
||
<widget class="QSpinBox" name="spinbox_valve">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>120</x>
|
||
<y>120</y>
|
||
<width>81</width>
|
||
<height>22</height>
|
||
</rect>
|
||
</property>
|
||
</widget>
|
||
<widget class="QPushButton" name="btn_set_lower">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>250</x>
|
||
<y>160</y>
|
||
<width>61</width>
|
||
<height>23</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>确定</string>
|
||
</property>
|
||
</widget>
|
||
</widget>
|
||
<widget class="QPushButton" name="btn_exit">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>660</x>
|
||
<y>490</y>
|
||
<width>75</width>
|
||
<height>23</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>关机</string>
|
||
</property>
|
||
</widget>
|
||
</widget>
|
||
<widget class="QWidget" name="tab_4">
|
||
<attribute name="title">
|
||
<string>Tab 4</string>
|
||
</attribute>
|
||
<widget class="QLabel" name="label_title_4">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>50</x>
|
||
<y>30</y>
|
||
<width>91</width>
|
||
<height>21</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>喷阀测试界面</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QGroupBox" name="groupBox_2">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>110</x>
|
||
<y>120</y>
|
||
<width>331</width>
|
||
<height>91</height>
|
||
</rect>
|
||
</property>
|
||
<property name="title">
|
||
<string>手动喷阀测试</string>
|
||
</property>
|
||
<widget class="QLabel" name="label_explosure_2">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>30</x>
|
||
<y>40</y>
|
||
<width>31</width>
|
||
<height>16</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>通道</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QSpinBox" name="spinBox_channel">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>60</x>
|
||
<y>40</y>
|
||
<width>42</width>
|
||
<height>22</height>
|
||
</rect>
|
||
</property>
|
||
</widget>
|
||
<widget class="QPushButton" name="btn_send_single">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>150</x>
|
||
<y>40</y>
|
||
<width>75</width>
|
||
<height>23</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>测试</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QPushButton" name="btn_stop_single">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>240</x>
|
||
<y>40</y>
|
||
<width>75</width>
|
||
<height>23</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>停止测试</string>
|
||
</property>
|
||
</widget>
|
||
</widget>
|
||
<widget class="QGroupBox" name="groupBox_3">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>110</x>
|
||
<y>270</y>
|
||
<width>331</width>
|
||
<height>91</height>
|
||
</rect>
|
||
</property>
|
||
<property name="title">
|
||
<string>自动喷阀测试</string>
|
||
</property>
|
||
<widget class="QPushButton" name="btn_test_single">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>60</x>
|
||
<y>40</y>
|
||
<width>75</width>
|
||
<height>23</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>开始测试</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QPushButton" name="btn_stop_test">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>210</x>
|
||
<y>40</y>
|
||
<width>75</width>
|
||
<height>23</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>停止测试</string>
|
||
</property>
|
||
</widget>
|
||
</widget>
|
||
</widget>
|
||
</widget>
|
||
</widget>
|
||
<resources/>
|
||
<connections/>
|
||
</ui>
|