-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainWindow.py
1743 lines (1736 loc) · 94.4 KB
/
MainWindow.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
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'MainWindow.ui'
#
# Created by: PyQt5 UI code generator 5.15.9
#
# 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
import sys, icon_font
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(1489, 837)
MainWindow.setStyleSheet("")
#vien trong suot
MainWindow.setWindowFlags(QtCore.Qt.FramelessWindowHint)
MainWindow.setAttribute(QtCore.Qt.WA_TranslucentBackground)
######
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setStyleSheet("background-color: rgb(255, 255, 255);")
self.centralwidget.setObjectName("centralwidget")
self.horizontalLayout_9 = QtWidgets.QHBoxLayout(self.centralwidget)
self.horizontalLayout_9.setObjectName("horizontalLayout_9")
self.frame = QtWidgets.QFrame(self.centralwidget)
self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame.setObjectName("frame")
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.frame)
self.verticalLayout_2.setContentsMargins(0, 5, -1, -1)
self.verticalLayout_2.setSpacing(6)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.frame_superior = QtWidgets.QFrame(self.frame)
self.frame_superior.setMinimumSize(QtCore.QSize(0, 42))
self.frame_superior.setStyleSheet("QPushButton#logout_btn:hover, #minimize_sign_btn:hover, #maximize_btn:hover {\n"
" background-color: #ebf0ec;\n"
"}\n"
"QPushButton#close_btn:hover{\n"
" background-color: #fc6277;\n"
"\n"
"}\n"
"QPushButton#menu_btn:hover{\n"
" background-color: #ebf0ec;\n"
" border-radius : 15px;\n"
"}")
self.frame_superior.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame_superior.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame_superior.setObjectName("frame_superior")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame_superior)
self.horizontalLayout.setContentsMargins(-1, 0, -1, -1)
self.horizontalLayout.setObjectName("horizontalLayout")
self.menu_btn = QtWidgets.QPushButton(self.frame_superior)
self.menu_btn.setMinimumSize(QtCore.QSize(50, 50))
font = QtGui.QFont()
font.setBold(False)
font.setWeight(50)
self.menu_btn.setFont(font)
self.menu_btn.setStyleSheet("border : none;\n"
"")
self.menu_btn.setText("")
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(":/icon/icon/reorder-option.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.menu_btn.setIcon(icon)
self.menu_btn.setIconSize(QtCore.QSize(35, 35))
self.menu_btn.setObjectName("menu_btn")
self.horizontalLayout.addWidget(self.menu_btn)
spacerItem = QtWidgets.QSpacerItem(841, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem)
self.minimize_sign_btn = QtWidgets.QPushButton(self.frame_superior)
self.minimize_sign_btn.setMinimumSize(QtCore.QSize(35, 35))
font = QtGui.QFont()
font.setBold(False)
font.setWeight(50)
self.minimize_sign_btn.setFont(font)
self.minimize_sign_btn.setStyleSheet("border : none;\n"
"\n"
"")
self.minimize_sign_btn.setText("")
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(":/icon/icon/minimize-sign.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.minimize_sign_btn.setIcon(icon1)
self.minimize_sign_btn.setIconSize(QtCore.QSize(15, 15))
self.minimize_sign_btn.setObjectName("minimize_sign_btn")
self.horizontalLayout.addWidget(self.minimize_sign_btn)
self.maximize_btn = QtWidgets.QPushButton(self.frame_superior)
self.maximize_btn.setMinimumSize(QtCore.QSize(35, 35))
font = QtGui.QFont()
font.setBold(False)
font.setWeight(50)
self.maximize_btn.setFont(font)
self.maximize_btn.setStyleSheet("border : none;\n"
"")
self.maximize_btn.setText("")
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap(":/icon/icon/restore.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.maximize_btn.setIcon(icon2)
self.maximize_btn.setIconSize(QtCore.QSize(15, 15))
self.maximize_btn.setObjectName("maximize_btn")
self.horizontalLayout.addWidget(self.maximize_btn)
self.logout_btn = QtWidgets.QPushButton(self.frame_superior)
self.logout_btn.setMinimumSize(QtCore.QSize(35, 35))
font = QtGui.QFont()
font.setBold(False)
font.setWeight(50)
self.logout_btn.setFont(font)
self.logout_btn.setStyleSheet("border : none;\n"
"")
self.logout_btn.setText("")
icon3 = QtGui.QIcon()
icon3.addPixmap(QtGui.QPixmap(":/icon/icon/logoutB.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.logout_btn.setIcon(icon3)
self.logout_btn.setIconSize(QtCore.QSize(15, 15))
self.logout_btn.setObjectName("logout_btn")
self.horizontalLayout.addWidget(self.logout_btn)
self.close_btn = QtWidgets.QPushButton(self.frame_superior)
self.close_btn.setMinimumSize(QtCore.QSize(35, 35))
font = QtGui.QFont()
font.setBold(False)
font.setWeight(50)
self.close_btn.setFont(font)
self.close_btn.setStyleSheet("border : none;\n"
"")
self.close_btn.setText("")
icon4 = QtGui.QIcon()
icon4.addPixmap(QtGui.QPixmap(":/icon/icon/close_btn.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.close_btn.setIcon(icon4)
self.close_btn.setIconSize(QtCore.QSize(15, 15))
self.close_btn.setObjectName("close_btn")
self.horizontalLayout.addWidget(self.close_btn)
self.verticalLayout_2.addWidget(self.frame_superior)
self.frame_content = QtWidgets.QFrame(self.frame)
self.frame_content.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame_content.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame_content.setObjectName("frame_content")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.frame_content)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.frame_control = QtWidgets.QFrame(self.frame_content)
self.frame_control.setMinimumSize(QtCore.QSize(230, 0))
self.frame_control.setMaximumSize(QtCore.QSize(0, 16777215))
self.frame_control.setStyleSheet("QFrame {\n"
"background-color : rgb(0, 134, 137);\n"
"}\n"
"\n"
"QPushButton{\n"
"background-color : rgb(61, 61, 61);\n"
"border-top-left-radius : 20px;\n"
"border-bottom-left-radius : 20px;\n"
"color : rgb(255, 255, 255);\n"
"font : 77 10pt \"Arial Black\"\n"
"}\n"
"\n"
"QPushButton:hover{\n"
"background-color :white;\n"
"border-top-left-radius : 20px;\n"
"border-bottom-left-radius : 20px;\n"
"color : rgb(0, 0, 0);\n"
"font : 77 10pt \"Arial Black\"\n"
"}")
self.frame_control.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame_control.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame_control.setObjectName("frame_control")
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.frame_control)
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.pushButton_Student = QtWidgets.QPushButton(self.frame_control)
self.pushButton_Student.setMinimumSize(QtCore.QSize(0, 40))
icon5 = QtGui.QIcon()
icon5.addPixmap(QtGui.QPixmap(":/icon/icon/student-with-graduation-cap.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.pushButton_Student.setIcon(icon5)
self.pushButton_Student.setIconSize(QtCore.QSize(35, 35))
self.pushButton_Student.setObjectName("pushButton_Student")
self.verticalLayout_3.addWidget(self.pushButton_Student)
self.pushButton_Class = QtWidgets.QPushButton(self.frame_control)
self.pushButton_Class.setMinimumSize(QtCore.QSize(0, 40))
icon6 = QtGui.QIcon()
icon6.addPixmap(QtGui.QPixmap(":/icon/icon/class.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.pushButton_Class.setIcon(icon6)
self.pushButton_Class.setIconSize(QtCore.QSize(35, 35))
self.pushButton_Class.setObjectName("pushButton_Class")
self.verticalLayout_3.addWidget(self.pushButton_Class)
self.pushButton_Subject = QtWidgets.QPushButton(self.frame_control)
self.pushButton_Subject.setMinimumSize(QtCore.QSize(0, 40))
icon7 = QtGui.QIcon()
icon7.addPixmap(QtGui.QPixmap(":/icon/icon/subject.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.pushButton_Subject.setIcon(icon7)
self.pushButton_Subject.setIconSize(QtCore.QSize(35, 35))
self.pushButton_Subject.setObjectName("pushButton_Subject")
self.verticalLayout_3.addWidget(self.pushButton_Subject)
self.pushButton_Grades = QtWidgets.QPushButton(self.frame_control)
self.pushButton_Grades.setMinimumSize(QtCore.QSize(0, 40))
icon8 = QtGui.QIcon()
icon8.addPixmap(QtGui.QPixmap(":/icon/icon/marking.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.pushButton_Grades.setIcon(icon8)
self.pushButton_Grades.setIconSize(QtCore.QSize(35, 35))
self.pushButton_Grades.setObjectName("pushButton_Grades")
self.verticalLayout_3.addWidget(self.pushButton_Grades)
self.horizontalLayout_2.addWidget(self.frame_control)
self.frame_pages = QtWidgets.QFrame(self.frame_content)
self.frame_pages.setStyleSheet("QFrame {\n"
"background-color : rgb(61, 61, 61);\n"
"}\n"
"\n"
"QLabel{\n"
"font : 87 12pt \"Arial Black\";\n"
"background-color : #000000ff;\n"
"color : rgb(0, 134, 137);\n"
"border: 0px solid #14C8DC;\n"
"}\n"
"\n"
"QLineEdit{\n"
"border : 0px;\n"
"color : rgb(0, 0, 0);\n"
"/*border-bottom : 1px solid rgb(61, 61, 61); */\n"
"border : 1px solid rgb(61, 61, 61);\n"
"font: bold 15px 12pt\"Time New Roman\";\n"
"}\n"
"\n"
"\n"
"QPushButton{\n"
"background-color : rgb(61, 61, 61);\n"
"/** border-radius : 15px; **/\n"
"border-top-left-radius: 15px;\n"
"border-bottom-right-radius: 15px;\n"
"color : rgb(255, 255, 255);\n"
"font : 77 10pt \"Arial Black\";\n"
"}\n"
"\n"
"QPushButton:hover{\n"
"background-color :rgb(0, 134, 137);\n"
"/** border-radius : 15px; **/\n"
"border-top-left-radius: 15px;\n"
"border-bottom-right-radius: 15px;\n"
"\n"
"color : rgb(0, 0, 0);\n"
"font : 77 10pt \"Arial Black\"\n"
"}\n"
"\n"
"QPushButton:pressed{\n"
" padding-left:5px;\n"
" padding-top:5px;\n"
" background-color: #00656b;\n"
" background-color:rgba(150, 123, 111, 255);\n"
"}\n"
"\n"
"QTableWidget {\n"
"background-color : rgb(255, 255, 255);\n"
"color : rgb(0, 0, 0);\n"
"gridline-color : rgb(0, 134, 137);\n"
"font-size : 12pt;\n"
"color : #000000;\n"
"}\n"
"\n"
"QHeaderView::section {\n"
"background-color : rgb(0, 134, 137);\n"
"border: 1px solid rgb(0, 0, 0);\n"
"}\n"
"\n"
"QTableWidget QTableCornerButton::section {\n"
"background-color : rgb(0, 0, 0);\n"
"border : 1px solid rgb(0, 134, 137);\n"
"}")
self.frame_pages.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame_pages.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame_pages.setObjectName("frame_pages")
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.frame_pages)
self.verticalLayout_4.setContentsMargins(1, 1, 1, 1)
self.verticalLayout_4.setSpacing(0)
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.stackedWidget = QtWidgets.QStackedWidget(self.frame_pages)
self.stackedWidget.setMaximumSize(QtCore.QSize(16777214, 16777215))
self.stackedWidget.setStyleSheet("")
self.stackedWidget.setObjectName("stackedWidget")
self.page_Stu = QtWidgets.QWidget()
self.page_Stu.setObjectName("page_Stu")
self.horizontalLayout_27 = QtWidgets.QHBoxLayout(self.page_Stu)
self.horizontalLayout_27.setObjectName("horizontalLayout_27")
self.verticalLayout_5 = QtWidgets.QVBoxLayout()
self.verticalLayout_5.setObjectName("verticalLayout_5")
self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
self.horizontalLayout_8.setObjectName("horizontalLayout_8")
self.label = QtWidgets.QLabel(self.page_Stu)
font = QtGui.QFont()
font.setFamily("Arial Black")
font.setPointSize(12)
font.setBold(False)
font.setItalic(False)
font.setWeight(10)
self.label.setFont(font)
self.label.setAlignment(QtCore.Qt.AlignCenter)
self.label.setObjectName("label")
self.horizontalLayout_8.addWidget(self.label)
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_8.addItem(spacerItem1)
self.verticalLayout_5.addLayout(self.horizontalLayout_8)
self.tableWidget_STD = QtWidgets.QTableWidget(self.page_Stu)
self.tableWidget_STD.setMinimumSize(QtCore.QSize(700, 0))
self.tableWidget_STD.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.tableWidget_STD.setFrameShadow(QtWidgets.QFrame.Sunken)
self.tableWidget_STD.setLineWidth(1)
self.tableWidget_STD.setMidLineWidth(0)
self.tableWidget_STD.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContents)
self.tableWidget_STD.setAutoScrollMargin(20)
self.tableWidget_STD.setShowGrid(True)
self.tableWidget_STD.setRowCount(0)
self.tableWidget_STD.setColumnCount(4)
self.tableWidget_STD.setObjectName("tableWidget_STD")
item = QtWidgets.QTableWidgetItem()
self.tableWidget_STD.setHorizontalHeaderItem(0, item)
item = QtWidgets.QTableWidgetItem()
font = QtGui.QFont()
font.setUnderline(False)
item.setFont(font)
self.tableWidget_STD.setHorizontalHeaderItem(1, item)
item = QtWidgets.QTableWidgetItem()
self.tableWidget_STD.setHorizontalHeaderItem(2, item)
item = QtWidgets.QTableWidgetItem()
self.tableWidget_STD.setHorizontalHeaderItem(3, item)
self.tableWidget_STD.horizontalHeader().setCascadingSectionResizes(False)
self.tableWidget_STD.horizontalHeader().setDefaultSectionSize(129)
self.tableWidget_STD.horizontalHeader().setHighlightSections(True)
self.tableWidget_STD.horizontalHeader().setMinimumSectionSize(60)
self.tableWidget_STD.horizontalHeader().setSortIndicatorShown(False)
self.tableWidget_STD.horizontalHeader().setStretchLastSection(True)
self.tableWidget_STD.verticalHeader().setVisible(False)
self.tableWidget_STD.verticalHeader().setCascadingSectionResizes(False)
self.tableWidget_STD.verticalHeader().setDefaultSectionSize(30)
self.tableWidget_STD.verticalHeader().setHighlightSections(True)
self.tableWidget_STD.verticalHeader().setMinimumSectionSize(20)
self.tableWidget_STD.verticalHeader().setStretchLastSection(False)
self.verticalLayout_5.addWidget(self.tableWidget_STD)
self.horizontalLayout_27.addLayout(self.verticalLayout_5)
self.verticalLayout_14 = QtWidgets.QVBoxLayout()
self.verticalLayout_14.setObjectName("verticalLayout_14")
self.verticalLayout_13 = QtWidgets.QVBoxLayout()
self.verticalLayout_13.setContentsMargins(-1, 32, -1, 30)
self.verticalLayout_13.setObjectName("verticalLayout_13")
self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
self.horizontalLayout_12.setObjectName("horizontalLayout_12")
spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_12.addItem(spacerItem2)
self.label_24 = QtWidgets.QLabel(self.page_Stu)
self.label_24.setMinimumSize(QtCore.QSize(120, 0))
self.label_24.setMaximumSize(QtCore.QSize(120, 16777215))
self.label_24.setObjectName("label_24")
self.horizontalLayout_12.addWidget(self.label_24)
spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_12.addItem(spacerItem3)
self.verticalLayout_13.addLayout(self.horizontalLayout_12)
self.groupBox_4 = QtWidgets.QGroupBox(self.page_Stu)
self.groupBox_4.setMinimumSize(QtCore.QSize(0, 300))
self.groupBox_4.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.groupBox_4.setStyleSheet("QGroupBox {\n"
" border: 2px solid gray;\n"
" border-radius: 5px;\n"
" margin-top: 10px;\n"
"}\n"
"\n"
"QGroupBox:title {\n"
" subcontrol-origin: margin;\n"
" subcontrol-position: top center;\n"
" padding: 0 3px;\n"
"}\n"
"\n"
"")
self.groupBox_4.setTitle("")
self.groupBox_4.setObjectName("groupBox_4")
self.verticalLayout_30 = QtWidgets.QVBoxLayout(self.groupBox_4)
self.verticalLayout_30.setObjectName("verticalLayout_30")
self.verticalLayout_31 = QtWidgets.QVBoxLayout()
self.verticalLayout_31.setObjectName("verticalLayout_31")
spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout_31.addItem(spacerItem4)
self.horizontalLayout_42 = QtWidgets.QHBoxLayout()
self.horizontalLayout_42.setObjectName("horizontalLayout_42")
spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_42.addItem(spacerItem5)
self.verticalLayout_32 = QtWidgets.QVBoxLayout()
self.verticalLayout_32.setObjectName("verticalLayout_32")
self.horizontalLayout_43 = QtWidgets.QHBoxLayout()
self.horizontalLayout_43.setObjectName("horizontalLayout_43")
self.label_28 = QtWidgets.QLabel(self.groupBox_4)
self.label_28.setMinimumSize(QtCore.QSize(71, 0))
self.label_28.setMaximumSize(QtCore.QSize(125, 20))
font = QtGui.QFont()
font.setFamily("Arial Black")
font.setPointSize(-1)
font.setBold(False)
font.setItalic(False)
font.setWeight(10)
self.label_28.setFont(font)
self.label_28.setStyleSheet("color : black;\n"
"font-size :13px")
self.label_28.setObjectName("label_28")
self.horizontalLayout_43.addWidget(self.label_28)
self.comboBox_sortBy_Std = QtWidgets.QComboBox(self.groupBox_4)
self.comboBox_sortBy_Std.setMinimumSize(QtCore.QSize(100, 0))
self.comboBox_sortBy_Std.setMaximumSize(QtCore.QSize(200, 16777215))
self.comboBox_sortBy_Std.setStyleSheet("background-color: white;\n"
" color: black; \n"
"\n"
"\n"
"")
self.comboBox_sortBy_Std.setObjectName("comboBox_sortBy_Std")
self.comboBox_sortBy_Std.addItem("")
self.comboBox_sortBy_Std.addItem("")
self.comboBox_sortBy_Std.addItem("")
self.comboBox_sortBy_Std.addItem("")
self.horizontalLayout_43.addWidget(self.comboBox_sortBy_Std)
self.label_29 = QtWidgets.QLabel(self.groupBox_4)
self.label_29.setMinimumSize(QtCore.QSize(71, 0))
self.label_29.setMaximumSize(QtCore.QSize(125, 20))
font = QtGui.QFont()
font.setFamily("Arial Black")
font.setPointSize(-1)
font.setBold(False)
font.setItalic(False)
font.setWeight(10)
self.label_29.setFont(font)
self.label_29.setStyleSheet("color : black;\n"
"font-size :13px")
self.label_29.setObjectName("label_29")
self.horizontalLayout_43.addWidget(self.label_29)
self.comboBox_orderBy_Std = QtWidgets.QComboBox(self.groupBox_4)
self.comboBox_orderBy_Std.setMinimumSize(QtCore.QSize(100, 0))
self.comboBox_orderBy_Std.setMaximumSize(QtCore.QSize(200, 16777215))
self.comboBox_orderBy_Std.setStyleSheet("background-color: white; /* Màu nền mặc định của ComboBox */\n"
" color: black; /* Màu chữ mặc định của ComboBox */")
self.comboBox_orderBy_Std.setObjectName("comboBox_orderBy_Std")
self.comboBox_orderBy_Std.addItem("")
self.comboBox_orderBy_Std.addItem("")
self.horizontalLayout_43.addWidget(self.comboBox_orderBy_Std)
self.verticalLayout_32.addLayout(self.horizontalLayout_43)
self.horizontalLayout_44 = QtWidgets.QHBoxLayout()
self.horizontalLayout_44.setContentsMargins(-1, 20, -1, -1)
self.horizontalLayout_44.setObjectName("horizontalLayout_44")
self.sort_btn_Stu = QtWidgets.QPushButton(self.groupBox_4)
self.sort_btn_Stu.setMinimumSize(QtCore.QSize(130, 30))
self.sort_btn_Stu.setMaximumSize(QtCore.QSize(130, 16777215))
self.sort_btn_Stu.setObjectName("sort_btn_Stu")
self.horizontalLayout_44.addWidget(self.sort_btn_Stu)
self.default_btn_Stu = QtWidgets.QPushButton(self.groupBox_4)
self.default_btn_Stu.setMinimumSize(QtCore.QSize(130, 30))
self.default_btn_Stu.setMaximumSize(QtCore.QSize(130, 16777215))
self.default_btn_Stu.setObjectName("default_btn_Stu")
self.horizontalLayout_44.addWidget(self.default_btn_Stu)
self.verticalLayout_32.addLayout(self.horizontalLayout_44)
self.horizontalLayout_42.addLayout(self.verticalLayout_32)
spacerItem6 = QtWidgets.QSpacerItem(18, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_42.addItem(spacerItem6)
self.verticalLayout_31.addLayout(self.horizontalLayout_42)
spacerItem7 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout_31.addItem(spacerItem7)
self.verticalLayout_30.addLayout(self.verticalLayout_31)
self.verticalLayout_13.addWidget(self.groupBox_4)
self.verticalLayout_14.addLayout(self.verticalLayout_13)
self.verticalLayout_10 = QtWidgets.QVBoxLayout()
self.verticalLayout_10.setContentsMargins(-1, -1, -1, 85)
self.verticalLayout_10.setObjectName("verticalLayout_10")
self.horizontalLayout_11 = QtWidgets.QHBoxLayout()
self.horizontalLayout_11.setObjectName("horizontalLayout_11")
spacerItem8 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_11.addItem(spacerItem8)
self.label_2 = QtWidgets.QLabel(self.page_Stu)
self.label_2.setMinimumSize(QtCore.QSize(130, 0))
self.label_2.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.label_2.setObjectName("label_2")
self.horizontalLayout_11.addWidget(self.label_2)
spacerItem9 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_11.addItem(spacerItem9)
self.verticalLayout_10.addLayout(self.horizontalLayout_11)
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
spacerItem10 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_3.addItem(spacerItem10)
self.label_3 = QtWidgets.QLabel(self.page_Stu)
self.label_3.setMinimumSize(QtCore.QSize(125, 0))
self.label_3.setMaximumSize(QtCore.QSize(16777215, 16777215))
font = QtGui.QFont()
font.setFamily("Arial Black")
font.setPointSize(-1)
font.setBold(False)
font.setItalic(False)
font.setWeight(10)
self.label_3.setFont(font)
self.label_3.setStyleSheet("color : black;\n"
"font-size :13px")
self.label_3.setObjectName("label_3")
self.horizontalLayout_3.addWidget(self.label_3)
self.getStudentID_STD = QtWidgets.QLineEdit(self.page_Stu)
self.getStudentID_STD.setMinimumSize(QtCore.QSize(270, 0))
self.getStudentID_STD.setMaximumSize(QtCore.QSize(16777215, 16777215))
font = QtGui.QFont()
font.setFamily("12pt Time New Roman")
font.setPointSize(-1)
font.setBold(True)
font.setItalic(False)
font.setWeight(75)
self.getStudentID_STD.setFont(font)
self.getStudentID_STD.setObjectName("getStudentID_STD")
self.horizontalLayout_3.addWidget(self.getStudentID_STD)
spacerItem11 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_3.addItem(spacerItem11)
self.verticalLayout_10.addLayout(self.horizontalLayout_3)
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
spacerItem12 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_4.addItem(spacerItem12)
self.label_4 = QtWidgets.QLabel(self.page_Stu)
self.label_4.setMinimumSize(QtCore.QSize(125, 0))
self.label_4.setMaximumSize(QtCore.QSize(16777215, 16777215))
font = QtGui.QFont()
font.setFamily("Arial Black")
font.setPointSize(-1)
font.setBold(False)
font.setItalic(False)
font.setWeight(10)
self.label_4.setFont(font)
self.label_4.setStyleSheet("color : black;\n"
"font-size :13px")
self.label_4.setObjectName("label_4")
self.horizontalLayout_4.addWidget(self.label_4)
self.getStudentName_STD = QtWidgets.QLineEdit(self.page_Stu)
self.getStudentName_STD.setMinimumSize(QtCore.QSize(270, 0))
self.getStudentName_STD.setMaximumSize(QtCore.QSize(16777215, 16777215))
font = QtGui.QFont()
font.setFamily("12pt Time New Roman")
font.setPointSize(-1)
font.setBold(True)
font.setItalic(False)
font.setWeight(75)
self.getStudentName_STD.setFont(font)
self.getStudentName_STD.setObjectName("getStudentName_STD")
self.horizontalLayout_4.addWidget(self.getStudentName_STD)
spacerItem13 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_4.addItem(spacerItem13)
self.verticalLayout_10.addLayout(self.horizontalLayout_4)
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
spacerItem14 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_5.addItem(spacerItem14)
self.label_5 = QtWidgets.QLabel(self.page_Stu)
self.label_5.setMinimumSize(QtCore.QSize(125, 0))
self.label_5.setMaximumSize(QtCore.QSize(16777215, 16777215))
font = QtGui.QFont()
font.setFamily("Arial Black")
font.setPointSize(-1)
font.setBold(False)
font.setItalic(False)
font.setWeight(10)
self.label_5.setFont(font)
self.label_5.setStyleSheet("color : black;\n"
"font-size :13px")
self.label_5.setObjectName("label_5")
self.horizontalLayout_5.addWidget(self.label_5)
self.getStudentAddress_STD = QtWidgets.QLineEdit(self.page_Stu)
self.getStudentAddress_STD.setMinimumSize(QtCore.QSize(270, 0))
self.getStudentAddress_STD.setMaximumSize(QtCore.QSize(16777215, 16777215))
font = QtGui.QFont()
font.setFamily("12pt Time New Roman")
font.setPointSize(-1)
font.setBold(True)
font.setItalic(False)
font.setWeight(75)
self.getStudentAddress_STD.setFont(font)
self.getStudentAddress_STD.setObjectName("getStudentAddress_STD")
self.horizontalLayout_5.addWidget(self.getStudentAddress_STD)
spacerItem15 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_5.addItem(spacerItem15)
self.verticalLayout_10.addLayout(self.horizontalLayout_5)
self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
self.horizontalLayout_6.setObjectName("horizontalLayout_6")
spacerItem16 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_6.addItem(spacerItem16)
self.label_6 = QtWidgets.QLabel(self.page_Stu)
self.label_6.setMinimumSize(QtCore.QSize(125, 0))
self.label_6.setMaximumSize(QtCore.QSize(16777215, 16777215))
font = QtGui.QFont()
font.setFamily("Arial Black")
font.setPointSize(-1)
font.setBold(False)
font.setItalic(False)
font.setWeight(10)
self.label_6.setFont(font)
self.label_6.setStyleSheet("color : black;\n"
"font-size :13px")
self.label_6.setObjectName("label_6")
self.horizontalLayout_6.addWidget(self.label_6)
self.getClassID_STD = QtWidgets.QLineEdit(self.page_Stu)
self.getClassID_STD.setMinimumSize(QtCore.QSize(270, 0))
self.getClassID_STD.setMaximumSize(QtCore.QSize(16777215, 16777215))
font = QtGui.QFont()
font.setFamily("12pt Time New Roman")
font.setPointSize(-1)
font.setBold(True)
font.setItalic(False)
font.setWeight(75)
self.getClassID_STD.setFont(font)
self.getClassID_STD.setObjectName("getClassID_STD")
self.horizontalLayout_6.addWidget(self.getClassID_STD)
spacerItem17 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_6.addItem(spacerItem17)
self.verticalLayout_10.addLayout(self.horizontalLayout_6)
self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
self.horizontalLayout_7.setContentsMargins(-1, 10, -1, -1)
self.horizontalLayout_7.setObjectName("horizontalLayout_7")
spacerItem18 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_7.addItem(spacerItem18)
self.insert_btn_STD = QtWidgets.QPushButton(self.page_Stu)
self.insert_btn_STD.setMinimumSize(QtCore.QSize(90, 30))
self.insert_btn_STD.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.insert_btn_STD.setObjectName("insert_btn_STD")
self.horizontalLayout_7.addWidget(self.insert_btn_STD)
self.update_btn_STD = QtWidgets.QPushButton(self.page_Stu)
self.update_btn_STD.setMinimumSize(QtCore.QSize(80, 30))
self.update_btn_STD.setObjectName("update_btn_STD")
self.horizontalLayout_7.addWidget(self.update_btn_STD)
self.delete_btn_STD = QtWidgets.QPushButton(self.page_Stu)
self.delete_btn_STD.setMinimumSize(QtCore.QSize(80, 30))
self.delete_btn_STD.setObjectName("delete_btn_STD")
self.horizontalLayout_7.addWidget(self.delete_btn_STD)
self.clear_btn_STD = QtWidgets.QPushButton(self.page_Stu)
self.clear_btn_STD.setMinimumSize(QtCore.QSize(80, 30))
self.clear_btn_STD.setObjectName("clear_btn_STD")
self.horizontalLayout_7.addWidget(self.clear_btn_STD)
self.search_btn_STD = QtWidgets.QPushButton(self.page_Stu)
self.search_btn_STD.setMinimumSize(QtCore.QSize(80, 30))
self.search_btn_STD.setObjectName("search_btn_STD")
self.horizontalLayout_7.addWidget(self.search_btn_STD)
spacerItem19 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_7.addItem(spacerItem19)
self.verticalLayout_10.addLayout(self.horizontalLayout_7)
self.verticalLayout_14.addLayout(self.verticalLayout_10)
self.horizontalLayout_27.addLayout(self.verticalLayout_14)
self.stackedWidget.addWidget(self.page_Stu)
self.page_Class = QtWidgets.QWidget()
self.page_Class.setObjectName("page_Class")
self.horizontalLayout_26 = QtWidgets.QHBoxLayout(self.page_Class)
self.horizontalLayout_26.setObjectName("horizontalLayout_26")
self.verticalLayout_6 = QtWidgets.QVBoxLayout()
self.verticalLayout_6.setObjectName("verticalLayout_6")
self.horizontalLayout_14 = QtWidgets.QHBoxLayout()
self.horizontalLayout_14.setObjectName("horizontalLayout_14")
self.label_9 = QtWidgets.QLabel(self.page_Class)
font = QtGui.QFont()
font.setFamily("Arial Black")
font.setPointSize(12)
font.setBold(False)
font.setItalic(False)
font.setWeight(10)
self.label_9.setFont(font)
self.label_9.setAlignment(QtCore.Qt.AlignCenter)
self.label_9.setObjectName("label_9")
self.horizontalLayout_14.addWidget(self.label_9)
spacerItem20 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_14.addItem(spacerItem20)
self.verticalLayout_6.addLayout(self.horizontalLayout_14)
self.tableWidget_STD_2 = QtWidgets.QTableWidget(self.page_Class)
self.tableWidget_STD_2.setMinimumSize(QtCore.QSize(700, 0))
self.tableWidget_STD_2.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.tableWidget_STD_2.setFrameShadow(QtWidgets.QFrame.Sunken)
self.tableWidget_STD_2.setLineWidth(1)
self.tableWidget_STD_2.setMidLineWidth(0)
self.tableWidget_STD_2.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContents)
self.tableWidget_STD_2.setAutoScrollMargin(20)
self.tableWidget_STD_2.setShowGrid(True)
self.tableWidget_STD_2.setRowCount(0)
self.tableWidget_STD_2.setColumnCount(3)
self.tableWidget_STD_2.setObjectName("tableWidget_STD_2")
item = QtWidgets.QTableWidgetItem()
self.tableWidget_STD_2.setHorizontalHeaderItem(0, item)
item = QtWidgets.QTableWidgetItem()
font = QtGui.QFont()
font.setUnderline(False)
item.setFont(font)
self.tableWidget_STD_2.setHorizontalHeaderItem(1, item)
item = QtWidgets.QTableWidgetItem()
self.tableWidget_STD_2.setHorizontalHeaderItem(2, item)
self.tableWidget_STD_2.horizontalHeader().setCascadingSectionResizes(False)
self.tableWidget_STD_2.horizontalHeader().setDefaultSectionSize(129)
self.tableWidget_STD_2.horizontalHeader().setHighlightSections(True)
self.tableWidget_STD_2.horizontalHeader().setMinimumSectionSize(60)
self.tableWidget_STD_2.horizontalHeader().setSortIndicatorShown(False)
self.tableWidget_STD_2.horizontalHeader().setStretchLastSection(True)
self.tableWidget_STD_2.verticalHeader().setVisible(False)
self.tableWidget_STD_2.verticalHeader().setCascadingSectionResizes(False)
self.tableWidget_STD_2.verticalHeader().setDefaultSectionSize(30)
self.tableWidget_STD_2.verticalHeader().setMinimumSectionSize(20)
self.tableWidget_STD_2.verticalHeader().setStretchLastSection(False)
self.verticalLayout_6.addWidget(self.tableWidget_STD_2)
self.horizontalLayout_26.addLayout(self.verticalLayout_6)
self.verticalLayout_15 = QtWidgets.QVBoxLayout()
self.verticalLayout_15.setObjectName("verticalLayout_15")
self.verticalLayout_16 = QtWidgets.QVBoxLayout()
self.verticalLayout_16.setContentsMargins(-1, 32, -1, 30)
self.verticalLayout_16.setObjectName("verticalLayout_16")
self.horizontalLayout_15 = QtWidgets.QHBoxLayout()
self.horizontalLayout_15.setObjectName("horizontalLayout_15")
spacerItem21 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_15.addItem(spacerItem21)
self.label_25 = QtWidgets.QLabel(self.page_Class)
self.label_25.setMinimumSize(QtCore.QSize(120, 0))
self.label_25.setMaximumSize(QtCore.QSize(120, 16777215))
self.label_25.setObjectName("label_25")
self.horizontalLayout_15.addWidget(self.label_25)
spacerItem22 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_15.addItem(spacerItem22)
self.verticalLayout_16.addLayout(self.horizontalLayout_15)
self.groupBox_2 = QtWidgets.QGroupBox(self.page_Class)
self.groupBox_2.setMinimumSize(QtCore.QSize(0, 300))
self.groupBox_2.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.groupBox_2.setStyleSheet("QGroupBox {\n"
" border: 2px solid gray;\n"
" border-radius: 5px;\n"
" margin-top: 10px;\n"
"}\n"
"\n"
"QGroupBox:title {\n"
" subcontrol-origin: margin;\n"
" subcontrol-position: top center;\n"
" padding: 0 3px;\n"
"}\n"
"")
self.groupBox_2.setTitle("")
self.groupBox_2.setObjectName("groupBox_2")
self.verticalLayout_17 = QtWidgets.QVBoxLayout(self.groupBox_2)
self.verticalLayout_17.setObjectName("verticalLayout_17")
self.verticalLayout_18 = QtWidgets.QVBoxLayout()
self.verticalLayout_18.setObjectName("verticalLayout_18")
spacerItem23 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout_18.addItem(spacerItem23)
self.horizontalLayout_16 = QtWidgets.QHBoxLayout()
self.horizontalLayout_16.setObjectName("horizontalLayout_16")
spacerItem24 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_16.addItem(spacerItem24)
self.verticalLayout_19 = QtWidgets.QVBoxLayout()
self.verticalLayout_19.setObjectName("verticalLayout_19")
self.horizontalLayout_17 = QtWidgets.QHBoxLayout()
self.horizontalLayout_17.setObjectName("horizontalLayout_17")
self.label_10 = QtWidgets.QLabel(self.groupBox_2)
self.label_10.setMinimumSize(QtCore.QSize(71, 0))
self.label_10.setMaximumSize(QtCore.QSize(125, 20))
font = QtGui.QFont()
font.setFamily("Arial Black")
font.setPointSize(-1)
font.setBold(False)
font.setItalic(False)
font.setWeight(10)
self.label_10.setFont(font)
self.label_10.setStyleSheet("color : black;\n"
"font-size :13px")
self.label_10.setObjectName("label_10")
self.horizontalLayout_17.addWidget(self.label_10)
self.comboBox_sortBy_Class = QtWidgets.QComboBox(self.groupBox_2)
self.comboBox_sortBy_Class.setMaximumSize(QtCore.QSize(200, 16777215))
self.comboBox_sortBy_Class.setStyleSheet("background-color: white;\n"
" color: black; \n"
"\n"
"\n"
"")
self.comboBox_sortBy_Class.setObjectName("comboBox_sortBy_Class")
self.comboBox_sortBy_Class.addItem("")
self.comboBox_sortBy_Class.addItem("")
self.comboBox_sortBy_Class.addItem("")
self.horizontalLayout_17.addWidget(self.comboBox_sortBy_Class)
self.label_11 = QtWidgets.QLabel(self.groupBox_2)
self.label_11.setMinimumSize(QtCore.QSize(71, 0))
self.label_11.setMaximumSize(QtCore.QSize(125, 20))
font = QtGui.QFont()
font.setFamily("Arial Black")
font.setPointSize(-1)
font.setBold(False)
font.setItalic(False)
font.setWeight(10)
self.label_11.setFont(font)
self.label_11.setStyleSheet("color : black;\n"
"font-size :13px")
self.label_11.setObjectName("label_11")
self.horizontalLayout_17.addWidget(self.label_11)
self.comboBox_orderBy_Class = QtWidgets.QComboBox(self.groupBox_2)
self.comboBox_orderBy_Class.setMaximumSize(QtCore.QSize(200, 16777215))
self.comboBox_orderBy_Class.setStyleSheet("background-color: white; /* Màu nền mặc định của ComboBox */\n"
" color: black; /* Màu chữ mặc định của ComboBox */")
self.comboBox_orderBy_Class.setObjectName("comboBox_orderBy_Class")
self.comboBox_orderBy_Class.addItem("")
self.comboBox_orderBy_Class.addItem("")
self.horizontalLayout_17.addWidget(self.comboBox_orderBy_Class)
self.verticalLayout_19.addLayout(self.horizontalLayout_17)
self.horizontalLayout_18 = QtWidgets.QHBoxLayout()
self.horizontalLayout_18.setContentsMargins(-1, 20, -1, -1)
self.horizontalLayout_18.setObjectName("horizontalLayout_18")
self.sort_btn_Class = QtWidgets.QPushButton(self.groupBox_2)
self.sort_btn_Class.setMinimumSize(QtCore.QSize(130, 30))
self.sort_btn_Class.setMaximumSize(QtCore.QSize(130, 16777215))
self.sort_btn_Class.setObjectName("sort_btn_Class")
self.horizontalLayout_18.addWidget(self.sort_btn_Class)
self.default_btn_Class = QtWidgets.QPushButton(self.groupBox_2)
self.default_btn_Class.setMinimumSize(QtCore.QSize(130, 30))
self.default_btn_Class.setMaximumSize(QtCore.QSize(130, 16777215))
self.default_btn_Class.setObjectName("default_btn_Class")
self.horizontalLayout_18.addWidget(self.default_btn_Class)
self.verticalLayout_19.addLayout(self.horizontalLayout_18)
self.horizontalLayout_16.addLayout(self.verticalLayout_19)
spacerItem25 = QtWidgets.QSpacerItem(18, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_16.addItem(spacerItem25)
self.verticalLayout_18.addLayout(self.horizontalLayout_16)
spacerItem26 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout_18.addItem(spacerItem26)
self.verticalLayout_17.addLayout(self.verticalLayout_18)
self.verticalLayout_16.addWidget(self.groupBox_2)
self.verticalLayout_15.addLayout(self.verticalLayout_16)
self.verticalLayout_20 = QtWidgets.QVBoxLayout()
self.verticalLayout_20.setContentsMargins(-1, -1, -1, 85)
self.verticalLayout_20.setObjectName("verticalLayout_20")
self.horizontalLayout_19 = QtWidgets.QHBoxLayout()
self.horizontalLayout_19.setContentsMargins(-1, -1, -1, 0)
self.horizontalLayout_19.setObjectName("horizontalLayout_19")
spacerItem27 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_19.addItem(spacerItem27)
self.label_12 = QtWidgets.QLabel(self.page_Class)
self.label_12.setMinimumSize(QtCore.QSize(130, 0))
self.label_12.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.label_12.setObjectName("label_12")
self.horizontalLayout_19.addWidget(self.label_12)
spacerItem28 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_19.addItem(spacerItem28)
self.verticalLayout_20.addLayout(self.horizontalLayout_19)
self.horizontalLayout_20 = QtWidgets.QHBoxLayout()
self.horizontalLayout_20.setObjectName("horizontalLayout_20")
spacerItem29 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_20.addItem(spacerItem29)
self.label_13 = QtWidgets.QLabel(self.page_Class)
self.label_13.setMinimumSize(QtCore.QSize(125, 0))
self.label_13.setMaximumSize(QtCore.QSize(16777215, 16777215))
font = QtGui.QFont()
font.setFamily("Arial Black")
font.setPointSize(-1)
font.setBold(False)
font.setItalic(False)
font.setWeight(10)
self.label_13.setFont(font)
self.label_13.setStyleSheet("color : black;\n"
"font-size :13px")
self.label_13.setObjectName("label_13")
self.horizontalLayout_20.addWidget(self.label_13)
self.getClassID_Class = QtWidgets.QLineEdit(self.page_Class)
self.getClassID_Class.setMinimumSize(QtCore.QSize(270, 0))
self.getClassID_Class.setMaximumSize(QtCore.QSize(16777215, 16777215))
font = QtGui.QFont()
font.setFamily("12pt Time New Roman")
font.setPointSize(-1)
font.setBold(True)
font.setItalic(False)
font.setWeight(75)
self.getClassID_Class.setFont(font)
self.getClassID_Class.setObjectName("getClassID_Class")
self.horizontalLayout_20.addWidget(self.getClassID_Class)
spacerItem30 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_20.addItem(spacerItem30)
self.verticalLayout_20.addLayout(self.horizontalLayout_20)
self.horizontalLayout_21 = QtWidgets.QHBoxLayout()
self.horizontalLayout_21.setObjectName("horizontalLayout_21")
spacerItem31 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_21.addItem(spacerItem31)
self.label_14 = QtWidgets.QLabel(self.page_Class)
self.label_14.setMinimumSize(QtCore.QSize(125, 0))
self.label_14.setMaximumSize(QtCore.QSize(16777215, 16777215))
font = QtGui.QFont()
font.setFamily("Arial Black")
font.setPointSize(-1)
font.setBold(False)
font.setItalic(False)
font.setWeight(10)
self.label_14.setFont(font)
self.label_14.setStyleSheet("color : black;\n"
"font-size :13px")
self.label_14.setObjectName("label_14")
self.horizontalLayout_21.addWidget(self.label_14)
self.getClassName_Class = QtWidgets.QLineEdit(self.page_Class)
self.getClassName_Class.setMinimumSize(QtCore.QSize(270, 0))
self.getClassName_Class.setMaximumSize(QtCore.QSize(16777215, 16777215))
font = QtGui.QFont()
font.setFamily("12pt Time New Roman")
font.setPointSize(-1)
font.setBold(True)
font.setItalic(False)
font.setWeight(75)
self.getClassName_Class.setFont(font)
self.getClassName_Class.setObjectName("getClassName_Class")
self.horizontalLayout_21.addWidget(self.getClassName_Class)
spacerItem32 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_21.addItem(spacerItem32)
self.verticalLayout_20.addLayout(self.horizontalLayout_21)
self.horizontalLayout_22 = QtWidgets.QHBoxLayout()
self.horizontalLayout_22.setObjectName("horizontalLayout_22")
spacerItem33 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_22.addItem(spacerItem33)
self.label_15 = QtWidgets.QLabel(self.page_Class)
self.label_15.setMinimumSize(QtCore.QSize(125, 0))
self.label_15.setMaximumSize(QtCore.QSize(16777215, 16777215))
font = QtGui.QFont()
font.setFamily("Arial Black")
font.setPointSize(-1)
font.setBold(False)
font.setItalic(False)
font.setWeight(10)
self.label_15.setFont(font)
self.label_15.setStyleSheet("color : black;\n"
"font-size :13px")
self.label_15.setObjectName("label_15")
self.horizontalLayout_22.addWidget(self.label_15)
self.getClassYear_Class = QtWidgets.QLineEdit(self.page_Class)
self.getClassYear_Class.setMinimumSize(QtCore.QSize(270, 0))
self.getClassYear_Class.setMaximumSize(QtCore.QSize(16777215, 16777215))
font = QtGui.QFont()
font.setFamily("12pt Time New Roman")
font.setPointSize(-1)
font.setBold(True)
font.setItalic(False)
font.setWeight(75)
self.getClassYear_Class.setFont(font)
self.getClassYear_Class.setObjectName("getClassYear_Class")
self.horizontalLayout_22.addWidget(self.getClassYear_Class)
spacerItem34 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_22.addItem(spacerItem34)
self.verticalLayout_20.addLayout(self.horizontalLayout_22)
self.horizontalLayout_23 = QtWidgets.QHBoxLayout()
self.horizontalLayout_23.setObjectName("horizontalLayout_23")
self.verticalLayout_20.addLayout(self.horizontalLayout_23)
self.horizontalLayout_24 = QtWidgets.QHBoxLayout()
self.horizontalLayout_24.setContentsMargins(-1, 10, -1, -1)
self.horizontalLayout_24.setObjectName("horizontalLayout_24")
spacerItem35 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_24.addItem(spacerItem35)
self.insert_btn_Class = QtWidgets.QPushButton(self.page_Class)
self.insert_btn_Class.setMinimumSize(QtCore.QSize(90, 30))
self.insert_btn_Class.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.insert_btn_Class.setObjectName("insert_btn_Class")
self.horizontalLayout_24.addWidget(self.insert_btn_Class)
self.update_btn_Class = QtWidgets.QPushButton(self.page_Class)
self.update_btn_Class.setMinimumSize(QtCore.QSize(80, 30))
self.update_btn_Class.setObjectName("update_btn_Class")
self.horizontalLayout_24.addWidget(self.update_btn_Class)
self.delete_btn_Class = QtWidgets.QPushButton(self.page_Class)
self.delete_btn_Class.setMinimumSize(QtCore.QSize(80, 30))
self.delete_btn_Class.setObjectName("delete_btn_Class")
self.horizontalLayout_24.addWidget(self.delete_btn_Class)
self.clear_btn_Class = QtWidgets.QPushButton(self.page_Class)
self.clear_btn_Class.setMinimumSize(QtCore.QSize(80, 30))
self.clear_btn_Class.setObjectName("clear_btn_Class")
self.horizontalLayout_24.addWidget(self.clear_btn_Class)
self.search_btn_Class = QtWidgets.QPushButton(self.page_Class)
self.search_btn_Class.setMinimumSize(QtCore.QSize(80, 30))
self.search_btn_Class.setObjectName("search_btn_Class")
self.horizontalLayout_24.addWidget(self.search_btn_Class)
spacerItem36 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_24.addItem(spacerItem36)
self.verticalLayout_20.addLayout(self.horizontalLayout_24)
self.verticalLayout_15.addLayout(self.verticalLayout_20)
self.horizontalLayout_26.addLayout(self.verticalLayout_15)
self.stackedWidget.addWidget(self.page_Class)
self.page_Subject = QtWidgets.QWidget()
self.page_Subject.setObjectName("page_Subject")
self.horizontalLayout_38 = QtWidgets.QHBoxLayout(self.page_Subject)
self.horizontalLayout_38.setObjectName("horizontalLayout_38")
self.verticalLayout_7 = QtWidgets.QVBoxLayout()
self.verticalLayout_7.setObjectName("verticalLayout_7")
self.horizontalLayout_25 = QtWidgets.QHBoxLayout()
self.horizontalLayout_25.setObjectName("horizontalLayout_25")
self.label_17 = QtWidgets.QLabel(self.page_Subject)
font = QtGui.QFont()
font.setFamily("Arial Black")
font.setPointSize(12)
font.setBold(False)
font.setItalic(False)
font.setWeight(10)
self.label_17.setFont(font)
self.label_17.setAlignment(QtCore.Qt.AlignCenter)
self.label_17.setObjectName("label_17")
self.horizontalLayout_25.addWidget(self.label_17)
spacerItem37 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_25.addItem(spacerItem37)
self.verticalLayout_7.addLayout(self.horizontalLayout_25)
self.tableWidget_STD_3 = QtWidgets.QTableWidget(self.page_Subject)
self.tableWidget_STD_3.setMinimumSize(QtCore.QSize(700, 0))
self.tableWidget_STD_3.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.tableWidget_STD_3.setFrameShadow(QtWidgets.QFrame.Sunken)
self.tableWidget_STD_3.setLineWidth(1)
self.tableWidget_STD_3.setMidLineWidth(0)
self.tableWidget_STD_3.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContents)
self.tableWidget_STD_3.setAutoScrollMargin(20)
self.tableWidget_STD_3.setShowGrid(True)
self.tableWidget_STD_3.setRowCount(0)
self.tableWidget_STD_3.setColumnCount(3)
self.tableWidget_STD_3.setObjectName("tableWidget_STD_3")
item = QtWidgets.QTableWidgetItem()
self.tableWidget_STD_3.setHorizontalHeaderItem(0, item)
item = QtWidgets.QTableWidgetItem()
font = QtGui.QFont()