2 Star 3 Fork 4

ksoft/pyqt5-HTTPTool

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
httptool.ui 21.28 KB
一键复制 编辑 原始数据 按行查看 历史
ksoft 提交于 2019-01-07 17:15 . Initial commit
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Dialog</class>
<widget class="QDialog" name="Dialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>947</width>
<height>683</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<widget class="QTabWidget" name="tabWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>70</y>
<width>921</width>
<height>201</height>
</rect>
</property>
<property name="tabShape">
<enum>QTabWidget::Triangular</enum>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="get_tab">
<attribute name="title">
<string>GET</string>
</attribute>
<widget class="QTextEdit" name="get_url_input">
<property name="geometry">
<rect>
<x>90</x>
<y>10</y>
<width>821</width>
<height>31</height>
</rect>
</property>
<property name="placeholderText">
<string>http://</string>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>30</x>
<y>15</y>
<width>51</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
</font>
</property>
<property name="text">
<string>URL</string>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>20</x>
<y>55</y>
<width>60</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
</font>
</property>
<property name="text">
<string>请求头</string>
</property>
</widget>
<widget class="QTextEdit" name="get_header">
<property name="geometry">
<rect>
<x>90</x>
<y>50</y>
<width>821</width>
<height>31</height>
</rect>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'.SF NS Text'; font-size:13pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:64.0) Gecko/20100101 Firefox/64.0&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="placeholderText">
<string/>
</property>
</widget>
<widget class="QPushButton" name="get_button">
<property name="geometry">
<rect>
<x>800</x>
<y>130</y>
<width>113</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>发送请求</string>
</property>
<property name="default">
<bool>false</bool>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</widget>
<widget class="QWidget" name="post_tab">
<attribute name="title">
<string>POST</string>
</attribute>
<widget class="QTextEdit" name="post_url_input">
<property name="geometry">
<rect>
<x>90</x>
<y>10</y>
<width>821</width>
<height>31</height>
</rect>
</property>
<property name="placeholderText">
<string>http://</string>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>30</x>
<y>15</y>
<width>60</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
</font>
</property>
<property name="text">
<string>URL</string>
</property>
</widget>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>20</x>
<y>55</y>
<width>60</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
</font>
</property>
<property name="text">
<string>请求头</string>
</property>
</widget>
<widget class="QTextEdit" name="post_header">
<property name="geometry">
<rect>
<x>90</x>
<y>50</y>
<width>821</width>
<height>31</height>
</rect>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'.SF NS Text'; font-size:13pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:64.0) Gecko/20100101 Firefox/64.0&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="placeholderText">
<string/>
</property>
</widget>
<widget class="QLabel" name="label_10">
<property name="geometry">
<rect>
<x>30</x>
<y>90</y>
<width>41</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
</font>
</property>
<property name="text">
<string>数据</string>
</property>
</widget>
<widget class="QTextEdit" name="post_data">
<property name="geometry">
<rect>
<x>90</x>
<y>90</y>
<width>821</width>
<height>31</height>
</rect>
</property>
<property name="placeholderText">
<string>username:xxxxxx----password:xxxxxx</string>
</property>
</widget>
<widget class="QLabel" name="label_11">
<property name="geometry">
<rect>
<x>90</x>
<y>130</y>
<width>631</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
</font>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:14pt; color:#0000ff;&quot;&gt;请注意:post 表单数据请按照key1:value1----key2:value2的格式填写&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QPushButton" name="post_button">
<property name="geometry">
<rect>
<x>800</x>
<y>130</y>
<width>113</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>发送请求</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>PATCH</string>
</attribute>
<widget class="QLabel" name="label_12">
<property name="geometry">
<rect>
<x>30</x>
<y>90</y>
<width>41</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
</font>
</property>
<property name="text">
<string>数据</string>
</property>
</widget>
<widget class="QTextEdit" name="patch_url_input">
<property name="geometry">
<rect>
<x>90</x>
<y>10</y>
<width>821</width>
<height>31</height>
</rect>
</property>
<property name="placeholderText">
<string>http://</string>
</property>
</widget>
<widget class="QLabel" name="label_13">
<property name="geometry">
<rect>
<x>90</x>
<y>130</y>
<width>631</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
</font>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:14pt; color:#0000ff;&quot;&gt;请注意:PATCH方法的表单数据请按照key1:value1----key2:value2的格式填写&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QTextEdit" name="patch_header">
<property name="geometry">
<rect>
<x>90</x>
<y>50</y>
<width>821</width>
<height>31</height>
</rect>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'.SF NS Text'; font-size:13pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:64.0) Gecko/20100101 Firefox/64.0&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="placeholderText">
<string/>
</property>
</widget>
<widget class="QPushButton" name="patch_button">
<property name="geometry">
<rect>
<x>800</x>
<y>130</y>
<width>113</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>发送请求</string>
</property>
</widget>
<widget class="QLabel" name="label_9">
<property name="geometry">
<rect>
<x>30</x>
<y>15</y>
<width>60</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
</font>
</property>
<property name="text">
<string>URL</string>
</property>
</widget>
<widget class="QLabel" name="label_14">
<property name="geometry">
<rect>
<x>20</x>
<y>55</y>
<width>60</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
</font>
</property>
<property name="text">
<string>请求头</string>
</property>
</widget>
<widget class="QTextEdit" name="patch_data">
<property name="geometry">
<rect>
<x>90</x>
<y>90</y>
<width>821</width>
<height>31</height>
</rect>
</property>
<property name="placeholderText">
<string>username:xxxxxx----password:xxxxxx</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>DELETE</string>
</attribute>
<widget class="QLabel" name="label_27">
<property name="geometry">
<rect>
<x>20</x>
<y>55</y>
<width>60</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
</font>
</property>
<property name="text">
<string>请求头</string>
</property>
</widget>
<widget class="QPushButton" name="delete_button">
<property name="geometry">
<rect>
<x>800</x>
<y>130</y>
<width>113</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>发送请求</string>
</property>
</widget>
<widget class="QTextEdit" name="delete_header">
<property name="geometry">
<rect>
<x>90</x>
<y>50</y>
<width>821</width>
<height>31</height>
</rect>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'.SF NS Text'; font-size:13pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:64.0) Gecko/20100101 Firefox/64.0&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="placeholderText">
<string/>
</property>
</widget>
<widget class="QLabel" name="label_28">
<property name="geometry">
<rect>
<x>30</x>
<y>15</y>
<width>51</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
</font>
</property>
<property name="text">
<string>URL</string>
</property>
</widget>
<widget class="QTextEdit" name="delete_url_input">
<property name="geometry">
<rect>
<x>90</x>
<y>10</y>
<width>821</width>
<height>31</height>
</rect>
</property>
<property name="placeholderText">
<string>http://</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="tab_3">
<attribute name="title">
<string>正则表达式</string>
</attribute>
<widget class="QLabel" name="label_7">
<property name="geometry">
<rect>
<x>40</x>
<y>19</y>
<width>101</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
</font>
</property>
<property name="text">
<string>正则表达式</string>
</property>
</widget>
<widget class="QTextEdit" name="re_input">
<property name="geometry">
<rect>
<x>140</x>
<y>14</y>
<width>651</width>
<height>31</height>
</rect>
</property>
<property name="placeholderText">
<string>请输入正则表达式</string>
</property>
</widget>
<widget class="QPushButton" name="re_button">
<property name="geometry">
<rect>
<x>800</x>
<y>10</y>
<width>91</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>全文匹配</string>
</property>
</widget>
<widget class="QPlainTextEdit" name="re_results">
<property name="geometry">
<rect>
<x>140</x>
<y>50</y>
<width>651</width>
<height>111</height>
</rect>
</property>
<property name="placeholderText">
<string>匹配结果</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="tab_4">
<attribute name="title">
<string>XPATH</string>
</attribute>
<widget class="QTextEdit" name="xpath_input">
<property name="geometry">
<rect>
<x>130</x>
<y>13</y>
<width>651</width>
<height>31</height>
</rect>
</property>
<property name="placeholderText">
<string>请输入XPATH表达式</string>
</property>
</widget>
<widget class="QLabel" name="label_8">
<property name="geometry">
<rect>
<x>50</x>
<y>13</y>
<width>101</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
</font>
</property>
<property name="text">
<string>XPATH</string>
</property>
</widget>
<widget class="QPushButton" name="xpath_button">
<property name="geometry">
<rect>
<x>790</x>
<y>10</y>
<width>91</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>全文匹配</string>
</property>
</widget>
<widget class="QPlainTextEdit" name="xpath_results">
<property name="geometry">
<rect>
<x>130</x>
<y>53</y>
<width>651</width>
<height>111</height>
</rect>
</property>
<property name="placeholderText">
<string>匹配结果</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="tab_9">
<attribute name="title">
<string>CSS选择器</string>
</attribute>
<widget class="QTextEdit" name="css_input">
<property name="geometry">
<rect>
<x>150</x>
<y>13</y>
<width>651</width>
<height>31</height>
</rect>
</property>
<property name="placeholderText">
<string>请输入CSS选择器表达式</string>
</property>
</widget>
<widget class="QLabel" name="label_30">
<property name="geometry">
<rect>
<x>50</x>
<y>13</y>
<width>101</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
</font>
</property>
<property name="text">
<string>CSS选择器</string>
</property>
</widget>
<widget class="QPushButton" name="css_button">
<property name="geometry">
<rect>
<x>810</x>
<y>10</y>
<width>81</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>全文匹配</string>
</property>
</widget>
<widget class="QPlainTextEdit" name="css_results">
<property name="geometry">
<rect>
<x>150</x>
<y>53</y>
<width>651</width>
<height>111</height>
</rect>
</property>
<property name="placeholderText">
<string>匹配结果</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="tab_5">
<attribute name="title">
<string>代理IP</string>
</attribute>
<widget class="QLabel" name="label_31">
<property name="geometry">
<rect>
<x>310</x>
<y>20</y>
<width>71</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
</font>
</property>
<property name="text">
<string>代理IP</string>
</property>
</widget>
<widget class="QLabel" name="label_32">
<property name="geometry">
<rect>
<x>310</x>
<y>60</y>
<width>61</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
</font>
</property>
<property name="text">
<string>端口号</string>
</property>
</widget>
<widget class="QTextEdit" name="ip_input">
<property name="geometry">
<rect>
<x>390</x>
<y>20</y>
<width>191</width>
<height>31</height>
</rect>
</property>
<property name="placeholderText">
<string/>
</property>
</widget>
<widget class="QTextEdit" name="port_input">
<property name="geometry">
<rect>
<x>390</x>
<y>60</y>
<width>191</width>
<height>31</height>
</rect>
</property>
<property name="placeholderText">
<string/>
</property>
</widget>
<widget class="QPushButton" name="ip_button">
<property name="geometry">
<rect>
<x>420</x>
<y>110</y>
<width>121</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>确认</string>
</property>
</widget>
</widget>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>270</x>
<y>0</y>
<width>411</width>
<height>61</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>36</pointsize>
</font>
</property>
<property name="text">
<string>KK HTTP测试工具 Mac版</string>
</property>
</widget>
<widget class="QPlainTextEdit" name="plainTextEdit">
<property name="geometry">
<rect>
<x>10</x>
<y>280</y>
<width>921</width>
<height>301</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="lineWidth">
<number>2</number>
</property>
<property name="documentTitle">
<string/>
</property>
<property name="placeholderText">
<string>运行结果</string>
</property>
</widget>
<widget class="QListView" name="listView">
<property name="geometry">
<rect>
<x>10</x>
<y>590</y>
<width>921</width>
<height>85</height>
</rect>
</property>
</widget>
<widget class="QLCDNumber" name="lcdNumber">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>71</width>
<height>41</height>
</rect>
</property>
<property name="intValue" stdset="0">
<number>0</number>
</property>
</widget>
</widget>
<resources/>
<connections/>
</ui>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/ksoftpy/pyqt5-HTTPTool.git
git@gitee.com:ksoftpy/pyqt5-HTTPTool.git
ksoftpy
pyqt5-HTTPTool
pyqt5-HTTPTool
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385