线程还是会时不时暴毙,还需要优化

This commit is contained in:
2022-01-06 00:50:11 +08:00
parent ac1d49e48c
commit 4e122d5ad4
6 changed files with 56 additions and 37 deletions
+24 -13
View File
@@ -28,9 +28,9 @@
<widget class="QTextEdit" name="port_list">
<property name="geometry">
<rect>
<x>500</x>
<x>490</x>
<y>100</y>
<width>91</width>
<width>101</width>
<height>111</height>
</rect>
</property>
@@ -56,10 +56,21 @@
<rect>
<x>420</x>
<y>220</y>
<width>171</width>
<width>71</width>
<height>41</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<stylestrategy>PreferDefault</stylestrategy>
</font>
</property>
<property name="text">
<string>开始扫描</string>
</property>
@@ -152,13 +163,13 @@ domain.com</string>
<property name="geometry">
<rect>
<x>10</x>
<y>300</y>
<y>270</y>
<width>581</width>
<height>191</height>
<height>221</height>
</rect>
</property>
<property name="readOnly">
<bool>true</bool>
<bool>false</bool>
</property>
</widget>
<widget class="QLabel" name="label_2">
@@ -193,17 +204,17 @@ domain.com</string>
<number>100</number>
</property>
</widget>
<widget class="QProgressBar" name="type_bar">
<widget class="QLabel" name="type_bar">
<property name="geometry">
<rect>
<x>10</x>
<y>270</y>
<width>581</width>
<height>23</height>
<x>500</x>
<y>240</y>
<width>53</width>
<height>16</height>
</rect>
</property>
<property name="value">
<number>0</number>
<property name="text">
<string>0%</string>
</property>
</widget>
</widget>