1 Star 6 Fork 8

2649549484/TcpServerSimple

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
MainWindow.ui 9.18 KB
一键复制 编辑 原始数据 按行查看 历史
2649549484 提交于 2017-10-08 19:16 . V1.0.0
<?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>448</width>
<height>372</height>
</rect>
</property>
<property name="windowTitle">
<string>TcpServerSimple 服务器端</string>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="groupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>60</height>
</size>
</property>
<property name="title">
<string>系统状态</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="topMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string>温度:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_temperature">
<property name="currentIndex">
<number>4</number>
</property>
<item>
<property name="text">
<string>0</string>
</property>
</item>
<item>
<property name="text">
<string>5</string>
</property>
</item>
<item>
<property name="text">
<string>10</string>
</property>
</item>
<item>
<property name="text">
<string>15</string>
</property>
</item>
<item>
<property name="text">
<string>20</string>
</property>
</item>
<item>
<property name="text">
<string>25</string>
</property>
</item>
<item>
<property name="text">
<string>30</string>
</property>
</item>
<item>
<property name="text">
<string>35</string>
</property>
</item>
<item>
<property name="text">
<string>40</string>
</property>
</item>
<item>
<property name="text">
<string>45</string>
</property>
</item>
<item>
<property name="text">
<string>50</string>
</property>
</item>
<item>
<property name="text">
<string>55</string>
</property>
</item>
<item>
<property name="text">
<string>60</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="label_8">
<property name="text">
<string></string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_10">
<property name="text">
<string>大气压:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_pressure">
<property name="minimumSize">
<size>
<width>43</width>
<height>0</height>
</size>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>100</string>
</property>
</item>
<item>
<property name="text">
<string>101</string>
</property>
</item>
<item>
<property name="text">
<string>102</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="label_9">
<property name="text">
<string>kPa</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>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="topMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label_6">
<property name="text">
<string>LED 灯:</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_led_1">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="pic.qrc">
<normaloff>:/Pic/LED_off.png</normaloff>:/Pic/LED_off.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_led_2">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="pic.qrc">
<normaloff>:/Pic/LED_on.png</normaloff>:/Pic/LED_on.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_led_3">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="pic.qrc">
<normaloff>:/Pic/LED_on.png</normaloff>:/Pic/LED_on.png</iconset>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<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>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QLabel" name="label_7">
<property name="minimumSize">
<size>
<width>0</width>
<height>9</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>9</height>
</size>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="minimumSize">
<size>
<width>0</width>
<height>22</height>
</size>
</property>
<property name="title">
<string>收发数据</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QPlainTextEdit" name="plainTextEdit">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="horizontalWidget_3" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="leftMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<item>
<widget class="QLineEdit" name="lineEdit_text"/>
</item>
<item>
<widget class="QPushButton" name="pushButton_send_text">
<property name="text">
<string>发送文本</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QLabel" name="label_network_status">
<property name="styleSheet">
<string notr="true">margin-top:3px;</string>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;连接状态:&lt;span style=&quot; color:#ff0000;&quot;&gt;未连接&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources>
<include location="pic.qrc"/>
</resources>
<connections/>
</ui>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/2649549484/TcpServerSimple.git
git@gitee.com:2649549484/TcpServerSimple.git
2649549484
TcpServerSimple
TcpServerSimple
master

搜索帮助