-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprojectuitry.py
289 lines (282 loc) · 14.6 KB
/
projectuitry.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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'projuctuitry.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
#
# 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(1276, 863)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.label = QtWidgets.QLabel(self.centralwidget)
self.label.setGeometry(QtCore.QRect(40, 30, 221, 31))
font = QtGui.QFont()
font.setFamily("微軟正黑體")
font.setPointSize(12)
font.setBold(False)
font.setWeight(50)
self.label.setFont(font)
self.label.setObjectName("label")
self.comboBox = QtWidgets.QComboBox(self.centralwidget)
self.comboBox.setGeometry(QtCore.QRect(280, 30, 131, 31))
self.comboBox.setObjectName("comboBox")
self.comboBox.addItem("")
self.comboBox_2 = QtWidgets.QComboBox(self.centralwidget)
self.comboBox_2.setGeometry(QtCore.QRect(480, 115, 131, 31))
self.comboBox_2.setObjectName("comboBox_2")
self.comboBox_2.addItem("")
self.comboBox_3 = QtWidgets.QComboBox(self.centralwidget)
self.comboBox_3.setGeometry(QtCore.QRect(480, 155, 131, 31))
self.comboBox_3.setObjectName("comboBox_3")
self.comboBox_3.addItem("")
self.label_2 = QtWidgets.QLabel(self.centralwidget)
self.label_2.setGeometry(QtCore.QRect(40, 60, 591, 51))
font = QtGui.QFont()
font.setFamily("微軟正黑體")
font.setPointSize(12)
font.setBold(False)
font.setWeight(50)
self.label_2.setFont(font)
self.label_2.setObjectName("label_2")
self.checkBox = QtWidgets.QCheckBox(self.centralwidget)
self.checkBox.setGeometry(QtCore.QRect(40, 350, 181, 41))
self.checkBox.setObjectName("checkBox")
self.label_3 = QtWidgets.QLabel(self.centralwidget)
self.label_3.setGeometry(QtCore.QRect(40, 100, 491, 61))
font = QtGui.QFont()
font.setFamily("微軟正黑體")
font.setPointSize(12)
font.setBold(False)
font.setWeight(50)
self.label_3.setFont(font)
self.label_3.setObjectName("label_3")
self.label_4 = QtWidgets.QLabel(self.centralwidget)
self.label_4.setGeometry(QtCore.QRect(40, 140, 291, 61))
font = QtGui.QFont()
font.setFamily("微軟正黑體")
font.setPointSize(12)
font.setBold(False)
font.setWeight(50)
self.label_4.setFont(font)
self.label_4.setObjectName("label_4")
self.label_5 = QtWidgets.QLabel(self.centralwidget)
self.label_5.setGeometry(QtCore.QRect(40, 60, 281, 61))
font = QtGui.QFont()
font.setFamily("微軟正黑體")
font.setPointSize(12)
font.setBold(False)
font.setWeight(50)
self.label_5.setFont(font)
self.label_5.setObjectName("label_5")
self.comboBox_4 = QtWidgets.QComboBox(self.centralwidget)
self.comboBox_4.setGeometry(QtCore.QRect(480, 75, 131, 31))
self.comboBox_4.setObjectName("comboBox_4")
self.comboBox_4.addItem("")
self.label_6 = QtWidgets.QLabel(self.centralwidget)
self.label_6.setGeometry(QtCore.QRect(40, 180, 281, 61))
font = QtGui.QFont()
font.setFamily("微軟正黑體")
font.setPointSize(12)
font.setBold(False)
font.setWeight(50)
self.label_6.setFont(font)
self.label_6.setObjectName("label_6")
self.comboBox_5 = QtWidgets.QComboBox(self.centralwidget)
self.comboBox_5.setGeometry(QtCore.QRect(480, 195, 131, 31))
self.comboBox_5.setObjectName("comboBox_5")
self.comboBox_5.addItem("")
self.label_7 = QtWidgets.QLabel(self.centralwidget)
self.label_7.setGeometry(QtCore.QRect(40, 280, 441, 61))
font = QtGui.QFont()
font.setFamily("微軟正黑體")
font.setPointSize(12)
font.setBold(False)
font.setWeight(50)
self.label_7.setFont(font)
self.label_7.setObjectName("label_7")
self.label_Link = QtWidgets.QLabel(self.centralwidget)
self.label_Link.setGeometry(QtCore.QRect(280, 60, 401, 51))
font = QtGui.QFont()
font.setFamily("微軟正黑體")
font.setPointSize(12)
font.setBold(False)
font.setWeight(50)
self.label_Link.setFont(font)
self.label_Link.setObjectName("label_Link")
self.label_8 = QtWidgets.QLabel(self.centralwidget)
self.label_8.setGeometry(QtCore.QRect(40, 220, 281, 61))
font = QtGui.QFont()
font.setFamily("微軟正黑體")
font.setPointSize(12)
font.setBold(False)
font.setWeight(50)
self.label_8.setFont(font)
self.label_8.setObjectName("label_8")
self.comboBox_6 = QtWidgets.QComboBox(self.centralwidget)
self.comboBox_6.setGeometry(QtCore.QRect(480, 235, 131, 31))
self.comboBox_6.setObjectName("comboBox_6")
self.comboBox_6.addItem("")
self.pushButton = QtWidgets.QPushButton(self.centralwidget)
self.pushButton.setGeometry(QtCore.QRect(480, 330, 131, 31))
self.pushButton.setObjectName("pushButton")
self.label_9 = QtWidgets.QLabel(self.centralwidget)
self.label_9.setGeometry(QtCore.QRect(690, 20, 141, 51))
font = QtGui.QFont()
font.setFamily("微軟正黑體")
font.setPointSize(12)
font.setBold(False)
font.setWeight(50)
self.label_9.setFont(font)
self.label_9.setObjectName("label_9")
self.line = QtWidgets.QFrame(self.centralwidget)
self.line.setGeometry(QtCore.QRect(650, 30, 31, 781))
self.line.setFrameShape(QtWidgets.QFrame.VLine)
self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line.setObjectName("line")
self.scrollArea = QtWidgets.QScrollArea(self.centralwidget)
self.scrollArea.setGeometry(QtCore.QRect(710, 80, 521, 181))
self.scrollArea.setWidgetResizable(True)
self.scrollArea.setObjectName("scrollArea")
self.scrollAreaWidgetContents = QtWidgets.QWidget()
self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 519, 179))
self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
self.verticalLayout = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
self.verticalLayout.setObjectName("verticalLayout")
self.label_10 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
font = QtGui.QFont()
font.setFamily("微軟正黑體")
font.setPointSize(12)
font.setBold(False)
font.setWeight(50)
self.label_10.setFont(font)
self.label_10.setText("")
self.label_10.setTextFormat(QtCore.Qt.AutoText)
self.label_10.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
self.label_10.setWordWrap(True)
self.label_10.setObjectName("label_10")
self.verticalLayout.addWidget(self.label_10)
self.scrollArea.setWidget(self.scrollAreaWidgetContents)
self.table_transfer = QtWidgets.QTableWidget(self.centralwidget)
self.table_transfer.setGeometry(QtCore.QRect(40, 390, 571, 411))
self.table_transfer.setRowCount(0)
self.table_transfer.setObjectName("table_transfer")
self.table_transfer.setColumnCount(1)
item = QtWidgets.QTableWidgetItem()
self.table_transfer.setHorizontalHeaderItem(0, item)
self.table_double = QtWidgets.QTableWidget(self.centralwidget)
self.table_double.setGeometry(QtCore.QRect(40, 390, 571, 411))
self.table_double.setRowCount(0)
self.table_double.setObjectName("table_double")
self.table_double.setColumnCount(1)
item = QtWidgets.QTableWidgetItem()
self.table_double.setHorizontalHeaderItem(0, item)
self.label_12 = QtWidgets.QLabel(self.centralwidget)
self.label_12.setGeometry(QtCore.QRect(690, 280, 141, 51))
font = QtGui.QFont()
font.setFamily("微軟正黑體")
font.setPointSize(12)
font.setBold(False)
font.setWeight(50)
self.label_12.setFont(font)
self.label_12.setObjectName("label_12")
self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
self.tabWidget.setGeometry(QtCore.QRect(710, 330, 521, 471))
self.tabWidget.setTabShape(QtWidgets.QTabWidget.Rounded)
self.tabWidget.setUsesScrollButtons(True)
self.tabWidget.setTabsClosable(False)
self.tabWidget.setObjectName("tabWidget")
self.tab = QtWidgets.QWidget()
self.tab.setObjectName("tab")
self.table_course = QtWidgets.QTableWidget(self.tab)
self.table_course.setGeometry(QtCore.QRect(0, 0, 516, 443))
self.table_course.setRowCount(0)
self.table_course.setObjectName("table_course")
self.table_course.setColumnCount(0)
self.tabWidget.addTab(self.tab, "")
self.tab_2 = QtWidgets.QWidget()
self.tab_2.setObjectName("tab_2")
self.table_course_2 = QtWidgets.QTableWidget(self.tab_2)
self.table_course_2.setGeometry(QtCore.QRect(0, 0, 516, 443))
self.table_course_2.setRowCount(0)
self.table_course_2.setObjectName("table_course_2")
self.table_course_2.setColumnCount(0)
self.tabWidget.addTab(self.tab_2, "")
self.table_course_3 = QtWidgets.QTableWidget(self.centralwidget)
self.table_course_3.setGeometry(QtCore.QRect(710, 355, 521, 471))
self.table_course_3.setRowCount(0)
self.table_course_3.setObjectName("table_course_3")
self.table_course_3.setColumnCount(0)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1276, 25))
self.menubar.setObjectName("menubar")
self.menuMenu = QtWidgets.QMenu(self.menubar)
self.menuMenu.setObjectName("menuMenu")
self.menu = QtWidgets.QMenu(self.menubar)
self.menu.setObjectName("menu")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.actionRefresh = QtWidgets.QAction(MainWindow)
self.actionRefresh.setObjectName("actionRefresh")
self.actionExit = QtWidgets.QAction(MainWindow)
self.actionExit.setObjectName("actionExit")
self.actionExit_2 = QtWidgets.QAction(MainWindow)
self.actionExit_2.setObjectName("actionExit_2")
self.actionSave_as_pic = QtWidgets.QAction(MainWindow)
self.actionSave_as_pic.setObjectName("actionSave_as_pic")
self.actionExit_3 = QtWidgets.QAction(MainWindow)
self.actionExit_3.setObjectName("actionExit_3")
self.actiontransfer = QtWidgets.QAction(MainWindow)
self.actiontransfer.setObjectName("actiontransfer")
self.actiondouble = QtWidgets.QAction(MainWindow)
self.actiondouble.setObjectName("actiondouble")
self.actionminor = QtWidgets.QAction(MainWindow)
self.actionminor.setObjectName("actionminor")
self.menuMenu.addAction(self.actionExit_3)
self.menu.addAction(self.actiontransfer)
self.menu.addAction(self.actiondouble)
self.menubar.addAction(self.menuMenu.menuAction())
self.menubar.addAction(self.menu.menuAction())
self.retranslateUi(MainWindow)
self.tabWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
self.label.setText(_translate("MainWindow", "請問是否有目標科系?"))
self.comboBox.setItemText(0, _translate("MainWindow", "請選擇"))
self.comboBox_2.setItemText(0, _translate("MainWindow", "請選擇"))
self.comboBox_3.setItemText(0, _translate("MainWindow", "請選擇"))
self.label_2.setText(_translate("MainWindow", "請先完成測驗"))
self.checkBox.setText(_translate("MainWindow", "顯示較原始資料"))
self.label_3.setText(_translate("MainWindow", "請依照心理測驗,選擇相對應型別的選項:"))
self.label_4.setText(_translate("MainWindow", "請選擇想選之學院"))
self.label_5.setText(_translate("MainWindow", "請選擇想選之學院"))
self.comboBox_4.setItemText(0, _translate("MainWindow", "請選擇"))
self.label_6.setText(_translate("MainWindow", "請選擇想選之科系"))
self.comboBox_5.setItemText(0, _translate("MainWindow", "請選擇"))
self.label_7.setText(_translate("MainWindow", "請確認結果,您所選擇:"))
self.label_Link.setText(_translate("MainWindow", "心理測驗(外部連結)"))
self.label_8.setText(_translate("MainWindow", "採取的方式"))
self.comboBox_6.setItemText(0, _translate("MainWindow", "請選擇"))
self.pushButton.setText(_translate("MainWindow", "查詢"))
self.label_9.setText(_translate("MainWindow", "課程備註"))
self.label_12.setText(_translate("MainWindow", "課程"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "課程清單"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "上學期"))
self.menuMenu.setTitle(_translate("MainWindow", "Menu"))
self.menu.setTitle(_translate("MainWindow", "申請表"))
self.actionRefresh.setText(_translate("MainWindow", "Refresh"))
self.actionExit.setText(_translate("MainWindow", "Save as pic"))
self.actionExit_2.setText(_translate("MainWindow", "Exit"))
self.actionSave_as_pic.setText(_translate("MainWindow", "Save as pic"))
self.actionExit_3.setText(_translate("MainWindow", "Exit"))
self.actiontransfer.setText(_translate("MainWindow", "轉系"))
self.actiondouble.setText(_translate("MainWindow", "雙主修/輔系"))
self.actionminor.setText(_translate("MainWindow", "輔系"))