1 Star 1 Fork 0

mingjing.he/mqtt_client

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mainwindow.ui 8.48 KB
一键复制 编辑 原始数据 按行查看 历史
mingjing.he 提交于 2023-10-25 17:49 . first commit
<?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>360</width>
<height>775</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralWidget">
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>IP:</string>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>10</x>
<y>40</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>Port:</string>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>10</x>
<y>70</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>Client Id:</string>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>10</x>
<y>100</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>Username:</string>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>10</x>
<y>130</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>Password:</string>
</property>
</widget>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>10</x>
<y>160</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>Status:</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_ip">
<property name="geometry">
<rect>
<x>100</x>
<y>10</y>
<width>141</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_port">
<property name="geometry">
<rect>
<x>100</x>
<y>40</y>
<width>141</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_clientid">
<property name="geometry">
<rect>
<x>100</x>
<y>70</y>
<width>141</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_username">
<property name="geometry">
<rect>
<x>100</x>
<y>100</y>
<width>141</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_password">
<property name="geometry">
<rect>
<x>100</x>
<y>130</y>
<width>141</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_status">
<property name="geometry">
<rect>
<x>100</x>
<y>160</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>null</string>
</property>
</widget>
<widget class="QPushButton" name="button_connect">
<property name="geometry">
<rect>
<x>270</x>
<y>20</y>
<width>75</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>Connect</string>
</property>
</widget>
<widget class="QPushButton" name="button_disconnect">
<property name="geometry">
<rect>
<x>270</x>
<y>110</y>
<width>75</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>Disconnect</string>
</property>
</widget>
<widget class="QLabel" name="label_7">
<property name="geometry">
<rect>
<x>10</x>
<y>190</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>Topic:</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_pub_topic">
<property name="geometry">
<rect>
<x>100</x>
<y>190</y>
<width>241</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_8">
<property name="geometry">
<rect>
<x>10</x>
<y>220</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>Message:</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_pub_message">
<property name="geometry">
<rect>
<x>100</x>
<y>220</y>
<width>241</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="button_publish">
<property name="geometry">
<rect>
<x>100</x>
<y>250</y>
<width>101</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Publish</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_sub_topic">
<property name="geometry">
<rect>
<x>100</x>
<y>290</y>
<width>241</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_9">
<property name="geometry">
<rect>
<x>10</x>
<y>290</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>Topic:</string>
</property>
</widget>
<widget class="QPushButton" name="button_subscribe">
<property name="geometry">
<rect>
<x>110</x>
<y>320</y>
<width>101</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Subscribe</string>
</property>
</widget>
<widget class="QPushButton" name="button_unsubscribe">
<property name="geometry">
<rect>
<x>230</x>
<y>320</y>
<width>101</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>UnSubcribe</string>
</property>
</widget>
<widget class="QLabel" name="label_10">
<property name="geometry">
<rect>
<x>10</x>
<y>350</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>Log:</string>
</property>
</widget>
<widget class="QTextEdit" name="textEdit_log">
<property name="geometry">
<rect>
<x>0</x>
<y>370</y>
<width>351</width>
<height>361</height>
</rect>
</property>
</widget>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>360</width>
<height>23</height>
</rect>
</property>
</widget>
<widget class="QToolBar" name="mainToolBar">
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
</widget>
<widget class="QStatusBar" name="statusBar"/>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections/>
</ui>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mingjinghe/mqtt_client.git
git@gitee.com:mingjinghe/mqtt_client.git
mingjinghe
mqtt_client
mqtt_client
main

搜索帮助