QtExamples/QtHttpEx/ExHttp.ui
touwoyimuli 19d8cade29 feat: QNetworkAccessmanager and QNetworkReply and QNetworkRequest
提供网络协议的7层模型中的 中高层的网络协议:Http/FTP/SNMP等

QNetworkAccessmanager  协调网络操作类(处理网络的请求和回应):负责发送网络请求,创建网络响应
QNetworkRequest        网络请求
QNetworkReply          网络请求的响应(提供finished()/readyRead()/downloadProgress()信号),监测网络响应的执行情况,执行相应的操作
2019-12-07 00:05:57 +08:00

90 lines
2.5 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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>