代码拉取完成,页面将自动刷新
<?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>845</width>
<height>539</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>UpdateTool</string>
</property>
<widget class="QWidget" name="centralWidget">
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>201</width>
<height>471</height>
</rect>
</property>
<property name="title">
<string>配置选项</string>
</property>
<widget class="QGroupBox" name="groupBox_4">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>181</width>
<height>156</height>
</rect>
</property>
<property name="title">
<string>连接设置</string>
</property>
<widget class="QWidget" name="layoutWidget_2">
<property name="geometry">
<rect>
<x>10</x>
<y>70</y>
<width>156</width>
<height>22</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3" stretch="0,1">
<property name="spacing">
<number>2</number>
</property>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>目标端口:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox">
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="maximum">
<number>65535</number>
</property>
<property name="value">
<number>8888</number>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QPushButton" name="TestBtn">
<property name="geometry">
<rect>
<x>90</x>
<y>110</y>
<width>71</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>测试连接</string>
</property>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>156</width>
<height>22</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>2</number>
</property>
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>系列号:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit">
<property name="text">
<string>320028001747333339363838</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
<zorder>layoutWidget</zorder>
<zorder>layoutWidget_2</zorder>
<zorder>TestBtn</zorder>
</widget>
<widget class="QGroupBox" name="groupBox_5">
<property name="geometry">
<rect>
<x>10</x>
<y>185</y>
<width>181</width>
<height>226</height>
</rect>
</property>
<property name="title">
<string>固件信息</string>
</property>
<widget class="QPushButton" name="LoadBtn">
<property name="geometry">
<rect>
<x>5</x>
<y>150</y>
<width>71</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>载入...</string>
</property>
</widget>
<widget class="QPushButton" name="UpdateBtn">
<property name="geometry">
<rect>
<x>95</x>
<y>150</y>
<width>71</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>升级</string>
</property>
</widget>
<widget class="QProgressBar" name="progressBar">
<property name="geometry">
<rect>
<x>5</x>
<y>190</y>
<width>161</width>
<height>21</height>
</rect>
</property>
<property name="value">
<number>0</number>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>25</y>
<width>161</width>
<height>111</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="fwNamelabel">
<property name="text">
<string>固件名称:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="fwSizelabel">
<property name="text">
<string>固件大小:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="fwDate_label">
<property name="text">
<string>日期:</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_2">
<property name="geometry">
<rect>
<x>220</x>
<y>10</y>
<width>616</width>
<height>351</height>
</rect>
</property>
<property name="title">
<string>固件数据</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="leftMargin">
<number>4</number>
</property>
<property name="topMargin">
<number>4</number>
</property>
<property name="rightMargin">
<number>4</number>
</property>
<property name="bottomMargin">
<number>4</number>
</property>
</layout>
</widget>
<widget class="QGroupBox" name="groupBox_3">
<property name="geometry">
<rect>
<x>220</x>
<y>360</y>
<width>616</width>
<height>121</height>
</rect>
</property>
<property name="title">
<string>提示信息</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>4</number>
</property>
<property name="topMargin">
<number>4</number>
</property>
<property name="rightMargin">
<number>4</number>
</property>
<property name="bottomMargin">
<number>4</number>
</property>
<item row="0" column="0">
<widget class="QTextEdit" name="textEdit"/>
</item>
</layout>
</widget>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>845</width>
<height>23</height>
</rect>
</property>
<widget class="QMenu" name="menu_file">
<property name="title">
<string>文件(&F)</string>
</property>
<addaction name="open_action"/>
<addaction name="separator"/>
<addaction name="exit_action"/>
</widget>
<widget class="QMenu" name="menu_ctrl">
<property name="title">
<string>操作(&C)</string>
</property>
<addaction name="update_action"/>
<addaction name="separator"/>
<addaction name="test_action"/>
</widget>
<widget class="QMenu" name="menu_help">
<property name="title">
<string>帮助(&H)</string>
</property>
<addaction name="about_action"/>
</widget>
<addaction name="menu_file"/>
<addaction name="menu_ctrl"/>
<addaction name="menu_help"/>
</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"/>
<action name="open_action">
<property name="text">
<string>打开(&O)</string>
</property>
</action>
<action name="exit_action">
<property name="text">
<string>退出(&E)</string>
</property>
</action>
<action name="update_action">
<property name="text">
<string>升级(&U)</string>
</property>
</action>
<action name="about_action">
<property name="text">
<string>关于(&A)</string>
</property>
</action>
<action name="test_action">
<property name="text">
<string>测试连接(&T)</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections>
<connection>
<sender>exit_action</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>422</x>
<y>269</y>
</hint>
</hints>
</connection>
</connections>
</ui>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。