@@ -24,7 +24,7 @@ class Ui_Config(object):
2424 def setupUi (self , Config ):
2525 if not Config .objectName ():
2626 Config .setObjectName (u"Config" )
27- Config .resize (346 , 534 )
27+ Config .resize (346 , 572 )
2828 self .gridLayout_3 = QGridLayout (Config )
2929 self .gridLayout_3 .setObjectName (u"gridLayout_3" )
3030 self .AppSettings = QGroupBox (Config )
@@ -182,6 +182,20 @@ def setupUi(self, Config):
182182
183183 self .gridLayout_3 .addWidget (self .AppSettings , 0 , 0 , 1 , 3 )
184184
185+ self .applySpacer = QSpacerItem (57 , 20 , QSizePolicy .Expanding , QSizePolicy .Minimum )
186+
187+ self .gridLayout_3 .addItem (self .applySpacer , 2 , 0 , 1 , 1 )
188+
189+ self .applyBtn = QPushButton (Config )
190+ self .applyBtn .setObjectName (u"applyBtn" )
191+
192+ self .gridLayout_3 .addWidget (self .applyBtn , 2 , 1 , 1 , 1 )
193+
194+ self .closeBtn = QPushButton (Config )
195+ self .closeBtn .setObjectName (u"closeBtn" )
196+
197+ self .gridLayout_3 .addWidget (self .closeBtn , 2 , 2 , 1 , 1 )
198+
185199 self .SystemSettings = QGroupBox (Config )
186200 self .SystemSettings .setObjectName (u"SystemSettings" )
187201 sizePolicy1 = QSizePolicy (QSizePolicy .Preferred , QSizePolicy .Minimum )
@@ -248,22 +262,13 @@ def setupUi(self, Config):
248262
249263 self .gridLayout .addLayout (self .addGroup , 1 , 0 , 1 , 1 )
250264
265+ self .clearCache = QPushButton (self .SystemSettings )
266+ self .clearCache .setObjectName (u"clearCache" )
251267
252- self .gridLayout_3 .addWidget (self .SystemSettings , 1 , 0 , 1 , 3 )
253-
254- self .applySpacer = QSpacerItem (57 , 20 , QSizePolicy .Expanding , QSizePolicy .Minimum )
255-
256- self .gridLayout_3 .addItem (self .applySpacer , 2 , 0 , 1 , 1 )
257-
258- self .applyBtn = QPushButton (Config )
259- self .applyBtn .setObjectName (u"applyBtn" )
260-
261- self .gridLayout_3 .addWidget (self .applyBtn , 2 , 1 , 1 , 1 )
268+ self .gridLayout .addWidget (self .clearCache , 2 , 0 , 1 , 1 )
262269
263- self .closeBtn = QPushButton (Config )
264- self .closeBtn .setObjectName (u"closeBtn" )
265270
266- self .gridLayout_3 .addWidget (self .closeBtn , 2 , 2 , 1 , 1 )
271+ self .gridLayout_3 .addWidget (self .SystemSettings , 1 , 0 , 1 , 3 )
267272
268273
269274 self .retranslateUi (Config )
@@ -297,14 +302,15 @@ def retranslateUi(self, Config):
297302 self .People .setText (QCoreApplication .translate ("Config" , u"People" , None ))
298303 self .selectFile .setText (QCoreApplication .translate ("Config" , u"\u6d4f \u89c8 " , None ))
299304 self .selectDir .setText (QCoreApplication .translate ("Config" , u"\u6d4f \u89c8 " , None ))
305+ self .applyBtn .setText (QCoreApplication .translate ("Config" , u"\u5e94 \u7528 " , None ))
306+ self .closeBtn .setText (QCoreApplication .translate ("Config" , u"\u5173 \u95ed " , None ))
300307 self .SystemSettings .setTitle (QCoreApplication .translate ("Config" , u"\u7cfb \u7edf \u8bbe \u7f6e " , None ))
301308 self .proxy_l .setText (QCoreApplication .translate ("Config" , u"\u7f51 \u7edc \u4ee3 \u7406 \uff1a " , None ))
302309 self .proxyNone .setText (QCoreApplication .translate ("Config" , u"\u65e0 " , None ))
303310 self .proxyHttp .setText (QCoreApplication .translate ("Config" , u"http" , None ))
304311 self .proxySocks .setText (QCoreApplication .translate ("Config" , u"socks" , None ))
305312 self .add_l .setText (QCoreApplication .translate ("Config" , u"\u5730 \u5740 \uff1a " , None ))
306313 self .port_l .setText (QCoreApplication .translate ("Config" , u":" , None ))
307- self .applyBtn .setText (QCoreApplication .translate ("Config" , u"\u5e94 \u7528 " , None ))
308- self .closeBtn .setText (QCoreApplication .translate ("Config" , u"\u5173 \u95ed " , None ))
314+ self .clearCache .setText (QCoreApplication .translate ("Config" , u"\u5220 \u9664 \u7f13 \u5b58 " , None ))
309315 # retranslateUi
310316
0 commit comments