MainWindow.py 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. # -*- coding: utf-8 -*-
  2. # Form implementation generated from reading ui file 'MainWindow.ui'
  3. #
  4. # Created by: PyQt5 UI code generator 5.15.4
  5. #
  6. # WARNING: Any manual changes made to this file will be lost when pyuic5 is
  7. # run again. Do not edit this file unless you know what you are doing.
  8. from PyQt5 import QtCore, QtGui, QtWidgets
  9. class Ui_MainWindow(object):
  10. def setupUi(self, MainWindow):
  11. MainWindow.setObjectName("MainWindow")
  12. MainWindow.resize(1045, 316)
  13. font = QtGui.QFont()
  14. font.setFamily("微软雅黑")
  15. font.setBold(True)
  16. font.setWeight(75)
  17. MainWindow.setFont(font)
  18. self.centralwidget = QtWidgets.QWidget(MainWindow)
  19. self.centralwidget.setObjectName("centralwidget")
  20. self.downloadDirButton = QtWidgets.QPushButton(self.centralwidget)
  21. self.downloadDirButton.setGeometry(QtCore.QRect(630, 40, 31, 28))
  22. font = QtGui.QFont()
  23. font.setFamily("微软雅黑")
  24. font.setBold(True)
  25. font.setWeight(75)
  26. self.downloadDirButton.setFont(font)
  27. self.downloadDirButton.setAutoRepeat(False)
  28. self.downloadDirButton.setObjectName("downloadDirButton")
  29. self.downloadDirLabel = QtWidgets.QLabel(self.centralwidget)
  30. self.downloadDirLabel.setGeometry(QtCore.QRect(50, 41, 111, 32))
  31. self.downloadDirLabel.setObjectName("downloadDirLabel")
  32. self.outputDirLable = QtWidgets.QLabel(self.centralwidget)
  33. self.outputDirLable.setGeometry(QtCore.QRect(50, 80, 91, 32))
  34. self.outputDirLable.setObjectName("outputDirLable")
  35. self.outputDirEdit = QtWidgets.QTextEdit(self.centralwidget)
  36. self.outputDirEdit.setGeometry(QtCore.QRect(167, 78, 451, 32))
  37. self.outputDirEdit.setStyleSheet("rgb(255, 0, 0)")
  38. self.outputDirEdit.setDocumentTitle("")
  39. self.outputDirEdit.setObjectName("outputDirEdit")
  40. self.downloadDirEdit = QtWidgets.QTextEdit(self.centralwidget)
  41. self.downloadDirEdit.setGeometry(QtCore.QRect(167, 39, 451, 32))
  42. self.downloadDirEdit.setDocumentTitle("")
  43. self.downloadDirEdit.setObjectName("downloadDirEdit")
  44. self.outputDirButton = QtWidgets.QPushButton(self.centralwidget)
  45. self.outputDirButton.setGeometry(QtCore.QRect(630, 79, 31, 28))
  46. font = QtGui.QFont()
  47. font.setFamily("微软雅黑")
  48. self.outputDirButton.setFont(font)
  49. self.outputDirButton.setAutoRepeat(False)
  50. self.outputDirButton.setObjectName("outputDirButton")
  51. self.renameButton = QtWidgets.QPushButton(self.centralwidget)
  52. self.renameButton.setGeometry(QtCore.QRect(50, 121, 681, 41))
  53. font = QtGui.QFont()
  54. font.setFamily("微软雅黑")
  55. self.renameButton.setFont(font)
  56. self.renameButton.setObjectName("renameButton")
  57. self.copyToOutput = QtWidgets.QCheckBox(self.centralwidget)
  58. self.copyToOutput.setGeometry(QtCore.QRect(510, 170, 181, 25))
  59. font = QtGui.QFont()
  60. font.setFamily("阿里巴巴普惠体 R")
  61. self.copyToOutput.setFont(font)
  62. self.copyToOutput.setObjectName("copyToOutput")
  63. self.txtFileCheckBox = QtWidgets.QCheckBox(self.centralwidget)
  64. self.txtFileCheckBox.setGeometry(QtCore.QRect(160, 180, 110, 25))
  65. font = QtGui.QFont()
  66. font.setFamily("阿里巴巴普惠体 R")
  67. self.txtFileCheckBox.setFont(font)
  68. self.txtFileCheckBox.setObjectName("txtFileCheckBox")
  69. self.progressBar = QtWidgets.QProgressBar(self.centralwidget)
  70. self.progressBar.setGeometry(QtCore.QRect(50, 220, 731, 27))
  71. self.progressBar.setProperty("value", 99)
  72. self.progressBar.setObjectName("progressBar")
  73. self.activityLogEdit = QtWidgets.QPlainTextEdit(self.centralwidget)
  74. self.activityLogEdit.setGeometry(QtCore.QRect(780, 30, 251, 231))
  75. font = QtGui.QFont()
  76. font.setFamily("阿里巴巴普惠体 R")
  77. font.setPointSize(10)
  78. font.setBold(False)
  79. font.setWeight(50)
  80. self.activityLogEdit.setFont(font)
  81. self.activityLogEdit.setTabChangesFocus(False)
  82. self.activityLogEdit.setReadOnly(False)
  83. self.activityLogEdit.setPlainText("")
  84. self.activityLogEdit.setObjectName("activityLogEdit")
  85. self.activityLabel = QtWidgets.QLabel(self.centralwidget)
  86. self.activityLabel.setGeometry(QtCore.QRect(870, 10, 72, 15))
  87. self.activityLabel.setObjectName("activityLabel")
  88. self.moveToOutput = QtWidgets.QCheckBox(self.centralwidget)
  89. self.moveToOutput.setGeometry(QtCore.QRect(510, 190, 181, 25))
  90. font = QtGui.QFont()
  91. font.setFamily("阿里巴巴普惠体 R")
  92. self.moveToOutput.setFont(font)
  93. self.moveToOutput.setObjectName("moveToOutput")
  94. self.deleteFileCheckBox = QtWidgets.QCheckBox(self.centralwidget)
  95. self.deleteFileCheckBox.setGeometry(QtCore.QRect(290, 180, 211, 25))
  96. font = QtGui.QFont()
  97. font.setFamily("阿里巴巴普惠体 R")
  98. self.deleteFileCheckBox.setFont(font)
  99. self.deleteFileCheckBox.setObjectName("deleteFileCheckBox")
  100. self.label = QtWidgets.QLabel(self.centralwidget)
  101. self.label.setGeometry(QtCore.QRect(190, 10, 431, 21))
  102. font = QtGui.QFont()
  103. font.setFamily("微软雅黑")
  104. font.setPointSize(12)
  105. font.setBold(True)
  106. font.setItalic(False)
  107. font.setWeight(75)
  108. self.label.setFont(font)
  109. self.label.setStyleSheet("color:rgb(255, 0, 0)")
  110. self.label.setText("")
  111. self.label.setAlignment(QtCore.Qt.AlignCenter)
  112. self.label.setObjectName("label")
  113. self.spiderMode = QtWidgets.QCheckBox(self.centralwidget)
  114. self.spiderMode.setGeometry(QtCore.QRect(50, 190, 91, 25))
  115. font = QtGui.QFont()
  116. font.setFamily("阿里巴巴普惠体 R")
  117. self.spiderMode.setFont(font)
  118. self.spiderMode.setObjectName("spiderMode")
  119. self.localMode = QtWidgets.QCheckBox(self.centralwidget)
  120. self.localMode.setGeometry(QtCore.QRect(50, 170, 91, 25))
  121. font = QtGui.QFont()
  122. font.setFamily("阿里巴巴普惠体 R")
  123. self.localMode.setFont(font)
  124. self.localMode.setObjectName("localMode")
  125. MainWindow.setCentralWidget(self.centralwidget)
  126. self.statusbar = QtWidgets.QStatusBar(MainWindow)
  127. self.statusbar.setObjectName("statusbar")
  128. MainWindow.setStatusBar(self.statusbar)
  129. self.menubar = QtWidgets.QMenuBar(MainWindow)
  130. self.menubar.setGeometry(QtCore.QRect(0, 0, 1045, 23))
  131. self.menubar.setObjectName("menubar")
  132. MainWindow.setMenuBar(self.menubar)
  133. self.retranslateUi(MainWindow)
  134. QtCore.QMetaObject.connectSlotsByName(MainWindow)
  135. def retranslateUi(self, MainWindow):
  136. _translate = QtCore.QCoreApplication.translate
  137. MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
  138. self.downloadDirButton.setText(_translate("MainWindow", "..."))
  139. self.downloadDirLabel.setText(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
  140. "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
  141. "p, li { white-space: pre-wrap; }\n"
  142. "</style></head><body style=\" font-family:\'微软雅黑\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
  143. "<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>"))
  144. self.outputDirLable.setText(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
  145. "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
  146. "p, li { white-space: pre-wrap; }\n"
  147. "</style></head><body style=\" font-family:\'微软雅黑\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
  148. "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">输出文件夹:</p></body></html>"))
  149. self.outputDirButton.setText(_translate("MainWindow", "..."))
  150. self.renameButton.setText(_translate("MainWindow", "一键解密+整理+重命名"))
  151. self.copyToOutput.setText(_translate("MainWindow", "以复制文件的方式输出"))
  152. self.txtFileCheckBox.setText(_translate("MainWindow", "保存.txt文件"))
  153. self.activityLabel.setText(_translate("MainWindow", "活动日志"))
  154. self.moveToOutput.setText(_translate("MainWindow", "以移动文件的方式输出"))
  155. self.deleteFileCheckBox.setText(_translate("MainWindow", "重命名完成后删除源文件夹"))
  156. self.spiderMode.setText(_translate("MainWindow", "爬虫模式"))
  157. self.localMode.setText(_translate("MainWindow", "本地模式"))