199 lines
4.7 KiB
Plaintext
199 lines
4.7 KiB
Plaintext
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
|
<ui version="4.0">
|
||
|
|
<class>MainWindow</class>
|
||
|
|
<widget class="QWidget" name="MainWindow">
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>0</x>
|
||
|
|
<y>0</y>
|
||
|
|
<width>1000</width>
|
||
|
|
<height>815</height>
|
||
|
|
</rect>
|
||
|
|
</property>
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>1000</width>
|
||
|
|
<height>815</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="maximumSize">
|
||
|
|
<size>
|
||
|
|
<width>1000</width>
|
||
|
|
<height>815</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="windowTitle">
|
||
|
|
<string>MainWindow</string>
|
||
|
|
</property>
|
||
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||
|
|
<item>
|
||
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
|
|
<item>
|
||
|
|
<widget class="QLabel" name="label">
|
||
|
|
<property name="text">
|
||
|
|
<string>串口号:</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QComboBox" name="comBox">
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>120</width>
|
||
|
|
<height>40</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="maximumSize">
|
||
|
|
<size>
|
||
|
|
<width>120</width>
|
||
|
|
<height>40</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QLabel" name="label_2">
|
||
|
|
<property name="text">
|
||
|
|
<string>波特率:</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QComboBox" name="BTBox">
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>120</width>
|
||
|
|
<height>40</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="maximumSize">
|
||
|
|
<size>
|
||
|
|
<width>120</width>
|
||
|
|
<height>40</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QLabel" name="label_3">
|
||
|
|
<property name="text">
|
||
|
|
<string>股道名:</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QLineEdit" name="truckEdit">
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>120</width>
|
||
|
|
<height>40</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="maximumSize">
|
||
|
|
<size>
|
||
|
|
<width>120</width>
|
||
|
|
<height>40</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<spacer name="horizontalSpacer">
|
||
|
|
<property name="orientation">
|
||
|
|
<enum>Qt::Horizontal</enum>
|
||
|
|
</property>
|
||
|
|
<property name="sizeType">
|
||
|
|
<enum>QSizePolicy::Maximum</enum>
|
||
|
|
</property>
|
||
|
|
<property name="sizeHint" stdset="0">
|
||
|
|
<size>
|
||
|
|
<width>40</width>
|
||
|
|
<height>20</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
</spacer>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QPushButton" name="openComButton">
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>120</width>
|
||
|
|
<height>50</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="maximumSize">
|
||
|
|
<size>
|
||
|
|
<width>120</width>
|
||
|
|
<height>50</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>打开串口</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<spacer name="horizontalSpacer_2">
|
||
|
|
<property name="orientation">
|
||
|
|
<enum>Qt::Horizontal</enum>
|
||
|
|
</property>
|
||
|
|
<property name="sizeType">
|
||
|
|
<enum>QSizePolicy::Minimum</enum>
|
||
|
|
</property>
|
||
|
|
<property name="sizeHint" stdset="0">
|
||
|
|
<size>
|
||
|
|
<width>20</width>
|
||
|
|
<height>20</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
</spacer>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||
|
|
<item>
|
||
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||
|
|
<item>
|
||
|
|
<widget class="QLabel" name="label_4">
|
||
|
|
<property name="text">
|
||
|
|
<string>识别结果:</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QTableView" name="resultTable"/>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||
|
|
<item>
|
||
|
|
<widget class="QLabel" name="label_5">
|
||
|
|
<property name="text">
|
||
|
|
<string>日志:</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QTextBrowser" name="textBrowser">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<family>Arial</family>
|
||
|
|
<pointsize>11</pointsize>
|
||
|
|
<weight>50</weight>
|
||
|
|
<bold>false</bold>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
<resources/>
|
||
|
|
<connections/>
|
||
|
|
</ui>
|