|
@@ -0,0 +1,149 @@
|
|
|
|
+# -*- coding: utf-8 -*-
|
|
|
|
+
|
|
|
|
+# Form implementation generated from reading ui file 'MainWindow.ui'
|
|
|
|
+#
|
|
|
|
+# Created by: PyQt5 UI code generator 5.15.4
|
|
|
|
+#
|
|
|
|
+# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
|
|
|
+# run again. Do not edit this file unless you know what you are doing.
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+from PyQt5 import QtCore, QtGui, QtWidgets
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+class Ui_MainWindow(object):
|
|
|
|
+ def setupUi(self, MainWindow):
|
|
|
|
+ MainWindow.setObjectName("MainWindow")
|
|
|
|
+ MainWindow.resize(1045, 301)
|
|
|
|
+ font = QtGui.QFont()
|
|
|
|
+ font.setFamily("微软雅黑")
|
|
|
|
+ font.setBold(True)
|
|
|
|
+ font.setWeight(75)
|
|
|
|
+ MainWindow.setFont(font)
|
|
|
|
+ self.centralwidget = QtWidgets.QWidget(MainWindow)
|
|
|
|
+ self.centralwidget.setObjectName("centralwidget")
|
|
|
|
+ self.downloadDirButton = QtWidgets.QPushButton(self.centralwidget)
|
|
|
|
+ self.downloadDirButton.setGeometry(QtCore.QRect(630, 40, 31, 28))
|
|
|
|
+ font = QtGui.QFont()
|
|
|
|
+ font.setFamily("微软雅黑")
|
|
|
|
+ font.setBold(True)
|
|
|
|
+ font.setWeight(75)
|
|
|
|
+ self.downloadDirButton.setFont(font)
|
|
|
|
+ self.downloadDirButton.setAutoRepeat(False)
|
|
|
|
+ self.downloadDirButton.setObjectName("downloadDirButton")
|
|
|
|
+ self.downloadDirLabel = QtWidgets.QLabel(self.centralwidget)
|
|
|
|
+ self.downloadDirLabel.setGeometry(QtCore.QRect(50, 41, 111, 32))
|
|
|
|
+ self.downloadDirLabel.setObjectName("downloadDirLabel")
|
|
|
|
+ self.outputDirLable = QtWidgets.QLabel(self.centralwidget)
|
|
|
|
+ self.outputDirLable.setGeometry(QtCore.QRect(50, 80, 91, 32))
|
|
|
|
+ self.outputDirLable.setObjectName("outputDirLable")
|
|
|
|
+ self.outputDirEdit = QtWidgets.QTextEdit(self.centralwidget)
|
|
|
|
+ self.outputDirEdit.setGeometry(QtCore.QRect(167, 78, 451, 32))
|
|
|
|
+ self.outputDirEdit.setStyleSheet("rgb(255, 0, 0)")
|
|
|
|
+ self.outputDirEdit.setDocumentTitle("")
|
|
|
|
+ self.outputDirEdit.setObjectName("outputDirEdit")
|
|
|
|
+ self.downloadDirEdit = QtWidgets.QTextEdit(self.centralwidget)
|
|
|
|
+ self.downloadDirEdit.setGeometry(QtCore.QRect(167, 39, 451, 32))
|
|
|
|
+ self.downloadDirEdit.setDocumentTitle("")
|
|
|
|
+ self.downloadDirEdit.setObjectName("downloadDirEdit")
|
|
|
|
+ self.outputDirButton = QtWidgets.QPushButton(self.centralwidget)
|
|
|
|
+ self.outputDirButton.setGeometry(QtCore.QRect(630, 79, 31, 28))
|
|
|
|
+ font = QtGui.QFont()
|
|
|
|
+ font.setFamily("微软雅黑")
|
|
|
|
+ self.outputDirButton.setFont(font)
|
|
|
|
+ self.outputDirButton.setAutoRepeat(False)
|
|
|
|
+ self.outputDirButton.setObjectName("outputDirButton")
|
|
|
|
+ self.renameButton = QtWidgets.QPushButton(self.centralwidget)
|
|
|
|
+ self.renameButton.setGeometry(QtCore.QRect(50, 121, 681, 41))
|
|
|
|
+ font = QtGui.QFont()
|
|
|
|
+ font.setFamily("微软雅黑")
|
|
|
|
+ self.renameButton.setFont(font)
|
|
|
|
+ self.renameButton.setObjectName("renameButton")
|
|
|
|
+ self.copyToOutput = QtWidgets.QCheckBox(self.centralwidget)
|
|
|
|
+ self.copyToOutput.setGeometry(QtCore.QRect(510, 170, 181, 25))
|
|
|
|
+ font = QtGui.QFont()
|
|
|
|
+ font.setFamily("阿里巴巴普惠体 R")
|
|
|
|
+ self.copyToOutput.setFont(font)
|
|
|
|
+ self.copyToOutput.setObjectName("copyToOutput")
|
|
|
|
+ self.txtFileCheckBox = QtWidgets.QCheckBox(self.centralwidget)
|
|
|
|
+ self.txtFileCheckBox.setGeometry(QtCore.QRect(380, 180, 110, 25))
|
|
|
|
+ font = QtGui.QFont()
|
|
|
|
+ font.setFamily("阿里巴巴普惠体 R")
|
|
|
|
+ self.txtFileCheckBox.setFont(font)
|
|
|
|
+ self.txtFileCheckBox.setObjectName("txtFileCheckBox")
|
|
|
|
+ self.progressBar = QtWidgets.QProgressBar(self.centralwidget)
|
|
|
|
+ self.progressBar.setGeometry(QtCore.QRect(50, 220, 731, 27))
|
|
|
|
+ self.progressBar.setProperty("value", 99)
|
|
|
|
+ self.progressBar.setObjectName("progressBar")
|
|
|
|
+ self.activityLogEdit = QtWidgets.QPlainTextEdit(self.centralwidget)
|
|
|
|
+ self.activityLogEdit.setGeometry(QtCore.QRect(780, 30, 251, 231))
|
|
|
|
+ font = QtGui.QFont()
|
|
|
|
+ font.setFamily("阿里巴巴普惠体 R")
|
|
|
|
+ font.setPointSize(7)
|
|
|
|
+ font.setBold(False)
|
|
|
|
+ font.setWeight(50)
|
|
|
|
+ self.activityLogEdit.setFont(font)
|
|
|
|
+ self.activityLogEdit.setTabChangesFocus(False)
|
|
|
|
+ self.activityLogEdit.setReadOnly(False)
|
|
|
|
+ self.activityLogEdit.setPlainText("")
|
|
|
|
+ self.activityLogEdit.setObjectName("activityLogEdit")
|
|
|
|
+ self.activityLabel = QtWidgets.QLabel(self.centralwidget)
|
|
|
|
+ self.activityLabel.setGeometry(QtCore.QRect(870, 10, 72, 15))
|
|
|
|
+ self.activityLabel.setObjectName("activityLabel")
|
|
|
|
+ self.moveToOutput = QtWidgets.QCheckBox(self.centralwidget)
|
|
|
|
+ self.moveToOutput.setGeometry(QtCore.QRect(510, 190, 181, 25))
|
|
|
|
+ font = QtGui.QFont()
|
|
|
|
+ font.setFamily("阿里巴巴普惠体 R")
|
|
|
|
+ self.moveToOutput.setFont(font)
|
|
|
|
+ self.moveToOutput.setObjectName("moveToOutput")
|
|
|
|
+ self.deleteFileCheckBox = QtWidgets.QCheckBox(self.centralwidget)
|
|
|
|
+ self.deleteFileCheckBox.setGeometry(QtCore.QRect(160, 180, 211, 25))
|
|
|
|
+ font = QtGui.QFont()
|
|
|
|
+ font.setFamily("阿里巴巴普惠体 R")
|
|
|
|
+ self.deleteFileCheckBox.setFont(font)
|
|
|
|
+ self.deleteFileCheckBox.setObjectName("deleteFileCheckBox")
|
|
|
|
+ self.label = QtWidgets.QLabel(self.centralwidget)
|
|
|
|
+ self.label.setGeometry(QtCore.QRect(190, 10, 431, 21))
|
|
|
|
+ font = QtGui.QFont()
|
|
|
|
+ font.setFamily("微软雅黑")
|
|
|
|
+ font.setPointSize(12)
|
|
|
|
+ font.setBold(True)
|
|
|
|
+ font.setItalic(False)
|
|
|
|
+ font.setWeight(75)
|
|
|
|
+ self.label.setFont(font)
|
|
|
|
+ self.label.setStyleSheet("color:rgb(255, 0, 0)")
|
|
|
|
+ self.label.setObjectName("label")
|
|
|
|
+ MainWindow.setCentralWidget(self.centralwidget)
|
|
|
|
+ self.statusbar = QtWidgets.QStatusBar(MainWindow)
|
|
|
|
+ self.statusbar.setObjectName("statusbar")
|
|
|
|
+ MainWindow.setStatusBar(self.statusbar)
|
|
|
|
+ self.menubar = QtWidgets.QMenuBar(MainWindow)
|
|
|
|
+ self.menubar.setGeometry(QtCore.QRect(0, 0, 1045, 26))
|
|
|
|
+ self.menubar.setObjectName("menubar")
|
|
|
|
+ MainWindow.setMenuBar(self.menubar)
|
|
|
|
+
|
|
|
|
+ self.retranslateUi(MainWindow)
|
|
|
|
+ QtCore.QMetaObject.connectSlotsByName(MainWindow)
|
|
|
|
+
|
|
|
|
+ def retranslateUi(self, MainWindow):
|
|
|
|
+ _translate = QtCore.QCoreApplication.translate
|
|
|
|
+ MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
|
|
|
|
+ self.downloadDirButton.setText(_translate("MainWindow", "..."))
|
|
|
|
+ self.downloadDirLabel.setText(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
|
|
|
+"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
|
|
|
+"p, li { white-space: pre-wrap; }\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;\">UWP下载目录:</p></body></html>"))
|
|
|
|
+ self.outputDirLable.setText(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
|
|
|
+"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
|
|
|
+"p, li { white-space: pre-wrap; }\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>"))
|
|
|
|
+ self.outputDirButton.setText(_translate("MainWindow", "..."))
|
|
|
|
+ self.renameButton.setText(_translate("MainWindow", "一键爬取+重命名"))
|
|
|
|
+ self.copyToOutput.setText(_translate("MainWindow", "以复制文件的方式输出"))
|
|
|
|
+ self.txtFileCheckBox.setText(_translate("MainWindow", "保存.txt文件"))
|
|
|
|
+ self.activityLabel.setText(_translate("MainWindow", "活动日志"))
|
|
|
|
+ self.moveToOutput.setText(_translate("MainWindow", "以移动文件的方式输出"))
|
|
|
|
+ self.deleteFileCheckBox.setText(_translate("MainWindow", "重命名完成后删除源文件夹"))
|
|
|
|
+ self.label.setText(_translate("MainWindow", "使用前请关闭代理服务并确保网络环境通畅哦!"))
|