616 lines
18 KiB
XML
616 lines
18 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>
|
||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
<item>
|
||
<widget class="QTabWidget" name="tabWidget">
|
||
<property name="currentIndex">
|
||
<number>1</number>
|
||
</property>
|
||
<widget class="QWidget" name="tab">
|
||
<attribute name="title">
|
||
<string>Tab 1</string>
|
||
</attribute>
|
||
<layout class="QVBoxLayout" name="verticalLayout" stretch="5,1">
|
||
<item>
|
||
<widget class="QGroupBox" name="groupBox_5">
|
||
<property name="title">
|
||
<string>GroupBox</string>
|
||
</property>
|
||
<layout class="QGridLayout" name="gridLayout">
|
||
<item row="1" column="1">
|
||
<widget class="QPushButton" name="pushButton_2">
|
||
<property name="text">
|
||
<string>保存图片</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="0">
|
||
<widget class="QPushButton" name="btn_goto_sort">
|
||
<property name="text">
|
||
<string>停止</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="1">
|
||
<widget class="QPushButton" name="btn_0to3">
|
||
<property name="text">
|
||
<string>喷阀测试</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="0">
|
||
<widget class="QPushButton" name="pushButtonStart">
|
||
<property name="text">
|
||
<string>开始</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QGroupBox" name="groupBox">
|
||
<property name="title">
|
||
<string>连接状态:</string>
|
||
</property>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||
<property name="sizeConstraint">
|
||
<enum>QLayout::SizeConstraint::SetDefaultConstraint</enum>
|
||
</property>
|
||
<item>
|
||
<widget class="QLabel" name="label">
|
||
<property name="text">
|
||
<string>下位机</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="lab_lowermachine_isconnect">
|
||
<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>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="btn_reconnect">
|
||
<property name="text">
|
||
<string>重新连接</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<widget class="QWidget" name="tab_2">
|
||
<attribute name="title">
|
||
<string>Tab 2</string>
|
||
</attribute>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_3" stretch="3,10">
|
||
<item>
|
||
<widget class="QGroupBox" name="groupBox_7">
|
||
<property name="title">
|
||
<string>控制及状态</string>
|
||
</property>
|
||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||
<property name="spacing">
|
||
<number>20</number>
|
||
</property>
|
||
<property name="leftMargin">
|
||
<number>9</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>9</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>9</number>
|
||
</property>
|
||
<item>
|
||
<widget class="QLabel" name="lab_info">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>28</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="text">
|
||
<string>状态</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="btn_start">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>70</width>
|
||
<height>70</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>开始分选</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="btn_stop">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>70</width>
|
||
<height>70</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>停止分选</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<spacer name="verticalSpacer">
|
||
<property name="orientation">
|
||
<enum>Qt::Orientation::Vertical</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>20</width>
|
||
<height>40</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QGroupBox" name="groupBox_6">
|
||
<property name="title">
|
||
<string>相机显示</string>
|
||
</property>
|
||
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="0,5,0,5">
|
||
<item>
|
||
<widget class="QLabel" name="label_3">
|
||
<property name="text">
|
||
<string>相机0(低侧/出风口侧)</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="camera_0_img">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</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>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_2">
|
||
<property name="text">
|
||
<string>相机1(高侧/气罐侧)</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="camera_1_img">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</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>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</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>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<resources/>
|
||
<connections/>
|
||
</ui>
|