DaemonService/mainwindow.ui
筱傑 64ee5e54d0
修复BUG 新增黑名单
修复在添加白名单时添加一条‘目标端口:任意’的BUG
新增黑名单增删功能,增加黑名单时会先将其从白名单中删除
2019-02-19 11:37:40 +08:00

228 lines
5.7 KiB
XML

<?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>700</width>
<height>400</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>700</width>
<height>400</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>700</width>
<height>400</height>
</size>
</property>
<property name="windowTitle">
<string>DaemonService</string>
</property>
<widget class="QWidget" name="centralWidget">
<widget class="QTextBrowser" name="txtLog">
<property name="geometry">
<rect>
<x>130</x>
<y>30</y>
<width>561</width>
<height>361</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:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QPlainTextEdit" name="txtPortList">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>111</width>
<height>71</height>
</rect>
</property>
<property name="plainText">
<string>7001</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton">
<property name="geometry">
<rect>
<x>10</x>
<y>350</y>
<width>111</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>启动服务</string>
</property>
</widget>
<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="text">
<string>守护端口列表:</string>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>130</x>
<y>10</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>日志信息:</string>
</property>
</widget>
<widget class="QPushButton" name="btnClosePort">
<property name="geometry">
<rect>
<x>10</x>
<y>110</y>
<width>111</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>封锁以上端口</string>
</property>
</widget>
<widget class="QPushButton" name="BtnClear">
<property name="geometry">
<rect>
<x>650</x>
<y>10</y>
<width>41</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>清空</string>
</property>
</widget>
<widget class="QLineEdit" name="txtIP">
<property name="geometry">
<rect>
<x>10</x>
<y>190</y>
<width>111</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="btnAddIP">
<property name="geometry">
<rect>
<x>10</x>
<y>210</y>
<width>51</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>+</string>
</property>
</widget>
<widget class="QPushButton" name="btnRemoveIP">
<property name="geometry">
<rect>
<x>70</x>
<y>210</y>
<width>51</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>-</string>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>10</x>
<y>170</y>
<width>54</width>
<height>12</height>
</rect>
</property>
<property name="text">
<string>白名单IP:</string>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>10</x>
<y>250</y>
<width>54</width>
<height>12</height>
</rect>
</property>
<property name="text">
<string>黑名单IP:</string>
</property>
</widget>
<widget class="QPushButton" name="btnAddBlackIP">
<property name="geometry">
<rect>
<x>10</x>
<y>290</y>
<width>51</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>+</string>
</property>
</widget>
<widget class="QLineEdit" name="txtBlackIP">
<property name="geometry">
<rect>
<x>10</x>
<y>270</y>
<width>111</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="btnRemoveBlackIP">
<property name="geometry">
<rect>
<x>70</x>
<y>290</y>
<width>51</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>-</string>
</property>
</widget>
</widget>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections/>
</ui>