274 lines
7.4 KiB
XML
274 lines
7.4 KiB
XML
<?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>800</width>
|
|
<height>700</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>MainWindow</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="styleSheet">
|
|
<string notr="true">QGroupBox{border:none;}</string>
|
|
</property>
|
|
<property name="title">
|
|
<string/>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>串口号:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="cmbCom"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>波特率:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="cmbBaud">
|
|
<property name="editable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>115200</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>230400</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>460800</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>921600</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="tbtnFresh">
|
|
<property name="text">
|
|
<string>刷新</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="tbtnConnect">
|
|
<property name="styleSheet">
|
|
<string notr="true">color:green</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>连接</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
<property name="styleSheet">
|
|
<string notr="true">QTabBar::tab {
|
|
padding: 5px;
|
|
border:1px solid gray;
|
|
border-top-left-radius:10px;
|
|
border-top-right-radius:10px;
|
|
border-bottom-left-radius:10px;
|
|
border-bottom-right-radius:10px;
|
|
min-width: 100px;
|
|
background-color:#ffffff;
|
|
}
|
|
QTabBar::tab::hover {
|
|
background-color:rgba(68,114,195,125);
|
|
font-weight:bold;
|
|
color:#ffffff;
|
|
}
|
|
QTabBar::tab:!first{
|
|
margin-left:-1px;
|
|
}
|
|
QTabBar::tab:selected {
|
|
/*border-bottom: 2px solid #2080F7;*/
|
|
font-weight:bold;
|
|
color:#ffffff;
|
|
background-color:#4472c3;
|
|
}
|
|
QTabWidget::pane{
|
|
background-color:transparent;
|
|
border:none;
|
|
}</string>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>3</number>
|
|
</property>
|
|
<widget class="QWidget" name="tabMsgInput">
|
|
<attribute name="title">
|
|
<string>信息录入</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="MsgInputWin" name="msgInputWdg" native="true"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tabInterfaceTest">
|
|
<attribute name="title">
|
|
<string>接口检测</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="0" column="0">
|
|
<widget class="InterfaceTestWin" name="interfaceTestWdg" native="true"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tabStatusTest">
|
|
<attribute name="title">
|
|
<string>状态检测</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
<item row="0" column="0">
|
|
<widget class="StatusTestWin" name="statusTestWdg" native="true"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tabPosTest">
|
|
<attribute name="title">
|
|
<string>定位检测</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
|
<item row="0" column="0">
|
|
<widget class="PosTestWin" name="posTestWdg" native="true"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tabPrecisionTest">
|
|
<attribute name="title">
|
|
<string>精度检测 </string>
|
|
</attribute>
|
|
<layout class="QGridLayout" name="gridLayout_5">
|
|
<item row="0" column="0">
|
|
<widget class="PrecisionTestWin" name="precisionTestWdg" native="true"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tabDataManage">
|
|
<attribute name="title">
|
|
<string>数据管理</string>
|
|
</attribute>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>800</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menu">
|
|
<property name="title">
|
|
<string>用户</string>
|
|
</property>
|
|
</widget>
|
|
<addaction name="menu"/>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar">
|
|
<property name="sizeGripEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>MsgInputWin</class>
|
|
<extends>QWidget</extends>
|
|
<header location="global">msgInputWin.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>InterfaceTestWin</class>
|
|
<extends>QWidget</extends>
|
|
<header location="global">interfaceTestWin.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>StatusTestWin</class>
|
|
<extends>QWidget</extends>
|
|
<header location="global">statusTestWin.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>PosTestWin</class>
|
|
<extends>QWidget</extends>
|
|
<header location="global">posTestWin.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>PrecisionTestWin</class>
|
|
<extends>QWidget</extends>
|
|
<header location="global">precisionTestWin.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|