<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>ExHttp</class> <widget class="QMainWindow" name="ExHttp"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>555</width> <height>111</height> </rect> </property> <property name="windowTitle"> <string>ExHttp</string> </property> <widget class="QWidget" name="centralWidget"> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="0"> <layout class="QGridLayout" name="gridLayout" rowstretch="1,8,1"> <item row="1" column="1"> <widget class="QLineEdit" name="lineEditFile"/> </item> <item row="1" column="2"> <widget class="QPushButton" name="btnFile"> <property name="text"> <string>默认路径</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QLineEdit" name="lineEditUrl"> <property name="text"> <string>http://download.qt.io/archive/vsaddin/2.4.2/md5sums.txt</string> </property> </widget> </item> <item row="0" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>URL:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> <item row="0" column="2"> <widget class="QPushButton" name="btnDown"> <property name="text"> <string>下载</string> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>保存路径:</string> </property> </widget> </item> <item row="2" column="0" colspan="2"> <widget class="QProgressBar" name="progressBar"> <property name="value"> <number>0</number> </property> <property name="textVisible"> <bool>true</bool> </property> <property name="textDirection"> <enum>QProgressBar::TopToBottom</enum> </property> </widget> </item> <item row="2" column="2"> <widget class="QCheckBox" name="checkBox"> <property name="text"> <string>结束之后打开</string> </property> </widget> </item> </layout> </item> </layout> </widget> </widget> <layoutdefault spacing="6" margin="11"/> <resources/> <connections/> </ui>