|
@@ -14,7 +14,7 @@ from PyQt5 import QtCore, QtGui, QtWidgets
|
|
class Ui_MainWindow(object):
|
|
class Ui_MainWindow(object):
|
|
def setupUi(self, MainWindow):
|
|
def setupUi(self, MainWindow):
|
|
MainWindow.setObjectName("MainWindow")
|
|
MainWindow.setObjectName("MainWindow")
|
|
- MainWindow.resize(1045, 301)
|
|
|
|
|
|
+ MainWindow.resize(1045, 316)
|
|
font = QtGui.QFont()
|
|
font = QtGui.QFont()
|
|
font.setFamily("微软雅黑")
|
|
font.setFamily("微软雅黑")
|
|
font.setBold(True)
|
|
font.setBold(True)
|
|
@@ -66,7 +66,7 @@ class Ui_MainWindow(object):
|
|
self.copyToOutput.setFont(font)
|
|
self.copyToOutput.setFont(font)
|
|
self.copyToOutput.setObjectName("copyToOutput")
|
|
self.copyToOutput.setObjectName("copyToOutput")
|
|
self.txtFileCheckBox = QtWidgets.QCheckBox(self.centralwidget)
|
|
self.txtFileCheckBox = QtWidgets.QCheckBox(self.centralwidget)
|
|
- self.txtFileCheckBox.setGeometry(QtCore.QRect(380, 180, 110, 25))
|
|
|
|
|
|
+ self.txtFileCheckBox.setGeometry(QtCore.QRect(160, 180, 110, 25))
|
|
font = QtGui.QFont()
|
|
font = QtGui.QFont()
|
|
font.setFamily("阿里巴巴普惠体 R")
|
|
font.setFamily("阿里巴巴普惠体 R")
|
|
self.txtFileCheckBox.setFont(font)
|
|
self.txtFileCheckBox.setFont(font)
|
|
@@ -97,7 +97,7 @@ class Ui_MainWindow(object):
|
|
self.moveToOutput.setFont(font)
|
|
self.moveToOutput.setFont(font)
|
|
self.moveToOutput.setObjectName("moveToOutput")
|
|
self.moveToOutput.setObjectName("moveToOutput")
|
|
self.deleteFileCheckBox = QtWidgets.QCheckBox(self.centralwidget)
|
|
self.deleteFileCheckBox = QtWidgets.QCheckBox(self.centralwidget)
|
|
- self.deleteFileCheckBox.setGeometry(QtCore.QRect(160, 180, 211, 25))
|
|
|
|
|
|
+ self.deleteFileCheckBox.setGeometry(QtCore.QRect(290, 180, 211, 25))
|
|
font = QtGui.QFont()
|
|
font = QtGui.QFont()
|
|
font.setFamily("阿里巴巴普惠体 R")
|
|
font.setFamily("阿里巴巴普惠体 R")
|
|
self.deleteFileCheckBox.setFont(font)
|
|
self.deleteFileCheckBox.setFont(font)
|
|
@@ -112,7 +112,21 @@ class Ui_MainWindow(object):
|
|
font.setWeight(75)
|
|
font.setWeight(75)
|
|
self.label.setFont(font)
|
|
self.label.setFont(font)
|
|
self.label.setStyleSheet("color:rgb(255, 0, 0)")
|
|
self.label.setStyleSheet("color:rgb(255, 0, 0)")
|
|
|
|
+ self.label.setText("")
|
|
|
|
+ self.label.setAlignment(QtCore.Qt.AlignCenter)
|
|
self.label.setObjectName("label")
|
|
self.label.setObjectName("label")
|
|
|
|
+ self.spiderMode = QtWidgets.QCheckBox(self.centralwidget)
|
|
|
|
+ self.spiderMode.setGeometry(QtCore.QRect(50, 190, 91, 25))
|
|
|
|
+ font = QtGui.QFont()
|
|
|
|
+ font.setFamily("阿里巴巴普惠体 R")
|
|
|
|
+ self.spiderMode.setFont(font)
|
|
|
|
+ self.spiderMode.setObjectName("spiderMode")
|
|
|
|
+ self.localMode = QtWidgets.QCheckBox(self.centralwidget)
|
|
|
|
+ self.localMode.setGeometry(QtCore.QRect(50, 170, 91, 25))
|
|
|
|
+ font = QtGui.QFont()
|
|
|
|
+ font.setFamily("阿里巴巴普惠体 R")
|
|
|
|
+ self.localMode.setFont(font)
|
|
|
|
+ self.localMode.setObjectName("localMode")
|
|
MainWindow.setCentralWidget(self.centralwidget)
|
|
MainWindow.setCentralWidget(self.centralwidget)
|
|
self.statusbar = QtWidgets.QStatusBar(MainWindow)
|
|
self.statusbar = QtWidgets.QStatusBar(MainWindow)
|
|
self.statusbar.setObjectName("statusbar")
|
|
self.statusbar.setObjectName("statusbar")
|
|
@@ -140,10 +154,11 @@ class Ui_MainWindow(object):
|
|
"</style></head><body style=\" font-family:\'微软雅黑\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
|
|
"</style></head><body style=\" font-family:\'微软雅黑\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">输出文件夹:</p></body></html>"))
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">输出文件夹:</p></body></html>"))
|
|
self.outputDirButton.setText(_translate("MainWindow", "..."))
|
|
self.outputDirButton.setText(_translate("MainWindow", "..."))
|
|
- self.renameButton.setText(_translate("MainWindow", "一键爬取+重命名"))
|
|
|
|
|
|
+ self.renameButton.setText(_translate("MainWindow", "一键整理+重命名"))
|
|
self.copyToOutput.setText(_translate("MainWindow", "以复制文件的方式输出"))
|
|
self.copyToOutput.setText(_translate("MainWindow", "以复制文件的方式输出"))
|
|
self.txtFileCheckBox.setText(_translate("MainWindow", "保存.txt文件"))
|
|
self.txtFileCheckBox.setText(_translate("MainWindow", "保存.txt文件"))
|
|
self.activityLabel.setText(_translate("MainWindow", "活动日志"))
|
|
self.activityLabel.setText(_translate("MainWindow", "活动日志"))
|
|
self.moveToOutput.setText(_translate("MainWindow", "以移动文件的方式输出"))
|
|
self.moveToOutput.setText(_translate("MainWindow", "以移动文件的方式输出"))
|
|
self.deleteFileCheckBox.setText(_translate("MainWindow", "重命名完成后删除源文件夹"))
|
|
self.deleteFileCheckBox.setText(_translate("MainWindow", "重命名完成后删除源文件夹"))
|
|
- self.label.setText(_translate("MainWindow", "使用前请关闭代理服务并确保网络环境通畅哦!"))
|
|
|
|
|
|
+ self.spiderMode.setText(_translate("MainWindow", "爬虫模式"))
|
|
|
|
+ self.localMode.setText(_translate("MainWindow", "本地模式"))
|