2025-03-14 16:15:51 +08:00

991 lines
34 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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>1280</width>
<height>777</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QHBoxLayout" name="horizontalLayout" stretch="25,75">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QFrame" name="frame">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<property name="lineWidth">
<number>2</number>
</property>
<layout class="QVBoxLayout" name="verticalLayout" stretch="0,6,1">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>串口通道</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_7" stretch="8,0">
<item>
<widget class="QTableWidget" name="tableWidgetSerChannel">
<attribute name="horizontalHeaderCascadingSectionResizes">
<bool>false</bool>
</attribute>
<attribute name="horizontalHeaderDefaultSectionSize">
<number>70</number>
</attribute>
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
</attribute>
<column>
<property name="text">
<string>选择</string>
</property>
</column>
<column>
<property name="text">
<string>串口</string>
</property>
</column>
<column>
<property name="text">
<string>标记</string>
</property>
</column>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_7">
<property name="title">
<string/>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="pushButtonSerAll">
<property name="text">
<string>全选</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonSerNo">
<property name="text">
<string>反选</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonSerClear">
<property name="text">
<string>清空</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>网络通道</string>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>数据通道</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3"/>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QFrame" name="frame_2">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>3</number>
</property>
<property name="leftMargin">
<number>3</number>
</property>
<property name="topMargin">
<number>3</number>
</property>
<property name="rightMargin">
<number>3</number>
</property>
<property name="bottomMargin">
<number>3</number>
</property>
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>1</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>数据显示</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="8">
<item>
<widget class="QFrame" name="frame_3">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout_8">
<item>
<widget class="QTableWidget" name="tableWidget">
<property name="gridStyle">
<enum>Qt::SolidLine</enum>
</property>
<property name="rowCount">
<number>10</number>
</property>
<property name="columnCount">
<number>6</number>
</property>
<attribute name="horizontalHeaderCascadingSectionResizes">
<bool>false</bool>
</attribute>
<attribute name="horizontalHeaderMinimumSectionSize">
<number>20</number>
</attribute>
<attribute name="horizontalHeaderDefaultSectionSize">
<number>50</number>
</attribute>
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
<bool>true</bool>
</attribute>
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
</attribute>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
<attribute name="verticalHeaderCascadingSectionResizes">
<bool>false</bool>
</attribute>
<attribute name="verticalHeaderDefaultSectionSize">
<number>25</number>
</attribute>
<row/>
<row/>
<row/>
<row/>
<row/>
<row/>
<row/>
<row/>
<row/>
<row/>
<column>
<property name="text">
<string>select</string>
</property>
<property name="background">
<color>
<red>172</red>
<green>172</green>
<blue>172</blue>
</color>
</property>
</column>
<column>
<property name="text">
<string>start</string>
</property>
<property name="background">
<color>
<red>172</red>
<green>172</green>
<blue>172</blue>
</color>
</property>
</column>
<column>
<property name="text">
<string>num</string>
</property>
<property name="background">
<color>
<red>172</red>
<green>172</green>
<blue>172</blue>
</color>
</property>
</column>
<column>
<property name="text">
<string>scale</string>
</property>
</column>
<column>
<property name="text">
<string>hex</string>
</property>
</column>
<column>
<property name="text">
<string>value</string>
</property>
<property name="background">
<color>
<red>172</red>
<green>172</green>
<blue>172</blue>
</color>
</property>
</column>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>参数配置</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_10" stretch="5,5">
<item>
<widget class="QGroupBox" name="groupBox_9">
<property name="toolTip">
<string/>
</property>
<property name="inputMethodHints">
<set>Qt::ImhNone</set>
</property>
<property name="title">
<string>系统标定</string>
</property>
<widget class="QGroupBox" name="groupBox_11">
<property name="geometry">
<rect>
<x>10</x>
<y>22</y>
<width>476</width>
<height>50</height>
</rect>
</property>
<property name="title">
<string/>
</property>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>95</width>
<height>22</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font: 14pt &quot;3ds&quot;;</string>
</property>
<property name="text">
<string>温度标定:</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEditTempra">
<property name="geometry">
<rect>
<x>170</x>
<y>10</y>
<width>100</width>
<height>28</height>
</rect>
</property>
<property name="toolTip">
<string>输入当前环境温度</string>
</property>
<property name="styleSheet">
<string notr="true">font: 14pt &quot;3ds&quot;;</string>
</property>
<property name="inputMethodHints">
<set>Qt::ImhNone</set>
</property>
</widget>
<widget class="QPushButton" name="pushButtonCalibTempra">
<property name="geometry">
<rect>
<x>280</x>
<y>10</y>
<width>90</width>
<height>30</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font: 14pt &quot;3ds&quot;;</string>
</property>
<property name="text">
<string>开始标定</string>
</property>
</widget>
<widget class="QPushButton" name="pushButtonCheckTempra">
<property name="geometry">
<rect>
<x>380</x>
<y>10</y>
<width>90</width>
<height>30</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font: 14pt &quot;3ds&quot;;</string>
</property>
<property name="text">
<string>查询</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_12">
<property name="geometry">
<rect>
<x>10</x>
<y>80</y>
<width>476</width>
<height>91</height>
</rect>
</property>
<property name="title">
<string/>
</property>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>152</width>
<height>22</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font: 14pt &quot;3ds&quot;;</string>
</property>
<property name="text">
<string>激光工作点标定:</string>
</property>
</widget>
<widget class="QPushButton" name="pushButtonCalibLaserTemp">
<property name="geometry">
<rect>
<x>170</x>
<y>10</y>
<width>90</width>
<height>30</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font: 14pt &quot;3ds&quot;;</string>
</property>
<property name="text">
<string>开始标定</string>
</property>
</widget>
<widget class="QPushButton" name="pushButtonCheckLaserTempra">
<property name="geometry">
<rect>
<x>280</x>
<y>10</y>
<width>90</width>
<height>30</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font: 14pt &quot;3ds&quot;;</string>
</property>
<property name="text">
<string>查询</string>
</property>
</widget>
<widget class="QPushButton" name="pushButtonCalibLaserStop">
<property name="geometry">
<rect>
<x>380</x>
<y>10</y>
<width>90</width>
<height>30</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font: 14pt &quot;3ds&quot;;</string>
</property>
<property name="text">
<string>停止标定</string>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>152</width>
<height>22</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font: 14pt &quot;3ds&quot;;</string>
</property>
<property name="text">
<string>起始温度修改:</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEditTempraLaserStart">
<property name="geometry">
<rect>
<x>170</x>
<y>50</y>
<width>100</width>
<height>29</height>
</rect>
</property>
<property name="toolTip">
<string>输入起始温度,从高往低寻找</string>
</property>
<property name="styleSheet">
<string notr="true">font: 14pt &quot;3ds&quot;;</string>
</property>
<property name="inputMethodHints">
<set>Qt::ImhNone</set>
</property>
</widget>
<widget class="QPushButton" name="pushButtonCheckTempraLaserStart">
<property name="geometry">
<rect>
<x>280</x>
<y>50</y>
<width>90</width>
<height>30</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font: 14pt &quot;3ds&quot;;</string>
</property>
<property name="text">
<string>查询</string>
</property>
</widget>
<widget class="QPushButton" name="pushButtonCalibTempraLaserStart">
<property name="geometry">
<rect>
<x>380</x>
<y>50</y>
<width>90</width>
<height>30</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font: 14pt &quot;3ds&quot;;</string>
</property>
<property name="text">
<string>修改</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_14">
<property name="geometry">
<rect>
<x>10</x>
<y>190</y>
<width>476</width>
<height>50</height>
</rect>
</property>
<property name="title">
<string/>
</property>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>95</width>
<height>22</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font: 14pt &quot;3ds&quot;;</string>
</property>
<property name="text">
<string>浓度标定:</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEditConcen">
<property name="geometry">
<rect>
<x>170</x>
<y>10</y>
<width>100</width>
<height>28</height>
</rect>
</property>
<property name="toolTip">
<string>输入标准浓度PPM</string>
</property>
<property name="styleSheet">
<string notr="true">font: 14pt &quot;3ds&quot;;</string>
</property>
<property name="inputMethodHints">
<set>Qt::ImhNone</set>
</property>
</widget>
<widget class="QPushButton" name="pushButtonCalibConcen">
<property name="geometry">
<rect>
<x>280</x>
<y>10</y>
<width>90</width>
<height>30</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font: 14pt &quot;3ds&quot;;</string>
</property>
<property name="text">
<string>开始标定</string>
</property>
</widget>
<widget class="QPushButton" name="pushButtonCheckConcen">
<property name="geometry">
<rect>
<x>380</x>
<y>10</y>
<width>90</width>
<height>30</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font: 14pt &quot;3ds&quot;;</string>
</property>
<property name="text">
<string>查询</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_15">
<property name="geometry">
<rect>
<x>10</x>
<y>240</y>
<width>476</width>
<height>50</height>
</rect>
</property>
<property name="title">
<string/>
</property>
<widget class="QLabel" name="label_7">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>131</width>
<height>22</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font: 14pt &quot;3ds&quot;;</string>
</property>
<property name="text">
<string>重置浓度标定:</string>
</property>
</widget>
<widget class="QPushButton" name="pushButtonCalibConcenReset">
<property name="geometry">
<rect>
<x>280</x>
<y>10</y>
<width>90</width>
<height>30</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font: 14pt &quot;3ds&quot;;</string>
</property>
<property name="text">
<string>重置</string>
</property>
</widget>
<widget class="QPushButton" name="pushButtonCheckConcenReset">
<property name="geometry">
<rect>
<x>380</x>
<y>10</y>
<width>90</width>
<height>30</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font: 14pt &quot;3ds&quot;;</string>
</property>
<property name="text">
<string>查询</string>
</property>
</widget>
</widget>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_10">
<property name="title">
<string>状态</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_11">
<item>
<widget class="QPlainTextEdit" name="plainTextEditStastusCalib"/>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_3">
<attribute name="title">
<string>自定义通信</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<widget class="QWidget" name="widget" native="true">
<layout class="QVBoxLayout" name="verticalLayout_3" stretch="8,2">
<item>
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>接收区域</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4" stretch="9,1">
<property name="spacing">
<number>9</number>
</property>
<property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>9</number>
</property>
<item>
<widget class="QPlainTextEdit" name="plainTextEditReceive"/>
</item>
<item>
<widget class="QGroupBox" name="groupBox_6">
<property name="title">
<string>收发设置</string>
</property>
<widget class="QCheckBox" name="checkBoxHexSend">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>94</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>HEX发送</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="checkBoxHexReceive">
<property name="geometry">
<rect>
<x>90</x>
<y>20</y>
<width>93</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>HEX接收</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="checkBoxDTR">
<property name="geometry">
<rect>
<x>160</x>
<y>20</y>
<width>94</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>DTR</string>
</property>
</widget>
<widget class="QCheckBox" name="checkBoxRTS">
<property name="geometry">
<rect>
<x>210</x>
<y>20</y>
<width>93</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>RTS</string>
</property>
</widget>
<widget class="QCheckBox" name="checkBoxAddDate">
<property name="geometry">
<rect>
<x>260</x>
<y>20</y>
<width>94</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>收/发时间</string>
</property>
</widget>
<widget class="QCheckBox" name="checkBoxCRLF">
<property name="geometry">
<rect>
<x>340</x>
<y>20</y>
<width>93</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>收发换行</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="checkBoxAutoSaveLog">
<property name="geometry">
<rect>
<x>410</x>
<y>20</y>
<width>90</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>自动保存日志</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="checkBoxAddCRC">
<property name="geometry">
<rect>
<x>860</x>
<y>20</y>
<width>81</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>附加校验</string>
</property>
</widget>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_5">
<property name="title">
<string>发送区域</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QPlainTextEdit" name="plainTextEditSend"/>
</item>
<item>
<widget class="QGroupBox" name="groupBox_8">
<property name="title">
<string/>
</property>
<layout class="QVBoxLayout" name="verticalLayout_9">
<item>
<widget class="QPushButton" name="pushButtonClearReceive">
<property name="text">
<string>清除接收</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonClearSend">
<property name="text">
<string>清除发送</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonSend">
<property name="styleSheet">
<string notr="true">background-color: rgb(0, 255, 0);</string>
</property>
<property name="text">
<string>发送</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1280</width>
<height>23</height>
</rect>
</property>
<widget class="QMenu" name="menu">
<property name="title">
<string>文件</string>
</property>
<addaction name="action01"/>
<addaction name="action02"/>
</widget>
<widget class="QMenu" name="menu_2">
<property name="title">
<string>通信</string>
</property>
<addaction name="actionSerial"/>
<addaction name="actionNet"/>
</widget>
<widget class="QMenu" name="menu_3">
<property name="title">
<string>关于</string>
</property>
</widget>
<addaction name="menu"/>
<addaction name="menu_2"/>
<addaction name="menu_3"/>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<action name="action01">
<property name="text">
<string>新建</string>
</property>
</action>
<action name="action02">
<property name="text">
<string>退出</string>
</property>
</action>
<action name="action03">
<property name="text">
<string>配置通道</string>
</property>
</action>
<action name="actionSerial">
<property name="text">
<string>串口配置</string>
</property>
</action>
<action name="actionNet">
<property name="text">
<string>网口配置</string>
</property>
</action>
</widget>
<resources/>
<connections/>
</ui>