forked from yqchilde/JDMemberCloseAccount
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJDMCA_Form.py
130 lines (123 loc) · 7.4 KB
/
JDMCA_Form.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'JDMCA_Form.ui'
#
# Created by: PyQt5 UI code generator 5.15.6
#
# 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_JDMCA(object):
def setupUi(self, JDMCA):
JDMCA.setObjectName("JDMCA")
JDMCA.resize(673, 585)
self.Btn_Run = QtWidgets.QPushButton(JDMCA)
self.Btn_Run.setGeometry(QtCore.QRect(537, 527, 131, 51))
self.Btn_Run.setObjectName("Btn_Run")
self.groupBox = QtWidgets.QGroupBox(JDMCA)
self.groupBox.setGeometry(QtCore.QRect(6, 2, 661, 121))
self.groupBox.setObjectName("groupBox")
self.Cookie = QtWidgets.QLabel(self.groupBox)
self.Cookie.setGeometry(QtCore.QRect(10, 42, 54, 12))
self.Cookie.setObjectName("Cookie")
self.Txt_Cookie = QtWidgets.QPlainTextEdit(self.groupBox)
self.Txt_Cookie.setGeometry(QtCore.QRect(10, 62, 641, 51))
self.Txt_Cookie.setObjectName("Txt_Cookie")
self.layoutWidget = QtWidgets.QWidget(self.groupBox)
self.layoutWidget.setGeometry(QtCore.QRect(10, 20, 453, 18))
self.layoutWidget.setObjectName("layoutWidget")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.layoutWidget)
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout.setObjectName("horizontalLayout")
self.Chk_Muilt = QtWidgets.QCheckBox(self.layoutWidget)
self.Chk_Muilt.setObjectName("Chk_Muilt")
self.horizontalLayout.addWidget(self.Chk_Muilt)
self.Chk_Auto = QtWidgets.QCheckBox(self.layoutWidget)
self.Chk_Auto.setObjectName("Chk_Auto")
self.horizontalLayout.addWidget(self.Chk_Auto)
self.Chk_LocalMsg = QtWidgets.QCheckBox(self.layoutWidget)
self.Chk_LocalMsg.setObjectName("Chk_LocalMsg")
self.horizontalLayout.addWidget(self.Chk_LocalMsg)
self.Chk_CloudID = QtWidgets.QCheckBox(self.layoutWidget)
self.Chk_CloudID.setObjectName("Chk_CloudID")
self.horizontalLayout.addWidget(self.Chk_CloudID)
self.Chk_Headless = QtWidgets.QCheckBox(self.layoutWidget)
self.Chk_Headless.setObjectName("Chk_Headless")
self.horizontalLayout.addWidget(self.Chk_Headless)
self.KeyTable = QtWidgets.QTableWidget(JDMCA)
self.KeyTable.setGeometry(QtCore.QRect(6, 127, 661, 391))
self.KeyTable.setObjectName("KeyTable")
self.KeyTable.setColumnCount(2)
self.KeyTable.setRowCount(0)
item = QtWidgets.QTableWidgetItem()
self.KeyTable.setHorizontalHeaderItem(0, item)
item = QtWidgets.QTableWidgetItem()
self.KeyTable.setHorizontalHeaderItem(1, item)
self.layoutWidget1 = QtWidgets.QWidget(JDMCA)
self.layoutWidget1.setGeometry(QtCore.QRect(10, 525, 353, 25))
self.layoutWidget1.setObjectName("layoutWidget1")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.layoutWidget1)
self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.Btn_InstallPip = QtWidgets.QPushButton(self.layoutWidget1)
self.Btn_InstallPip.setObjectName("Btn_InstallPip")
self.horizontalLayout_2.addWidget(self.Btn_InstallPip)
self.Combox_mirror = QtWidgets.QComboBox(self.layoutWidget1)
self.Combox_mirror.setObjectName("Combox_mirror")
self.Combox_mirror.addItem("")
self.Combox_mirror.addItem("")
self.Combox_mirror.addItem("")
self.Combox_mirror.addItem("")
self.horizontalLayout_2.addWidget(self.Combox_mirror)
self.Txt_ModuleName = QtWidgets.QLineEdit(self.layoutWidget1)
self.Txt_ModuleName.setObjectName("Txt_ModuleName")
self.horizontalLayout_2.addWidget(self.Txt_ModuleName)
self.Btn_InstallPip_One = QtWidgets.QPushButton(self.layoutWidget1)
self.Btn_InstallPip_One.setObjectName("Btn_InstallPip_One")
self.horizontalLayout_2.addWidget(self.Btn_InstallPip_One)
self.widget = QtWidgets.QWidget(JDMCA)
self.widget.setGeometry(QtCore.QRect(10, 555, 187, 25))
self.widget.setObjectName("widget")
self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.widget)
self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.Btn_unInstallPip = QtWidgets.QPushButton(self.widget)
self.Btn_unInstallPip.setObjectName("Btn_unInstallPip")
self.horizontalLayout_3.addWidget(self.Btn_unInstallPip)
self.Btn_downchromedriver = QtWidgets.QPushButton(self.widget)
self.Btn_downchromedriver.setObjectName("Btn_downchromedriver")
self.horizontalLayout_3.addWidget(self.Btn_downchromedriver)
self.retranslateUi(JDMCA)
QtCore.QMetaObject.connectSlotsByName(JDMCA)
JDMCA.setTabOrder(self.Chk_Muilt, self.Chk_LocalMsg)
JDMCA.setTabOrder(self.Chk_LocalMsg, self.Chk_Auto)
JDMCA.setTabOrder(self.Chk_Auto, self.Chk_CloudID)
JDMCA.setTabOrder(self.Chk_CloudID, self.Chk_Headless)
JDMCA.setTabOrder(self.Chk_Headless, self.KeyTable)
JDMCA.setTabOrder(self.KeyTable, self.Btn_Run)
def retranslateUi(self, JDMCA):
_translate = QtCore.QCoreApplication.translate
JDMCA.setWindowTitle(_translate("JDMCA", "退会无脑工具"))
self.Btn_Run.setText(_translate("JDMCA", "跑"))
self.groupBox.setTitle(_translate("JDMCA", "设置"))
self.Cookie.setText(_translate("JDMCA", "Cookie:"))
self.Chk_Muilt.setText(_translate("JDMCA", "多账号同退"))
self.Chk_Auto.setWhatsThis(_translate("JDMCA", "<html><head/><body><p>开启自动退会,定时时间自己改config.yaml</p></body></html>"))
self.Chk_Auto.setText(_translate("JDMCA", "定时自动退会"))
self.Chk_LocalMsg.setWhatsThis(_translate("JDMCA", "<html><head/><body><p>使用内建的短信接收器,不要再运行jd_wstool,否则验证码接收失败。</p></body></html>"))
self.Chk_LocalMsg.setText(_translate("JDMCA", "短信内部监听"))
self.Chk_CloudID.setWhatsThis(_translate("JDMCA", "<html><head/><body><p>退隐藏店铺会员卡,浏览器会出现很多“网络请求失败”,请忽略</p></body></html>"))
self.Chk_CloudID.setText(_translate("JDMCA", "云店铺列表"))
self.Chk_Headless.setWhatsThis(_translate("JDMCA", "<html><head/><body><p>不想看到浏览器的影子,就打钩。</p></body></html>"))
self.Chk_Headless.setText(_translate("JDMCA", "无头模式"))
item = self.KeyTable.horizontalHeaderItem(0)
item.setText(_translate("JDMCA", "端口"))
item = self.KeyTable.horizontalHeaderItem(1)
item.setText(_translate("JDMCA", "Key"))
self.Btn_InstallPip.setText(_translate("JDMCA", "安装依赖"))
self.Combox_mirror.setItemText(0, _translate("JDMCA", "豆瓣"))
self.Combox_mirror.setItemText(1, _translate("JDMCA", "清华"))
self.Combox_mirror.setItemText(2, _translate("JDMCA", "腾讯"))
self.Combox_mirror.setItemText(3, _translate("JDMCA", "阿里"))
self.Btn_InstallPip_One.setText(_translate("JDMCA", "安装"))
self.Btn_unInstallPip.setText(_translate("JDMCA", "卸载依赖"))
self.Btn_downchromedriver.setText(_translate("JDMCA", "下载chromedriver"))