-
Notifications
You must be signed in to change notification settings - Fork 1
/
Ui_big_boss.py
95 lines (89 loc) · 4.68 KB
/
Ui_big_boss.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'd:\软件\github\big_boss\big_boss.ui'
#
# Created by: PyQt5 UI code generator 5.11.3
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(400, 450)
MainWindow.setMinimumSize(QtCore.QSize(400, 450))
MainWindow.setMaximumSize(QtCore.QSize(400, 450))
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.frame = QtWidgets.QFrame(self.centralwidget)
self.frame.setGeometry(QtCore.QRect(65, 10, 270, 380))
self.frame.setMaximumSize(QtCore.QSize(270, 16777215))
self.frame.setFrameShape(QtWidgets.QFrame.Box)
self.frame.setFrameShadow(QtWidgets.QFrame.Sunken)
self.frame.setObjectName("frame")
self.gridLayout_3 = QtWidgets.QGridLayout(self.frame)
self.gridLayout_3.setObjectName("gridLayout_3")
self.line_3 = QtWidgets.QFrame(self.frame)
self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_3.setObjectName("line_3")
self.gridLayout_3.addWidget(self.line_3, 1, 0, 1, 1)
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setObjectName("verticalLayout")
self.label = QtWidgets.QLabel(self.frame)
font = QtGui.QFont()
font.setFamily("Times New Roman")
font.setPointSize(24)
self.label.setFont(font)
self.label.setObjectName("label")
self.verticalLayout.addWidget(self.label)
self.line_2 = QtWidgets.QFrame(self.frame)
self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_2.setObjectName("line_2")
self.verticalLayout.addWidget(self.line_2)
self.plainTextEdit = QtWidgets.QPlainTextEdit(self.frame)
self.plainTextEdit.setMaximumSize(QtCore.QSize(246, 50))
self.plainTextEdit.setReadOnly(True)
self.plainTextEdit.setObjectName("plainTextEdit")
self.verticalLayout.addWidget(self.plainTextEdit)
self.textEdit = QtWidgets.QTextEdit(self.frame)
self.textEdit.setMinimumSize(QtCore.QSize(246, 124))
self.textEdit.setObjectName("textEdit")
self.verticalLayout.addWidget(self.textEdit)
self.line = QtWidgets.QFrame(self.frame)
self.line.setFrameShape(QtWidgets.QFrame.HLine)
self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line.setObjectName("line")
self.verticalLayout.addWidget(self.line)
self.start_btn = QtWidgets.QPushButton(self.frame)
self.start_btn.setLayoutDirection(QtCore.Qt.RightToLeft)
self.start_btn.setObjectName("start_btn")
self.verticalLayout.addWidget(self.start_btn)
self.pushButton = QtWidgets.QPushButton(self.frame)
self.pushButton.setObjectName("pushButton")
self.verticalLayout.addWidget(self.pushButton)
self.gridLayout_3.addLayout(self.verticalLayout, 0, 0, 1, 1)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 400, 23))
self.menubar.setObjectName("menubar")
MainWindow.setMenuBar(self.menubar)
self.statusBar = QtWidgets.QStatusBar(MainWindow)
self.statusBar.setObjectName("statusBar")
MainWindow.setStatusBar(self.statusBar)
self.actionFile = QtWidgets.QAction(MainWindow)
self.actionFile.setObjectName("actionFile")
self.actionAbout_2 = QtWidgets.QAction(MainWindow)
self.actionAbout_2.setObjectName("actionAbout_2")
self.retranslateUi(MainWindow)
self.start_btn.clicked.connect(MainWindow.start_onmyoji)
self.pushButton.clicked.connect(MainWindow.stop_onmyoji)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "提醒助手"))
self.label.setText(_translate("MainWindow", "提醒助手"))
self.plainTextEdit.setPlainText(_translate("MainWindow", "本软件仅作为测试用途,测试结束后请尽快删除。NGA-tarsus"))
self.start_btn.setText(_translate("MainWindow", "开始"))
self.pushButton.setText(_translate("MainWindow", "结束"))
self.actionFile.setText(_translate("MainWindow", "File"))
self.actionAbout_2.setText(_translate("MainWindow", "About"))