forked from mrknow001/API-Explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
UI.py
120 lines (113 loc) · 6.38 KB
/
UI.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'UI.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(1206, 670)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.gridLayout_5 = QtWidgets.QGridLayout(self.centralwidget)
self.gridLayout_5.setObjectName("gridLayout_5")
self.groupBox_3 = QtWidgets.QGroupBox(self.centralwidget)
self.groupBox_3.setObjectName("groupBox_3")
self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_3)
self.gridLayout_4.setObjectName("gridLayout_4")
self.comboBox = QtWidgets.QComboBox(self.groupBox_3)
self.comboBox.setObjectName("comboBox")
self.gridLayout_4.addWidget(self.comboBox, 0, 0, 1, 1)
self.label = QtWidgets.QLabel(self.groupBox_3)
self.label.setObjectName("label")
self.gridLayout_4.addWidget(self.label, 0, 1, 1, 1)
self.lineEdit = QtWidgets.QLineEdit(self.groupBox_3)
self.lineEdit.setText("")
self.lineEdit.setObjectName("lineEdit")
self.gridLayout_4.addWidget(self.lineEdit, 0, 2, 1, 1)
self.label_2 = QtWidgets.QLabel(self.groupBox_3)
self.label_2.setObjectName("label_2")
self.gridLayout_4.addWidget(self.label_2, 0, 3, 1, 1)
self.lineEdit_2 = QtWidgets.QLineEdit(self.groupBox_3)
self.lineEdit_2.setText("")
self.lineEdit_2.setObjectName("lineEdit_2")
self.gridLayout_4.addWidget(self.lineEdit_2, 0, 4, 1, 1)
self.pushButton = QtWidgets.QPushButton(self.groupBox_3)
self.pushButton.setObjectName("pushButton")
self.gridLayout_4.addWidget(self.pushButton, 0, 5, 1, 1)
self.label_4 = QtWidgets.QLabel(self.groupBox_3)
self.label_4.setObjectName("label_4")
self.gridLayout_4.addWidget(self.label_4, 1, 0, 1, 1)
self.lineEdit_3 = QtWidgets.QLineEdit(self.groupBox_3)
self.lineEdit_3.setObjectName("lineEdit_3")
self.gridLayout_4.addWidget(self.lineEdit_3, 1, 1, 1, 4)
self.pushButton_6 = QtWidgets.QPushButton(self.groupBox_3)
self.pushButton_6.setObjectName("pushButton_6")
self.gridLayout_4.addWidget(self.pushButton_6, 1, 5, 1, 1)
self.gridLayout_5.addWidget(self.groupBox_3, 0, 0, 1, 1)
self.groupBox = QtWidgets.QGroupBox(self.centralwidget)
self.groupBox.setObjectName("groupBox")
self.gridLayout = QtWidgets.QGridLayout(self.groupBox)
self.gridLayout.setObjectName("gridLayout")
self.textBrowser = QtWidgets.QTextBrowser(self.groupBox)
self.textBrowser.setObjectName("textBrowser")
self.gridLayout.addWidget(self.textBrowser, 0, 0, 1, 1)
self.gridLayout_5.addWidget(self.groupBox, 2, 0, 1, 1)
self.label_3 = QtWidgets.QLabel(self.centralwidget)
self.label_3.setObjectName("label_3")
self.gridLayout_5.addWidget(self.label_3, 3, 0, 1, 1)
self.groupBox_2 = QtWidgets.QGroupBox(self.centralwidget)
self.groupBox_2.setObjectName("groupBox_2")
self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox_2)
self.gridLayout_3.setObjectName("gridLayout_3")
self.comboBox_2 = QtWidgets.QComboBox(self.groupBox_2)
self.comboBox_2.setObjectName("comboBox_2")
self.gridLayout_3.addWidget(self.comboBox_2, 0, 0, 1, 1)
self.comboBox_3 = QtWidgets.QComboBox(self.groupBox_2)
self.comboBox_3.setObjectName("comboBox_3")
self.gridLayout_3.addWidget(self.comboBox_3, 0, 1, 1, 1)
self.gridLayout_2 = QtWidgets.QGridLayout()
self.gridLayout_2.setObjectName("gridLayout_2")
self.pushButton_5 = QtWidgets.QPushButton(self.groupBox_2)
self.pushButton_5.setObjectName("pushButton_5")
self.gridLayout_2.addWidget(self.pushButton_5, 0, 0, 1, 1)
self.pushButton_4 = QtWidgets.QPushButton(self.groupBox_2)
self.pushButton_4.setObjectName("pushButton_4")
self.gridLayout_2.addWidget(self.pushButton_4, 0, 1, 1, 1)
self.pushButton_2 = QtWidgets.QPushButton(self.groupBox_2)
self.pushButton_2.setObjectName("pushButton_2")
self.gridLayout_2.addWidget(self.pushButton_2, 0, 2, 1, 1)
self.pushButton_3 = QtWidgets.QPushButton(self.groupBox_2)
self.pushButton_3.setObjectName("pushButton_3")
self.gridLayout_2.addWidget(self.pushButton_3, 0, 3, 1, 1)
self.gridLayout_3.addLayout(self.gridLayout_2, 0, 2, 1, 1)
self.gridLayout_5.addWidget(self.groupBox_2, 1, 0, 1, 1)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1206, 26))
self.menubar.setObjectName("menubar")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
self.groupBox_3.setTitle(_translate("MainWindow", "认证"))
self.label.setText(_translate("MainWindow", "appid"))
self.label_2.setText(_translate("MainWindow", "appscert"))
self.pushButton.setText(_translate("MainWindow", "获取Token"))
self.label_4.setText(_translate("MainWindow", "AccessToken"))
self.pushButton_6.setText(_translate("MainWindow", "Base64编码"))
self.groupBox.setTitle(_translate("MainWindow", "执行日志"))
self.label_3.setText(_translate("MainWindow", "公众号:刨洞安全团队"))
self.groupBox_2.setTitle(_translate("MainWindow", "功能"))
self.pushButton_5.setText(_translate("MainWindow", "接口说明"))
self.pushButton_4.setText(_translate("MainWindow", "接口配置"))
self.pushButton_2.setText(_translate("MainWindow", "获取"))
self.pushButton_3.setText(_translate("MainWindow", "清空日志"))