This repository has been archived by the owner on Oct 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
MOS_UI.py
3291 lines (3285 loc) · 203 KB
/
MOS_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
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
# Form implementation generated from reading ui file '/Users/xyj/.npm/ssh/UI/UI/MOS_UI.ui'
#
# Created by: PyQt6 UI code generator 6.3.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again. Do not edit this file unless you know what you are doing.
import os
from PyQt6 import QtCore, QtGui, QtWidgets
class Ui_MOS(object):
def setupUi(self, MOS):
MOS_catalogue_picture_ico_png = os.path.join("picture", "ico.png")
MOS_catalogue_picture_home_png = os.path.join("picture", "home.png")
MOS_catalogue_picture_online_png = os.path.join("picture", "online.png")
MOS_catalogue_picture_download_png = os.path.join("picture", "download.png")
MOS_catalogue_picture_music_png = os.path.join("picture", "music.png")
MOS_catalogue_picture_settings_png = os.path.join("picture", "settings.png")
MOS_catalogue_picture_about_png = os.path.join("picture", "about.png")
MOS_catalogue_picture_david_png = os.path.join("picture", "david.png")
MOS_catalogue_picture_heimnad_png = os.path.join("picture", "heimnad.png")
MOS_catalogue_picture_fabric_png = os.path.join("picture", "fabric.png")
MOS_catalogue_picture_forge_png = os.path.join("picture", "forge.png")
MOS_catalogue_picture_loading_png = os.path.join("picture", "loading.gif")
MOS_catalogue_picture_loading_black_png = os.path.join("picture", "loading_black.gif")
MOS_catalogue_picture_loading_2_png = os.path.join("picture", "loading_2.gif")
MOS_catalogue_picture_loading_2_black_png = os.path.join("picture", "loading_2_black.gif")
MOS_catalogue_picture_loading_3_png = os.path.join("picture", "loading_3.gif")
MOS_catalogue_picture_loading_3_black_png = os.path.join("picture", "loading_3_black.gif")
MOS_catalogue_picture_quilt_png = os.path.join("picture", "quilt.png")
MOS_catalogue_picture_optifine_png = os.path.join("picture", "optifine.png")
MOS_catalogue_picture_add_png = os.path.join("picture", "add.png")
MOS_catalogue_picture_back_png = os.path.join("picture", "back.png")
MOS_catalogue_picture_back_blue_up_png = os.path.join("picture", "back_blue_up.png")
MOS_catalogue_picture_back_up_png = os.path.join("picture", "back_up.png")
MOS_catalogue_picture_back_down_png = os.path.join("picture", "back_down.png")
MOS_catalogue_picture_back_blue_down_png = os.path.join("picture", "back_blue_down.png")
MOS_catalogue_picture_folder_add_png = os.path.join("picture", "folder_add.png")
MOS_catalogue_picture_folder_minus_png = os.path.join("picture", "folder_minus.png")
MOS_catalogue_picture_folder_open_png = os.path.join("picture", "folder_open.png")
MOS_catalogue_picture_folder_png = os.path.join("picture", "folder.png")
MOS_catalogue_picture_trash_red_png = os.path.join("picture", "trash_red.png")
MOS_catalogue_picture_trash_png = os.path.join("picture", "trash.png")
MOS_catalogue_picture_user_add_png = os.path.join("picture", "user_add.png")
MOS_catalogue_picture_user_png = os.path.join("picture", "picture_user.png")
MOS_catalogue_picture_false_png = os.path.join("picture", "false.png")
MOS.setObjectName("MOS")
MOS.setWindowModality(QtCore.Qt.WindowModality.NonModal)
MOS.resize(1000, 583)
MOS.setMinimumSize(QtCore.QSize(1000, 533))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(MOS_catalogue_picture_ico_png), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
MOS.setWindowIcon(icon)
MOS.setStyleSheet("")
self.centralwidget = QtWidgets.QWidget(MOS)
self.centralwidget.setStyleSheet("background-color: rgba(255, 255, 255,0);outline:0px;")
self.centralwidget.setObjectName("centralwidget")
self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.centralwidget)
self.horizontalLayout_4.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_4.setSpacing(0)
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.widget_mos_left = QtWidgets.QWidget(self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred,
QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.widget_mos_left.sizePolicy().hasHeightForWidth())
self.widget_mos_left.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(15)
self.widget_mos_left.setFont(font)
self.widget_mos_left.setAutoFillBackground(False)
self.widget_mos_left.setStyleSheet("QWidget\n"
"{\n"
" background-color: rgb(231, 230, 228);\n"
"}\n"
"#widget_mos_left_top\n"
"{\n"
" background-color: rgb(231, 230, 228);\n"
" border-style:none;\n"
" border-radius:15px;\n"
"}\n"
"#widget_mos_left_top::hover\n"
"{\n"
" background-color: rgba(0, 150, 255, 51);\n"
"}\n"
"#widget_mos_left_top::pressed\n"
"{\n"
" background-color: rgba(0, 150, 255, 51);\n"
"}\n"
"QPushButton\n"
"{\n"
" color: blue;\n"
" height:35px;\n"
" color: rgb(0, 150, 255);\n"
" background-position: left;\n"
" text-align: left;\n"
" padding-right:15px;\n"
" padding-left:5px;\n"
" border-style:none;\n"
" border-radius:8px;\n"
" border:2px solid rgba(229, 228, 226,0);\n"
"}\n"
"QPushButton::hover\n"
"{\n"
" background-color: rgb(192, 192, 192);\n"
"}\n"
"QPushButton::pressed\n"
"{\n"
" border:2px solid rgb(0, 150, 255);\n"
"}\n"
"\n"
"#pushButton_home\n"
"{\n"
" color: blue;\n"
" height:35px;\n"
" color: rgb(0, 150, 255);\n"
" background-position: left;\n"
" text-align: left;\n"
" padding-right:15px;\n"
" padding-left:5px;\n"
" border-style:none;\n"
" border-radius:8px;\n"
" border:2px solid rgba(229, 228, 226,0);background-color: rgb(192, 192, 192);\n"
"}\n"
"#pushButton_home::hover\n"
"{\n"
" background-color: rgb(192, 192, 192);\n"
"}\n"
"#pushButton_home::pressed\n"
"{\n"
" border:2px solid rgb(0, 150, 255);\n"
"}\n"
"\n"
"ToolTip{\n"
" border: 1px solid rgb(28, 28, 28);\n"
" border-radius: 5px;\n"
" background-color: rgb(43, 43, 43);\n"
"}")
self.widget_mos_left.setObjectName("widget_mos_left")
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.widget_mos_left)
self.verticalLayout_2.setContentsMargins(9, 12, 9, -1)
self.verticalLayout_2.setSpacing(1)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.widget_mos_left_top = QtWidgets.QWidget(self.widget_mos_left)
self.widget_mos_left_top.setStyleSheet("#label_mos_left_top_user{background-color: rgba(255, 255, 255, 0);}\n"
"#label_mos_left_top_add{background-color: rgba(255, 255, 255, 0);}\n"
"QWidget\n"
"{\n"
" background-color: rgb(231, 230, 228);\n"
" border-style:none;\n"
" border-radius:15px;\n"
"}\n"
"QWidget::hover\n"
"{\n"
" background-color: rgba(0, 150, 255, 51);\n"
"}\n"
"QWidget::pressed\n"
"{\n"
" background-color: rgba(0, 150, 255, 51);\n"
"}\n"
"QPushButton\n"
"{\n"
" background-position: left;\n"
" text-align: left;\n"
" padding-right:0px;\n"
" padding-left:0px;\n"
"}\n"
"")
self.widget_mos_left_top.setObjectName("widget_mos_left_top")
self.gridLayout_4 = QtWidgets.QGridLayout(self.widget_mos_left_top)
self.gridLayout_4.setObjectName("gridLayout_4")
self.pushButton_mos_left_top = QtWidgets.QPushButton(self.widget_mos_left_top)
self.pushButton_mos_left_top.setStyleSheet(
"width:50px;height:50px;border-radius: 23px;background-color: rgba(255, 255, 255, 0);")
self.pushButton_mos_left_top.setText("")
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(MOS_catalogue_picture_ico_png), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
self.pushButton_mos_left_top.setIcon(icon1)
self.pushButton_mos_left_top.setIconSize(QtCore.QSize(50, 50))
self.pushButton_mos_left_top.setObjectName("pushButton_mos_left_top")
self.gridLayout_4.addWidget(self.pushButton_mos_left_top, 1, 0, 2, 1)
self.label_mos_left_top_add = QtWidgets.QLabel(self.widget_mos_left_top)
self.label_mos_left_top_add.setStyleSheet("font-size: 13px;")
self.label_mos_left_top_add.setObjectName("label_mos_left_top_add")
self.gridLayout_4.addWidget(self.label_mos_left_top_add, 2, 1, 1, 1)
self.label_mos_left_top_user = QtWidgets.QLabel(self.widget_mos_left_top)
self.label_mos_left_top_user.setStyleSheet("font-size: 13px;")
self.label_mos_left_top_user.setObjectName("label_mos_left_top_user")
self.gridLayout_4.addWidget(self.label_mos_left_top_user, 1, 1, 1, 1)
self.verticalLayout_2.addWidget(self.widget_mos_left_top)
self.line_2 = QtWidgets.QFrame(self.widget_mos_left)
self.line_2.setStyleSheet("background-color: rgba(255, 255, 255, 0);")
self.line_2.setFrameShape(QtWidgets.QFrame.Shape.HLine)
self.line_2.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
self.line_2.setObjectName("line_2")
self.verticalLayout_2.addWidget(self.line_2)
self.pushButton_home = QtWidgets.QPushButton(self.widget_mos_left)
self.pushButton_home.setMinimumSize(QtCore.QSize(150, 0))
self.pushButton_home.setFocusPolicy(QtCore.Qt.FocusPolicy.TabFocus)
self.pushButton_home.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
self.pushButton_home.setStyleSheet("font-size: 15px;")
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap(MOS_catalogue_picture_home_png), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
self.pushButton_home.setIcon(icon2)
self.pushButton_home.setIconSize(QtCore.QSize(20, 20))
self.pushButton_home.setObjectName("pushButton_home")
self.verticalLayout_2.addWidget(self.pushButton_home)
self.pushButton_lianji = QtWidgets.QPushButton(self.widget_mos_left)
self.pushButton_lianji.setMinimumSize(QtCore.QSize(150, 0))
self.pushButton_lianji.setStyleSheet("font-size: 15px;")
icon3 = QtGui.QIcon()
icon3.addPixmap(QtGui.QPixmap(MOS_catalogue_picture_online_png), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
self.pushButton_lianji.setIcon(icon3)
self.pushButton_lianji.setIconSize(QtCore.QSize(20, 20))
self.pushButton_lianji.setObjectName("pushButton_lianji")
self.verticalLayout_2.addWidget(self.pushButton_lianji)
self.pushButton_xiazai = QtWidgets.QPushButton(self.widget_mos_left)
self.pushButton_xiazai.setMinimumSize(QtCore.QSize(150, 0))
self.pushButton_xiazai.setStyleSheet("font-size: 15px;")
icon4 = QtGui.QIcon()
icon4.addPixmap(QtGui.QPixmap(MOS_catalogue_picture_download_png), QtGui.QIcon.Mode.Normal,
QtGui.QIcon.State.Off)
self.pushButton_xiazai.setIcon(icon4)
self.pushButton_xiazai.setIconSize(QtCore.QSize(20, 20))
self.pushButton_xiazai.setObjectName("pushButton_xiazai")
self.verticalLayout_2.addWidget(self.pushButton_xiazai)
self.pushButton_music = QtWidgets.QPushButton(self.widget_mos_left)
self.pushButton_music.setMinimumSize(QtCore.QSize(150, 0))
self.pushButton_music.setStyleSheet("font-size: 15px;")
icon5 = QtGui.QIcon()
icon5.addPixmap(QtGui.QPixmap(MOS_catalogue_picture_music_png), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
self.pushButton_music.setIcon(icon5)
self.pushButton_music.setIconSize(QtCore.QSize(20, 20))
self.pushButton_music.setObjectName("pushButton_music")
self.verticalLayout_2.addWidget(self.pushButton_music)
self.pushButton_shezhi = QtWidgets.QPushButton(self.widget_mos_left)
self.pushButton_shezhi.setMinimumSize(QtCore.QSize(150, 0))
self.pushButton_shezhi.setStyleSheet("font-size: 15px;")
icon6 = QtGui.QIcon()
icon6.addPixmap(QtGui.QPixmap(MOS_catalogue_picture_settings_png), QtGui.QIcon.Mode.Normal,
QtGui.QIcon.State.Off)
self.pushButton_shezhi.setIcon(icon6)
self.pushButton_shezhi.setIconSize(QtCore.QSize(20, 20))
self.pushButton_shezhi.setObjectName("pushButton_shezhi")
self.verticalLayout_2.addWidget(self.pushButton_shezhi)
self.pushButton_about = QtWidgets.QPushButton(self.widget_mos_left)
self.pushButton_about.setMinimumSize(QtCore.QSize(150, 0))
self.pushButton_about.setStyleSheet("font-size: 15px;")
icon7 = QtGui.QIcon()
icon7.addPixmap(QtGui.QPixmap(MOS_catalogue_picture_about_png), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
self.pushButton_about.setIcon(icon7)
self.pushButton_about.setIconSize(QtCore.QSize(20, 20))
self.pushButton_about.setObjectName("pushButton_about")
self.verticalLayout_2.addWidget(self.pushButton_about)
spacerItem = QtWidgets.QSpacerItem(20, 184, QtWidgets.QSizePolicy.Policy.Minimum,
QtWidgets.QSizePolicy.Policy.Expanding)
self.verticalLayout_2.addItem(spacerItem)
self.label_mosll = QtWidgets.QLabel(self.widget_mos_left)
self.label_mosll.setStyleSheet(
"color: rgb(0, 150, 255);font-size: 17px;font: 75 17pt \"Yuanti SC\";background-color: rgba(240, 239, 238,0);")
self.label_mosll.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label_mosll.setWordWrap(True)
self.label_mosll.setObjectName("label_mosll")
self.verticalLayout_2.addWidget(self.label_mosll)
self.horizontalLayout_4.addWidget(self.widget_mos_left)
self.stackedWidget_mos_right = QtWidgets.QStackedWidget(self.centralwidget)
self.stackedWidget_mos_right.setStyleSheet("background-color: rgb(255, 255, 255);")
self.stackedWidget_mos_right.setObjectName("stackedWidget_mos_right")
self.page_gonggao = QtWidgets.QWidget()
self.page_gonggao.setStyleSheet("")
self.page_gonggao.setObjectName("page_gonggao")
self.gridLayout_16 = QtWidgets.QGridLayout(self.page_gonggao)
self.gridLayout_16.setContentsMargins(0, 0, 0, 0)
self.gridLayout_16.setSpacing(0)
self.gridLayout_16.setObjectName("gridLayout_16")
self.scrollArea_page_gonggao = QtWidgets.QScrollArea(self.page_gonggao)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding,
QtWidgets.QSizePolicy.Policy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(1)
sizePolicy.setHeightForWidth(self.scrollArea_page_gonggao.sizePolicy().hasHeightForWidth())
self.scrollArea_page_gonggao.setSizePolicy(sizePolicy)
self.scrollArea_page_gonggao.setMinimumSize(QtCore.QSize(790, 0))
self.scrollArea_page_gonggao.setStyleSheet("border-style:none;background-color: rgb(255, 255, 255);")
self.scrollArea_page_gonggao.setWidgetResizable(True)
self.scrollArea_page_gonggao.setObjectName("scrollArea_page_gonggao")
self.scrollAreaWidgetContents = QtWidgets.QWidget()
self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 832, 583))
self.scrollAreaWidgetContents.setStyleSheet("")
self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
self.gridLayout_47 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents)
self.gridLayout_47.setObjectName("gridLayout_47")
self.widget_scrollArea_page_gonggao_right = QtWidgets.QWidget(self.scrollAreaWidgetContents)
self.widget_scrollArea_page_gonggao_right.setMinimumSize(QtCore.QSize(399, 509))
self.widget_scrollArea_page_gonggao_right.setStyleSheet(
"QWidget{border:2px solid rgb(0, 150, 255);border-radius:15px;}\n"
"QLabel{border-style:none;}\n"
"QProgressBar{\n"
" text-align: center;border-style:none;border-radius:7px;background-color: rgba(0, 150, 255, 10);height:15px;color: rgb(66, 66, 66);\n"
"}\n"
"QProgressBar::chunk{\n"
" border-radius:7px;\n"
" background-color: qlineargradient(spread:reflect, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(53, 244, 252, 255), stop:1 rgba(222, 255, 255, 255));\n"
"}")
self.widget_scrollArea_page_gonggao_right.setObjectName("widget_scrollArea_page_gonggao_right")
self.gridLayout_28 = QtWidgets.QGridLayout(self.widget_scrollArea_page_gonggao_right)
self.gridLayout_28.setObjectName("gridLayout_28")
self.label__gonggao_right_txt = QtWidgets.QLabel(self.widget_scrollArea_page_gonggao_right)
self.label__gonggao_right_txt.setStyleSheet("font-size: 14px;")
self.label__gonggao_right_txt.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label__gonggao_right_txt.setWordWrap(True)
self.label__gonggao_right_txt.setObjectName("label__gonggao_right_txt")
self.gridLayout_28.addWidget(self.label__gonggao_right_txt, 0, 0, 1, 1)
self.line_8 = QtWidgets.QFrame(self.widget_scrollArea_page_gonggao_right)
self.line_8.setStyleSheet("background-color: rgb(169, 169, 169);border:none;")
self.line_8.setFrameShape(QtWidgets.QFrame.Shape.HLine)
self.line_8.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
self.line_8.setObjectName("line_8")
self.gridLayout_28.addWidget(self.line_8, 1, 0, 1, 1)
self.widget_scrollArea_page_gonggao_statring = QtWidgets.QWidget(self.widget_scrollArea_page_gonggao_right)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred,
QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.widget_scrollArea_page_gonggao_statring.sizePolicy().hasHeightForWidth())
self.widget_scrollArea_page_gonggao_statring.setSizePolicy(sizePolicy)
self.widget_scrollArea_page_gonggao_statring.setStyleSheet("border-style:none;")
self.widget_scrollArea_page_gonggao_statring.setObjectName("widget_scrollArea_page_gonggao_statring")
self.gridLayout_2 = QtWidgets.QGridLayout(self.widget_scrollArea_page_gonggao_statring)
self.gridLayout_2.setObjectName("gridLayout_2")
self.progressBar = QtWidgets.QProgressBar(self.widget_scrollArea_page_gonggao_statring)
self.progressBar.setStyleSheet("font-size: 13px;")
self.progressBar.setMinimum(0)
self.progressBar.setProperty("value", 0)
self.progressBar.setObjectName("progressBar")
self.gridLayout_2.addWidget(self.progressBar, 2, 0, 1, 5)
spacerItem1 = QtWidgets.QSpacerItem(10, 40, QtWidgets.QSizePolicy.Policy.Minimum,
QtWidgets.QSizePolicy.Policy.Expanding)
self.gridLayout_2.addItem(spacerItem1, 0, 0, 1, 1)
spacerItem2 = QtWidgets.QSpacerItem(10, 40, QtWidgets.QSizePolicy.Policy.Minimum,
QtWidgets.QSizePolicy.Policy.Expanding)
self.gridLayout_2.addItem(spacerItem2, 0, 4, 2, 1)
self.label_3 = QtWidgets.QLabel(self.widget_scrollArea_page_gonggao_statring)
self.label_3.setStyleSheet("border-style:none;background-color: rgba(255, 255, 255, 0);")
self.label_3.setText("")
self.label_3.setPixmap(QtGui.QPixmap(MOS_catalogue_picture_loading_3_png))
self.label_3.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label_3.setObjectName("label_3")
self.gridLayout_2.addWidget(self.label_3, 0, 1, 2, 3)
self.label_7 = QtWidgets.QLabel(self.widget_scrollArea_page_gonggao_statring)
self.label_7.setStyleSheet("font-size: 13px;")
self.label_7.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label_7.setObjectName("label_7")
self.gridLayout_2.addWidget(self.label_7, 3, 0, 1, 5)
self.gridLayout_28.addWidget(self.widget_scrollArea_page_gonggao_statring, 2, 0, 1, 1)
self.widget_9 = QtWidgets.QWidget(self.widget_scrollArea_page_gonggao_right)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding,
QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.widget_9.sizePolicy().hasHeightForWidth())
self.widget_9.setSizePolicy(sizePolicy)
self.widget_9.setStyleSheet("QWidget{border-style:none;}\n"
"QPushButton{border:2px solid rgb(192, 192, 192);border-radius:8px;}\n"
"#pushButton__gonggao_start{border:2px solid rgb(0, 150, 255);height:25px;border-radius:8px;}\n"
"#pushButton__gonggao_start::hover{color: rgba(0, 150, 255,100);}\n"
"#pushButton__gonggao_start::pressed{background-color: rgba(0, 150, 255, 50);}\n"
"\n"
"QComboBox {\n"
" border: 2px solid rgb(169, 169, 169); /* border: 宽度 线类型 颜色 */\n"
" height:25px;\n"
" /*background-color: rgba(0, 150, 255, 150);*/\n"
" background-color: rgba(214, 214, 214,100);\n"
" border-radius:8px;\n"
"}\n"
"\n"
"/*下拉框的样式*/\n"
"QComboBox QAbstractItemView\n"
"{\n"
" outline: 0px solid gray; /*取消选中虚线*/\n"
" border: 1px solid rgb(31, 156, 255);\n"
" color: rgb(66, 66, 66);\n"
" background-color: rgb(255, 255, 255);\n"
" selection-background-color: rgb(0, 150, 255);\n"
" border-radius:5px;\n"
" height:35px;\n"
" border:None;\n"
"}\n"
"/*选中每一项的字体颜色和背景颜色*/\n"
"QComboBox::item:selected \n"
"{\n"
" color: rgb(255, 255, 255);\n"
" background-color: rgb(0, 150, 255);\n"
" border-radius:5px;\n"
"}\n"
"/*右边*/\n"
"QComboBox::drop-down{border: 2px solid rgba(0, 150, 255,0);}\n"
"QComboBox::down-arrow\n"
"{\n"
" image: url(:/img/back_blue_down.png);\n"
" width: 25px;\n"
" height: 35px;\n"
" right:6px;\n"
" border-left: 2px solid rgb(192, 192, 192);\n"
" border-right: 1px solid rgba(214, 214, 214,0);\n"
"}\n"
"QComboBox::down-arrow:on\n"
"{\n"
" image: url(:/img/back_blue_up.png);\n"
" width: 25px;\n"
" height: 35px;\n"
" right:6px;\n"
" border-left: 2px solid rgb(192, 192, 192);\n"
" border-right: 1px solid rgba(214, 214, 214,0);\n"
"}\n"
"/*QComboBox::down-arrow::hover{}*\n"
"\n"
"/* QComboBox中的垂直滚动条 */\n"
"QComboBox QAbstractScrollArea QScrollBar:vertical {\n"
" width: 10px;\n"
" height: 8px;\n"
" background-color: rgb(255, 64, 255); /* 空白区域的背景色*/\n"
" border-style:none;\n"
"}\n"
"\n"
"QComboBox QAbstractScrollArea QScrollBar::handle:vertical {\n"
" border-radius: 5px; /* 圆角 */\n"
" background: rgb(160,160,160); /* 小方块的背景色深灰lightblue */\n"
"}\n"
"\n"
"QComboBox QAbstractScrollArea QScrollBar::handle:vertical:hover {\n"
" background: rgb(255, 255, 255); /* 越过小方块的背景色*/\n"
"}")
self.widget_9.setObjectName("widget_9")
self.gridLayout_6 = QtWidgets.QGridLayout(self.widget_9)
self.gridLayout_6.setContentsMargins(0, 0, 0, 0)
self.gridLayout_6.setHorizontalSpacing(5)
self.gridLayout_6.setObjectName("gridLayout_6")
self.pushButton_16 = QtWidgets.QPushButton(self.widget_9)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.pushButton_16.sizePolicy().hasHeightForWidth())
self.pushButton_16.setSizePolicy(sizePolicy)
self.pushButton_16.setMinimumSize(QtCore.QSize(183, 29))
self.pushButton_16.setStyleSheet("font-size: 14px;")
self.pushButton_16.setObjectName("pushButton_16")
self.gridLayout_6.addWidget(self.pushButton_16, 0, 0, 1, 1)
self.pushButton_17 = QtWidgets.QPushButton(self.widget_9)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.pushButton_17.sizePolicy().hasHeightForWidth())
self.pushButton_17.setSizePolicy(sizePolicy)
self.pushButton_17.setMinimumSize(QtCore.QSize(183, 29))
self.pushButton_17.setStyleSheet("font-size: 14px;")
self.pushButton_17.setObjectName("pushButton_17")
self.gridLayout_6.addWidget(self.pushButton_17, 0, 1, 1, 1)
self.comboBox_gonggao_right = QtWidgets.QComboBox(self.widget_9)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.comboBox_gonggao_right.sizePolicy().hasHeightForWidth())
self.comboBox_gonggao_right.setSizePolicy(sizePolicy)
self.comboBox_gonggao_right.setMinimumSize(QtCore.QSize(183, 29))
self.comboBox_gonggao_right.setMouseTracking(False)
self.comboBox_gonggao_right.setStyleSheet("font-size: 14px;")
self.comboBox_gonggao_right.setEditable(False)
self.comboBox_gonggao_right.setMaxVisibleItems(15)
self.comboBox_gonggao_right.setMaxCount(2147483647)
self.comboBox_gonggao_right.setMinimumContentsLength(0)
self.comboBox_gonggao_right.setDuplicatesEnabled(False)
self.comboBox_gonggao_right.setFrame(True)
self.comboBox_gonggao_right.setModelColumn(0)
self.comboBox_gonggao_right.setObjectName("comboBox_gonggao_right")
self.gridLayout_6.addWidget(self.comboBox_gonggao_right, 1, 0, 1, 1)
self.pushButton__gonggao_start = QtWidgets.QPushButton(self.widget_9)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.pushButton__gonggao_start.sizePolicy().hasHeightForWidth())
self.pushButton__gonggao_start.setSizePolicy(sizePolicy)
self.pushButton__gonggao_start.setMinimumSize(QtCore.QSize(183, 29))
self.pushButton__gonggao_start.setStyleSheet("font-size: 14px;")
self.pushButton__gonggao_start.setObjectName("pushButton__gonggao_start")
self.gridLayout_6.addWidget(self.pushButton__gonggao_start, 1, 1, 1, 1)
self.gridLayout_28.addWidget(self.widget_9, 3, 0, 1, 1)
self.gridLayout_47.addWidget(self.widget_scrollArea_page_gonggao_right, 0, 1, 1, 1)
self.widget_scrollArea_page_gonggao_left = QtWidgets.QWidget(self.scrollAreaWidgetContents)
self.widget_scrollArea_page_gonggao_left.setMinimumSize(QtCore.QSize(399, 509))
self.widget_scrollArea_page_gonggao_left.setStyleSheet(
"QWidget{border:2px solid rgb(0, 150, 255);border-radius:15px;}\n"
"QLabel{border-style:none;}")
self.widget_scrollArea_page_gonggao_left.setObjectName("widget_scrollArea_page_gonggao_left")
self.gridLayout_5 = QtWidgets.QGridLayout(self.widget_scrollArea_page_gonggao_left)
self.gridLayout_5.setContentsMargins(10, -1, 10, -1)
self.gridLayout_5.setHorizontalSpacing(0)
self.gridLayout_5.setObjectName("gridLayout_5")
self.label_gonggao_left_txt = QtWidgets.QLabel(self.widget_scrollArea_page_gonggao_left)
self.label_gonggao_left_txt.setStyleSheet("font-size: 14px;")
self.label_gonggao_left_txt.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label_gonggao_left_txt.setWordWrap(True)
self.label_gonggao_left_txt.setObjectName("label_gonggao_left_txt")
self.gridLayout_5.addWidget(self.label_gonggao_left_txt, 0, 0, 1, 1)
self.stackedWidget_gonggao = QtWidgets.QStackedWidget(self.widget_scrollArea_page_gonggao_left)
self.stackedWidget_gonggao.setStyleSheet("border-style:none;")
self.stackedWidget_gonggao.setFrameShape(QtWidgets.QFrame.Shape.NoFrame)
self.stackedWidget_gonggao.setLineWidth(2)
self.stackedWidget_gonggao.setObjectName("stackedWidget_gonggao")
self.page_gonggao_jiazai = QtWidgets.QWidget()
self.page_gonggao_jiazai.setStyleSheet(
"QTextBrowser{border-style:none;background-color: rgba(255, 255, 255, 0);}")
self.page_gonggao_jiazai.setObjectName("page_gonggao_jiazai")
self.gridLayout_20 = QtWidgets.QGridLayout(self.page_gonggao_jiazai)
self.gridLayout_20.setContentsMargins(0, 0, 0, 0)
self.gridLayout_20.setObjectName("gridLayout_20")
self.textBrowser_gonggao_left_txt = QtWidgets.QTextBrowser(self.page_gonggao_jiazai)
self.textBrowser_gonggao_left_txt.setStyleSheet("")
self.textBrowser_gonggao_left_txt.setObjectName("textBrowser_gonggao_left_txt")
self.gridLayout_20.addWidget(self.textBrowser_gonggao_left_txt, 0, 0, 1, 1)
self.stackedWidget_gonggao.addWidget(self.page_gonggao_jiazai)
self.page_gonggao_jiazai_ing = QtWidgets.QWidget()
self.page_gonggao_jiazai_ing.setStyleSheet("QProgressBar{\n"
" text-align: center;border-style:none;border-radius:7px;background-color: rgba(0, 150, 255, 10);height:15px;color: rgb(66, 66, 66);\n"
"}\n"
"QProgressBar::chunk{\n"
" border-radius:7px;\n"
" background-color: qlineargradient(spread:reflect, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(53, 244, 252, 255), stop:1 rgba(222, 255, 255, 255));\n"
"}\n"
"QLabel{color: rgb(0, 150, 255);}")
self.page_gonggao_jiazai_ing.setObjectName("page_gonggao_jiazai_ing")
self.gridLayout_21 = QtWidgets.QGridLayout(self.page_gonggao_jiazai_ing)
self.gridLayout_21.setContentsMargins(0, 0, 0, 0)
self.gridLayout_21.setObjectName("gridLayout_21")
spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum,
QtWidgets.QSizePolicy.Policy.Expanding)
self.gridLayout_21.addItem(spacerItem3, 0, 0, 1, 1)
self.label_2 = QtWidgets.QLabel(self.page_gonggao_jiazai_ing)
self.label_2.setStyleSheet("font-size: 13px;")
self.label_2.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label_2.setWordWrap(True)
self.label_2.setObjectName("label_2")
self.gridLayout_21.addWidget(self.label_2, 1, 0, 1, 1)
spacerItem4 = QtWidgets.QSpacerItem(40, 30, QtWidgets.QSizePolicy.Policy.Minimum,
QtWidgets.QSizePolicy.Policy.Expanding)
self.gridLayout_21.addItem(spacerItem4, 3, 0, 1, 1)
self.progressBar_2 = QtWidgets.QProgressBar(self.page_gonggao_jiazai_ing)
self.progressBar_2.setStyleSheet("font-size: 13px;")
self.progressBar_2.setMinimum(0)
self.progressBar_2.setMaximum(100)
self.progressBar_2.setProperty("value", 25)
self.progressBar_2.setAlignment(
QtCore.Qt.AlignmentFlag.AlignLeading | QtCore.Qt.AlignmentFlag.AlignLeft | QtCore.Qt.AlignmentFlag.AlignVCenter)
self.progressBar_2.setTextVisible(True)
self.progressBar_2.setOrientation(QtCore.Qt.Orientation.Horizontal)
self.progressBar_2.setInvertedAppearance(False)
self.progressBar_2.setTextDirection(QtWidgets.QProgressBar.Direction.TopToBottom)
self.progressBar_2.setObjectName("progressBar_2")
self.gridLayout_21.addWidget(self.progressBar_2, 2, 0, 1, 1)
self.stackedWidget_gonggao.addWidget(self.page_gonggao_jiazai_ing)
self.gridLayout_5.addWidget(self.stackedWidget_gonggao, 2, 0, 1, 2)
spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding,
QtWidgets.QSizePolicy.Policy.Minimum)
self.gridLayout_5.addItem(spacerItem5, 3, 0, 1, 1)
self.line_7 = QtWidgets.QFrame(self.widget_scrollArea_page_gonggao_left)
self.line_7.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
self.line_7.setAutoFillBackground(False)
self.line_7.setStyleSheet("background-color: rgb(169, 169, 169);border:none;")
self.line_7.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
self.line_7.setLineWidth(1)
self.line_7.setFrameShape(QtWidgets.QFrame.Shape.HLine)
self.line_7.setObjectName("line_7")
self.gridLayout_5.addWidget(self.line_7, 1, 0, 1, 2)
self.gridLayout_47.addWidget(self.widget_scrollArea_page_gonggao_left, 0, 0, 1, 1)
self.scrollArea_page_gonggao.setWidget(self.scrollAreaWidgetContents)
self.gridLayout_16.addWidget(self.scrollArea_page_gonggao, 0, 0, 1, 1)
self.stackedWidget_mos_right.addWidget(self.page_gonggao)
self.page_8 = QtWidgets.QWidget()
self.page_8.setStyleSheet(
"QLabel{border-style:none;color:rgb(33, 33, 33);background-color: rgba(255, 255, 255, 0);}")
self.page_8.setObjectName("page_8")
self.gridLayout_50 = QtWidgets.QGridLayout(self.page_8)
self.gridLayout_50.setContentsMargins(0, 0, 0, 0)
self.gridLayout_50.setVerticalSpacing(0)
self.gridLayout_50.setObjectName("gridLayout_50")
self.stackedWidget_mos_right_2 = QtWidgets.QStackedWidget(self.page_8)
self.stackedWidget_mos_right_2.setStyleSheet("background-color: rgba(255, 255, 255, 128);")
self.stackedWidget_mos_right_2.setObjectName("stackedWidget_mos_right_2")
self.page_12 = QtWidgets.QWidget()
self.page_12.setStyleSheet("#pushButton_35\n"
"{\n"
" width:30px;border-radius: 13px;background-color: rgba(255, 255, 255, 0);\n"
"}\n"
"#pushButton_35::hover\n"
"{\n"
" border-radius: 13px;\n"
" background-color: rgba(192, 192, 192, 128);\n"
"}\n"
"#pushButton_35::pressed\n"
"{\n"
" background-color: rgba(0, 150, 255, 51);\n"
"}\n"
"#pushButton_41\n"
"{\n"
" width:30px;border-radius: 13px;background-color: rgba(255, 255, 255, 0);\n"
"}\n"
"#pushButton_41::hover\n"
"{\n"
" border-radius: 13px;\n"
" background-color: rgba(192, 192, 192, 128);\n"
"}\n"
"#pushButton_41::pressed\n"
"{\n"
" background-color: rgba(0, 150, 255, 51);\n"
"}")
self.page_12.setObjectName("page_12")
self.gridLayout_33 = QtWidgets.QGridLayout(self.page_12)
self.gridLayout_33.setContentsMargins(5, 0, 5, 5)
self.gridLayout_33.setHorizontalSpacing(0)
self.gridLayout_33.setObjectName("gridLayout_33")
spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding,
QtWidgets.QSizePolicy.Policy.Minimum)
self.gridLayout_33.addItem(spacerItem6, 1, 3, 1, 1)
spacerItem7 = QtWidgets.QSpacerItem(805, 13, QtWidgets.QSizePolicy.Policy.Expanding,
QtWidgets.QSizePolicy.Policy.Minimum)
self.gridLayout_33.addItem(spacerItem7, 0, 0, 1, 4)
self.line_11 = QtWidgets.QFrame(self.page_12)
self.line_11.setStyleSheet("color:rgb(214, 214, 214)")
self.line_11.setFrameShadow(QtWidgets.QFrame.Shadow.Plain)
self.line_11.setMidLineWidth(1)
self.line_11.setFrameShape(QtWidgets.QFrame.Shape.HLine)
self.line_11.setObjectName("line_11")
self.gridLayout_33.addWidget(self.line_11, 2, 0, 1, 4)
self.label_24 = QtWidgets.QLabel(self.page_12)
self.label_24.setStyleSheet("font-size: 17px;")
self.label_24.setIndent(8)
self.label_24.setOpenExternalLinks(False)
self.label_24.setObjectName("label_24")
self.gridLayout_33.addWidget(self.label_24, 1, 1, 1, 1)
self.widget_20 = QtWidgets.QWidget(self.page_12)
self.widget_20.setObjectName("widget_20")
self.gridLayout_55 = QtWidgets.QGridLayout(self.widget_20)
self.gridLayout_55.setContentsMargins(0, 0, 0, 0)
self.gridLayout_55.setHorizontalSpacing(4)
self.gridLayout_55.setObjectName("gridLayout_55")
self.line_16 = QtWidgets.QFrame(self.widget_20)
self.line_16.setStyleSheet("border-style:none;background-color: rgba(66, 66, 66,200);")
self.line_16.setFrameShape(QtWidgets.QFrame.Shape.VLine)
self.line_16.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
self.line_16.setObjectName("line_16")
self.gridLayout_55.addWidget(self.line_16, 0, 1, 1, 1)
self.widget_7 = QtWidgets.QWidget(self.widget_20)
self.widget_7.setMaximumSize(QtCore.QSize(185, 16777215))
self.widget_7.setStyleSheet("#listWidget{border-style:none;}\n"
"QListView::item {\n"
" height: 30px;\n"
" padding: 10px;\n"
" border-left: 3px solid rgba(214, 214, 214,0);\n"
"}\n"
"QListView::item:hover {\n"
" border-left: 3px solid rgb(214, 214, 214);\n"
" background-color: transparent;\n"
"}\n"
"QListView::item:selected {\n"
" background-color: transparent;\n"
" color: black;\n"
" border-left: 3px solid rgb(0, 150, 255);\n"
"}\n"
"QPushButton\n"
"{\n"
" border-radius: 2px;background-color: rgba(255, 255, 255, 0);border-style:none;\n"
"}\n"
"QPushButton::hover\n"
"{\n"
" border-radius: 2px;\n"
" background-color: rgba(192, 192, 192, 128);\n"
"}\n"
"QPushButton::pressed\n"
"{\n"
" background-color: rgba(0, 150, 255, 51);\n"
"}\n"
"\n"
"QScrollArea{border-style:none;background-color: rgba(255, 255, 255, 0);}\n"
"/*设置垂直滚动条基本样式*/\n"
"QScrollBar:vertical\n"
"{\n"
" width:8px;\n"
" background:rgba(0,0,0,0%);\n"
" margin:0px,0px,0px,0px;\n"
" padding-top:9px; /*留出9px给上面和下面的箭头*/\n"
" padding-bottom:9px;\n"
"}\n"
"QScrollBar::handle:vertical\n"
"{\n"
" width:8px;\n"
" background: rgb(214, 214, 214);\n"
" border-radius:3px; /*滚动条两端变成椭圆*/\n"
" min-height:;\n"
"}\n"
"QScrollBar::handle:vertical:hover\n"
"{\n"
" width:8px;\n"
" background:rgb(192, 192, 192); /* 鼠标放到滚动条上的时候,颜色变深*/\n"
" border-radius:4px;\n"
" min-height:;\n"
"}\n"
"QScrollBar::add-line:vertical /*这个应该是设置下箭头的,3.png就是箭头*/\n"
"{\n"
" height:9px;width:8px;\n"
" border-image:url(:/img/picture/caret-down_1.png);\n"
" subcontrol-position:bottom;\n"
"}\n"
"QScrollBar::sub-line:vertical /*设置上箭头*/\n"
"{\n"
" height:9px;width:8px;\n"
" border-image:url(:/img/picture/caret-up_1.png);\n"
" subcontrol-position:top;\n"
"}\n"
"QScrollBar::add-line:vertical:hover /*当鼠标放到下箭头上的时候*/\n"
"{\n"
" height:9px;width:8px;\n"
" border-image:url(:/img/picture/caret-down.png);\n"
" subcontrol-position:bottom;\n"
"}\n"
"QScrollBar::sub-line:vertical:hover /*当鼠标放到下箭头上的时候*/\n"
"{\n"
" height:9px;width:8px;\n"
" border-image:url(:/img/picture/caret-up.png);\n"
" subcontrol-position:top;\n"
"}\n"
"QScrollBar::sub-page:vertical,QScrollBar::add-page:vertical /*当滚动条滚动的时候,上面的部分和下面的部分*/\n"
"{\n"
" background: rgba(235, 235, 235,150);\n"
" border-radius:4px;\n"
"}\n"
"QScrollBar::add-page:vertical,QScrollBar::sub-page:vertical /*当滚动条滚动的时候,上面的部分和下面的部分*/\n"
"{\n"
" background: rgba(235, 235, 235,150);\n"
" border-radius:4px;\n"
"}")
self.widget_7.setObjectName("widget_7")
self.verticalLayout = QtWidgets.QVBoxLayout(self.widget_7)
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
self.verticalLayout.setSpacing(3)
self.verticalLayout.setObjectName("verticalLayout")
self.listWidget = QtWidgets.QListWidget(self.widget_7)
self.listWidget.setStyleSheet("font-size: 15px;")
self.listWidget.setIconSize(QtCore.QSize(24, 24))
self.listWidget.setObjectName("listWidget")
item = QtWidgets.QListWidgetItem()
icon8 = QtGui.QIcon()
icon8.addPixmap(QtGui.QPixmap(MOS_catalogue_picture_folder_png), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
item.setIcon(icon8)
self.listWidget.addItem(item)
self.verticalLayout.addWidget(self.listWidget)
self.pushButton_38 = QtWidgets.QPushButton(self.widget_7)
self.pushButton_38.setMinimumSize(QtCore.QSize(0, 30))
self.pushButton_38.setStyleSheet("font-size: 13px;")
self.pushButton_38.setIcon(icon6)
self.pushButton_38.setObjectName("pushButton_38")
self.verticalLayout.addWidget(self.pushButton_38)
self.pushButton_36 = QtWidgets.QPushButton(self.widget_7)
self.pushButton_36.setMinimumSize(QtCore.QSize(0, 30))
self.pushButton_36.setStyleSheet("font-size: 13px;")
icon9 = QtGui.QIcon()
icon9.addPixmap(QtGui.QPixmap(MOS_catalogue_picture_folder_add_png), QtGui.QIcon.Mode.Normal,
QtGui.QIcon.State.Off)
self.pushButton_36.setIcon(icon9)
self.pushButton_36.setObjectName("pushButton_36")
self.verticalLayout.addWidget(self.pushButton_36)
self.pushButton_37 = QtWidgets.QPushButton(self.widget_7)
self.pushButton_37.setMinimumSize(QtCore.QSize(0, 30))
self.pushButton_37.setStyleSheet("font-size: 13px;")
icon10 = QtGui.QIcon()
icon10.addPixmap(QtGui.QPixmap(MOS_catalogue_picture_add_png), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
self.pushButton_37.setIcon(icon10)
self.pushButton_37.setObjectName("pushButton_37")
self.verticalLayout.addWidget(self.pushButton_37)
self.gridLayout_55.addWidget(self.widget_7, 0, 0, 1, 1)
self.widget_6 = QtWidgets.QWidget(self.widget_20)
self.widget_6.setStyleSheet("")
self.widget_6.setObjectName("widget_6")
self.gridLayout_52 = QtWidgets.QGridLayout(self.widget_6)
self.gridLayout_52.setContentsMargins(0, 0, 0, 0)
self.gridLayout_52.setHorizontalSpacing(0)
self.gridLayout_52.setObjectName("gridLayout_52")
self.stackedWidget_5 = QtWidgets.QStackedWidget(self.widget_6)
self.stackedWidget_5.setStyleSheet("")
self.stackedWidget_5.setObjectName("stackedWidget_5")
self.page_21 = QtWidgets.QWidget()
self.page_21.setStyleSheet("#listWidget_2{border-style:none;}\n"
"QListView::item {\n"
" height: 25px;\n"
" padding: 8px;\n"
" border-left: 3px solid rgba(214, 214, 214,0);\n"
"}\n"
"QListView::item:hover {\n"
" border-left: 3px solid rgb(214, 214, 214);\n"
" background-color: transparent;\n"
"}\n"
"QListView::item:selected {\n"
" background-color: transparent;\n"
" color: black;\n"
" background-color: rgb(235, 235, 235);\n"
" border-left: 3px solid rgb(0, 150, 255);\n"
"}\n"
"\n"
"QScrollArea{border-style:none;background-color: rgba(255, 255, 255, 0);}\n"
"/*设置垂直滚动条基本样式*/\n"
"QScrollBar:vertical\n"
"{\n"
" width:8px;\n"
" background:rgba(0,0,0,0%);\n"
" margin:0px,0px,0px,0px;\n"
" padding-top:9px; /*留出9px给上面和下面的箭头*/\n"
" padding-bottom:9px;\n"
"}\n"
"QScrollBar::handle:vertical\n"
"{\n"
" width:8px;\n"
" background: rgb(214, 214, 214);\n"
" border-radius:3px; /*滚动条两端变成椭圆*/\n"
" min-height:;\n"
"}\n"
"QScrollBar::handle:vertical:hover\n"
"{\n"
" width:8px;\n"
" background:rgb(192, 192, 192); /* 鼠标放到滚动条上的时候,颜色变深*/\n"
" border-radius:4px;\n"
" min-height:;\n"
"}\n"
"QScrollBar::add-line:vertical /*这个应该是设置下箭头的,3.png就是箭头*/\n"
"{\n"
" height:9px;width:8px;\n"
" border-image:url(:/img/picture/caret-down_1.png);\n"
" subcontrol-position:bottom;\n"
"}\n"
"QScrollBar::sub-line:vertical /*设置上箭头*/\n"
"{\n"
" height:9px;width:8px;\n"
" border-image:url(:/img/picture/caret-up_1.png);\n"
" subcontrol-position:top;\n"
"}\n"
"QScrollBar::add-line:vertical:hover /*当鼠标放到下箭头上的时候*/\n"
"{\n"
" height:9px;width:8px;\n"
" border-image:url(:/img/picture/caret-down.png);\n"
" subcontrol-position:bottom;\n"
"}\n"
"QScrollBar::sub-line:vertical:hover /*当鼠标放到下箭头上的时候*/\n"
"{\n"
" height:9px;width:8px;\n"
" border-image:url(:/img/picture/caret-up.png);\n"
" subcontrol-position:top;\n"
"}\n"
"QScrollBar::sub-page:vertical,QScrollBar::add-page:vertical /*当滚动条滚动的时候,上面的部分和下面的部分*/\n"
"{\n"
" background: rgba(235, 235, 235,150);\n"
" border-radius:4px;\n"
"}\n"
"QScrollBar::add-page:vertical,QScrollBar::sub-page:vertical /*当滚动条滚动的时候,上面的部分和下面的部分*/\n"
"{\n"
" background: rgba(235, 235, 235,150);\n"
" border-radius:4px;\n"
"}")
self.page_21.setObjectName("page_21")
self.gridLayout_51 = QtWidgets.QGridLayout(self.page_21)
self.gridLayout_51.setContentsMargins(0, 0, 0, 0)
self.gridLayout_51.setObjectName("gridLayout_51")
self.listWidget_2 = QtWidgets.QListWidget(self.page_21)
self.listWidget_2.setStyleSheet("font-size: 14px;")
self.listWidget_2.setMovement(QtWidgets.QListView.Movement.Snap)
self.listWidget_2.setObjectName("listWidget_2")
self.gridLayout_51.addWidget(self.listWidget_2, 0, 0, 1, 1)
self.stackedWidget_5.addWidget(self.page_21)
self.page_25 = QtWidgets.QWidget()
self.page_25.setStyleSheet(
"#label_43{border-style:none;color:rgb(33, 33, 33);background-color: rgba(255, 255, 255, 0);}")
self.page_25.setObjectName("page_25")
self.gridLayout_22 = QtWidgets.QGridLayout(self.page_25)
self.gridLayout_22.setObjectName("gridLayout_22")
self.widget_22 = QtWidgets.QWidget(self.page_25)
self.widget_22.setStyleSheet("QWidget{border-radius: 15px;background-color: rgb(249, 249, 249);}\n"
"QLineEdit{border-radius: 10px;border:2px solid rgb(192, 192, 192);background-color: rgb(255, 255, 255);}\n"
"QLineEdit::focus{border:2px solid rgb(0, 250, 146);}")
self.widget_22.setObjectName("widget_22")
self.gridLayout_58 = QtWidgets.QGridLayout(self.widget_22)
self.gridLayout_58.setObjectName("gridLayout_58")
self.label_44 = QtWidgets.QLabel(self.widget_22)
self.label_44.setStyleSheet("font-size: 14px;")
self.label_44.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label_44.setObjectName("label_44")
self.gridLayout_58.addWidget(self.label_44, 0, 0, 1, 1)
self.lineEdit_4 = QtWidgets.QLineEdit(self.widget_22)
self.lineEdit_4.setMinimumSize(QtCore.QSize(0, 28))
self.lineEdit_4.setStyleSheet("font-size: 14px;")
self.lineEdit_4.setInputMask("")
self.lineEdit_4.setText("")
self.lineEdit_4.setDragEnabled(False)
self.lineEdit_4.setReadOnly(False)
self.lineEdit_4.setObjectName("lineEdit_4")
self.gridLayout_58.addWidget(self.lineEdit_4, 0, 1, 1, 1)
spacerItem8 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding,
QtWidgets.QSizePolicy.Policy.Minimum)
self.gridLayout_58.addItem(spacerItem8, 1, 0, 1, 1)
self.label_47 = QtWidgets.QLabel(self.widget_22)
self.label_47.setStyleSheet("font-size: 14px;")
self.label_47.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label_47.setObjectName("label_47")
self.gridLayout_58.addWidget(self.label_47, 1, 1, 1, 1)
self.gridLayout_22.addWidget(self.widget_22, 2, 0, 1, 4)
spacerItem9 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum,
QtWidgets.QSizePolicy.Policy.Expanding)
self.gridLayout_22.addItem(spacerItem9, 5, 0, 1, 4)
self.label_43 = QtWidgets.QLabel(self.page_25)
self.label_43.setStyleSheet("font-size: 17px;")
self.label_43.setLineWidth(1)
self.label_43.setIndent(4)
self.label_43.setOpenExternalLinks(False)
self.label_43.setObjectName("label_43")
self.gridLayout_22.addWidget(self.label_43, 0, 1, 1, 1)
self.widget_21 = QtWidgets.QWidget(self.page_25)
self.widget_21.setStyleSheet("QWidget{border-radius: 15px;background-color: rgb(249, 249, 249);}\n"
"QPushButton{border-radius: 10px;border:2px solid rgb(192, 192, 192);background-color: rgb(255, 255, 255);}\n"
"QPushButton::hover{background-color: rgb(118, 214, 255);border:2px solid rgb(128, 217, 255);color: rgb(255, 255, 255);}")
self.widget_21.setObjectName("widget_21")
self.gridLayout_57 = QtWidgets.QGridLayout(self.widget_21)
self.gridLayout_57.setObjectName("gridLayout_57")
self.label_45 = QtWidgets.QLabel(self.widget_21)
self.label_45.setStyleSheet("font-size: 14px;")
self.label_45.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label_45.setWordWrap(False)
self.label_45.setOpenExternalLinks(False)
self.label_45.setObjectName("label_45")
self.gridLayout_57.addWidget(self.label_45, 0, 0, 2, 1)
self.label_48 = QtWidgets.QLabel(self.widget_21)
self.label_48.setStyleSheet("font-size: 14px;")
self.label_48.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label_48.setObjectName("label_48")
self.gridLayout_57.addWidget(self.label_48, 2, 0, 1, 1)
self.pushButton_42 = QtWidgets.QPushButton(self.widget_21)
self.pushButton_42.setMinimumSize(QtCore.QSize(0, 28))
self.pushButton_42.setStyleSheet("font-size: 14px;")
self.pushButton_42.setIcon(icon8)
self.pushButton_42.setObjectName("pushButton_42")
self.gridLayout_57.addWidget(self.pushButton_42, 0, 2, 2, 1)
self.label_46 = QtWidgets.QLabel(self.widget_21)
self.label_46.setStyleSheet("font-size: 13px;")
self.label_46.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label_46.setObjectName("label_46")
self.gridLayout_57.addWidget(self.label_46, 2, 2, 1, 1)
self.gridLayout_22.addWidget(self.widget_21, 1, 0, 1, 4)
self.pushButton_41 = QtWidgets.QPushButton(self.page_25)
self.pushButton_41.setStyleSheet("")
self.pushButton_41.setText("")
icon11 = QtGui.QIcon()
icon11.addPixmap(QtGui.QPixmap(MOS_catalogue_picture_back_png), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
self.pushButton_41.setIcon(icon11)
self.pushButton_41.setIconSize(QtCore.QSize(27, 30))
self.pushButton_41.setAutoDefault(False)
self.pushButton_41.setDefault(False)
self.pushButton_41.setFlat(False)
self.pushButton_41.setObjectName("pushButton_41")
self.gridLayout_22.addWidget(self.pushButton_41, 0, 0, 1, 1)
self.widget_3 = QtWidgets.QWidget(self.page_25)
self.widget_3.setEnabled(True)
self.widget_3.setMinimumSize(QtCore.QSize(602, 44))
self.widget_3.setStyleSheet("QWiget{background-color: rgba(255, 255, 255, 0);}\n"
"QPushButton\n"
"{\n"
" border-radius: 10px;border:2px solid rgb(115, 250, 121);background-color: rgb(255, 255, 255);\n"
"}\n"
"QPushButton::hover\n"
"{\n"
" color: rgb(115, 250, 121);\n"
"}\n"
"QPushButton::pressed\n"
"{\n"
" background-color: rgb(115, 250, 121);color: rgb(255, 255, 255);\n"
"}\n"
"QPushButton:disabled{\n"
" /*禁用*/\n"
" border-radius: 10px;border:2px solid rgb(214, 214, 214);background-color: rgb(255, 255, 255);\n"
"}")
self.widget_3.setObjectName("widget_3")
self.gridLayout_27 = QtWidgets.QGridLayout(self.widget_3)
self.gridLayout_27.setObjectName("gridLayout_27")
spacerItem10 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding,
QtWidgets.QSizePolicy.Policy.Minimum)
self.gridLayout_27.addItem(spacerItem10, 1, 3, 1, 1)
spacerItem11 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding,
QtWidgets.QSizePolicy.Policy.Minimum)
self.gridLayout_27.addItem(spacerItem11, 1, 1, 1, 1)
spacerItem12 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding,
QtWidgets.QSizePolicy.Policy.Minimum)
self.gridLayout_27.addItem(spacerItem12, 1, 2, 1, 1)
self.pushButton_18 = QtWidgets.QPushButton(self.widget_3)