1 Star 0 Fork 3

azou999/Qt-Serial-PID-Host

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
mainwindow.ui 6.80 KB
一键复制 编辑 原始数据 按行查看 历史
xuyafei 提交于 2015-07-16 18:43 . new
<?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>720</width>
<height>460</height>
</rect>
</property>
<property name="windowTitle">
<string>Host海坊主</string>
</property>
<widget class="QWidget" name="centralWidget">
<widget class="QCustomPlot" name="customPlot" native="true">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>720</width>
<height>320</height>
</rect>
</property>
<zorder></zorder>
<zorder>horizontalLayoutWidget</zorder>
</widget>
<widget class="QWidget" name="horizontalLayoutWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>320</y>
<width>721</width>
<height>131</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0">
<property name="leftMargin">
<number>10</number>
</property>
<property name="rightMargin">
<number>10</number>
</property>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="0,0">
<property name="rightMargin">
<number>10</number>
</property>
<item>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<widget class="QPushButton" name="button_open">
<property name="text">
<string>打开串口</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="button_close">
<property name="text">
<string>关闭串口</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QComboBox" name="comboBox"/>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_9">
<item>
<widget class="QPushButton" name="button_filter">
<property name="text">
<string>检测</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="button_switch">
<property name="text">
<string>开始/停止</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,1,6,1,1">
<item>
<widget class="QLabel" name="label_pid_a">
<property name="text">
<string>PID-&gt;A</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_pid_a">
<property name="text">
<string>0</string>
</property>
</widget>
</item>
<item>
<widget class="QSlider" name="hSlider_pid_a">
<property name="maximum">
<number>99</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_min_a">
<property name="text">
<string>0</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_max_a">
<property name="text">
<string>100</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4" stretch="1,1,6,1,1">
<item>
<widget class="QLabel" name="label_pid_b">
<property name="text">
<string>PID-&gt;B</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_pid_b">
<property name="text">
<string>0</string>
</property>
</widget>
</item>
<item>
<widget class="QSlider" name="hSlider_pid_b">
<property name="maximum">
<number>99</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_min_b">
<property name="text">
<string>0</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_max_b">
<property name="text">
<string>100</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5" stretch="1,1,6,1,1">
<item>
<widget class="QLabel" name="label_pid_c">
<property name="text">
<string>PID-&gt;C</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_pid_c">
<property name="text">
<string>0</string>
</property>
</widget>
</item>
<item>
<widget class="QSlider" name="hSlider_pid_c">
<property name="maximum">
<number>99</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_min_c">
<property name="text">
<string>0</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_max_c">
<property name="text">
<string>100</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>720</width>
<height>23</height>
</rect>
</property>
</widget>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
<customwidget>
<class>QCustomPlot</class>
<extends>QWidget</extends>
<header>qcustomplot.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/azou999/Qt-Serial-PID-Host.git
git@gitee.com:azou999/Qt-Serial-PID-Host.git
azou999
Qt-Serial-PID-Host
Qt-Serial-PID-Host
master

搜索帮助