forked from Delen0828/mAIDo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settingDesign.py
173 lines (166 loc) · 7.33 KB
/
settingDesign.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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'settingDesign.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_Form(object):
def setupUi(self, Form):
Form.setObjectName("Form")
Form.resize(488, 290)
self.ScheduleLabel = QtWidgets.QLabel(Form)
self.ScheduleLabel.setGeometry(QtCore.QRect(14, 20, 181, 61))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(14)
font.setBold(True)
font.setWeight(75)
self.ScheduleLabel.setFont(font)
self.ScheduleLabel.setTextFormat(QtCore.Qt.PlainText)
self.ScheduleLabel.setObjectName("ScheduleLabel")
self.SchedulePeriod_1 = QtWidgets.QLabel(Form)
self.SchedulePeriod_1.setGeometry(QtCore.QRect(266, 26, 61, 51))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(14)
font.setBold(False)
font.setWeight(50)
self.SchedulePeriod_1.setFont(font)
self.SchedulePeriod_1.setTextFormat(QtCore.Qt.PlainText)
self.SchedulePeriod_1.setObjectName("SchedulePeriod_1")
self.schedule1 = QtWidgets.QComboBox(Form)
self.schedule1.setGeometry(QtCore.QRect(214, 30, 51, 41))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(14)
self.schedule1.setFont(font)
self.schedule1.setObjectName("schedule1")
self.schedule1.addItem("")
self.schedule1.addItem("")
self.schedule1.addItem("")
self.schedule1.addItem("")
self.schedule1.addItem("")
self.schedule1.addItem("")
self.schedule2 = QtWidgets.QComboBox(Form)
self.schedule2.setGeometry(QtCore.QRect(356, 30, 51, 41))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(14)
self.schedule2.setFont(font)
self.schedule2.setObjectName("schedule2")
self.schedule2.addItem("")
self.schedule2.addItem("")
self.schedule2.addItem("")
self.schedule2.addItem("")
self.schedule2.addItem("")
self.schedule2.addItem("")
self.schedule2.addItem("")
self.schedule2.addItem("")
self.schedule2.addItem("")
self.schedule2.addItem("")
self.SchedulePeriod_2 = QtWidgets.QLabel(Form)
self.SchedulePeriod_2.setGeometry(QtCore.QRect(409, 26, 61, 51))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(14)
font.setBold(False)
font.setWeight(50)
self.SchedulePeriod_2.setFont(font)
self.SchedulePeriod_2.setTextFormat(QtCore.Qt.PlainText)
self.SchedulePeriod_2.setObjectName("SchedulePeriod_2")
self.WeekDayLabel = QtWidgets.QLabel(Form)
self.WeekDayLabel.setGeometry(QtCore.QRect(9, 100, 181, 61))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(14)
font.setBold(True)
font.setWeight(75)
self.WeekDayLabel.setFont(font)
self.WeekDayLabel.setTextFormat(QtCore.Qt.PlainText)
self.WeekDayLabel.setObjectName("WeekDayLabel")
self.mondayfirst = QtWidgets.QRadioButton(Form)
self.mondayfirst.setGeometry(QtCore.QRect(180, 111, 131, 41))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(14)
self.mondayfirst.setFont(font)
self.mondayfirst.setObjectName("mondayfirst")
self.sundayfirst = QtWidgets.QRadioButton(Form)
self.sundayfirst.setGeometry(QtCore.QRect(318, 112, 131, 41))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(14)
self.sundayfirst.setFont(font)
self.sundayfirst.setObjectName("sundayfirst")
self.RankLabel = QtWidgets.QLabel(Form)
self.RankLabel.setGeometry(QtCore.QRect(46, 170, 181, 61))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(14)
font.setBold(True)
font.setWeight(75)
self.RankLabel.setFont(font)
self.RankLabel.setTextFormat(QtCore.Qt.PlainText)
self.RankLabel.setObjectName("RankLabel")
self.Rank1 = QtWidgets.QRadioButton(Form)
self.Rank1.setGeometry(QtCore.QRect(181, 180, 131, 41))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(14)
self.Rank1.setFont(font)
self.Rank1.setObjectName("Rank1")
self.Rank1_2 = QtWidgets.QRadioButton(Form)
self.Rank1_2.setGeometry(QtCore.QRect(319, 180, 151, 41))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(14)
self.Rank1_2.setFont(font)
self.Rank1_2.setObjectName("Rank1_2")
self.SaveSettingButton = QtWidgets.QPushButton(Form)
self.SaveSettingButton.setGeometry(QtCore.QRect(185, 230, 130, 51))
self.SaveSettingButton.setObjectName("SaveSettingButton")
self.SchedulePeriod_1.raise_()
self.ScheduleLabel.raise_()
self.schedule1.raise_()
self.schedule2.raise_()
self.SchedulePeriod_2.raise_()
self.WeekDayLabel.raise_()
self.mondayfirst.raise_()
self.sundayfirst.raise_()
self.RankLabel.raise_()
self.Rank1.raise_()
self.Rank1_2.raise_()
self.SaveSettingButton.raise_()
self.retranslateUi(Form)
QtCore.QMetaObject.connectSlotsByName(Form)
def retranslateUi(self, Form):
_translate = QtCore.QCoreApplication.translate
Form.setWindowTitle(_translate("Form", "Form"))
self.ScheduleLabel.setText(_translate("Form", "Schedule Period"))
self.SchedulePeriod_1.setText(_translate("Form", ":00 - "))
self.schedule1.setItemText(0, _translate("Form", "7"))
self.schedule1.setItemText(1, _translate("Form", "8"))
self.schedule1.setItemText(2, _translate("Form", "9"))
self.schedule1.setItemText(3, _translate("Form", "10"))
self.schedule1.setItemText(4, _translate("Form", "11"))
self.schedule1.setItemText(5, _translate("Form", "12"))
self.schedule2.setItemText(0, _translate("Form", "13"))
self.schedule2.setItemText(1, _translate("Form", "14"))
self.schedule2.setItemText(2, _translate("Form", "15"))
self.schedule2.setItemText(3, _translate("Form", "16"))
self.schedule2.setItemText(4, _translate("Form", "17"))
self.schedule2.setItemText(5, _translate("Form", "18"))
self.schedule2.setItemText(6, _translate("Form", "19"))
self.schedule2.setItemText(7, _translate("Form", "20"))
self.schedule2.setItemText(8, _translate("Form", "21"))
self.schedule2.setItemText(9, _translate("Form", "22"))
self.SchedulePeriod_2.setText(_translate("Form", ":00"))
self.WeekDayLabel.setText(_translate("Form", "WeekDay Format"))
self.mondayfirst.setText(_translate("Form", "Monday First"))
self.sundayfirst.setText(_translate("Form", "Sunday First"))
self.RankLabel.setText(_translate("Form", "Rank Priority"))
self.Rank1.setText(_translate("Form", "Priority First"))
self.Rank1_2.setText(_translate("Form", "Workload First"))
self.SaveSettingButton.setText(_translate("Form", "Save Setting"))