-
Notifications
You must be signed in to change notification settings - Fork 0
/
2.py
666 lines (656 loc) · 40.2 KB
/
2.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'd:\workplace\maps\map_assistant.ui'
#
# Created by: PyQt5 UI code generator 5.15.7
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(540, 540)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(1)
sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
MainWindow.setSizePolicy(sizePolicy)
self.centralwidget = QtWidgets.QWidget(MainWindow)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.centralwidget.sizePolicy().hasHeightForWidth())
self.centralwidget.setSizePolicy(sizePolicy)
self.centralwidget.setObjectName("centralwidget")
self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)
self.verticalLayout.setObjectName("verticalLayout")
self.maps = QtWidgets.QGroupBox(self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.maps.sizePolicy().hasHeightForWidth())
self.maps.setSizePolicy(sizePolicy)
self.maps.setObjectName("maps")
self.gridLayout_6 = QtWidgets.QGridLayout(self.maps)
self.gridLayout_6.setObjectName("gridLayout_6")
self.military_factory = QtWidgets.QRadioButton(self.maps)
self.military_factory.setObjectName("military_factory")
self.gridLayout_6.addWidget(self.military_factory, 0, 0, 1, 1)
self.red_church = QtWidgets.QRadioButton(self.maps)
self.red_church.setObjectName("red_church")
self.gridLayout_6.addWidget(self.red_church, 0, 1, 1, 1)
self.moon_river = QtWidgets.QRadioButton(self.maps)
self.moon_river.setObjectName("moon_river")
self.gridLayout_6.addWidget(self.moon_river, 0, 2, 1, 1)
self.hospital = QtWidgets.QRadioButton(self.maps)
self.hospital.setObjectName("hospital")
self.gridLayout_6.addWidget(self.hospital, 0, 3, 1, 1)
self.village = QtWidgets.QRadioButton(self.maps)
self.village.setObjectName("village")
self.gridLayout_6.addWidget(self.village, 1, 0, 1, 1)
self.town = QtWidgets.QRadioButton(self.maps)
self.town.setObjectName("town")
self.gridLayout_6.addWidget(self.town, 1, 1, 1, 1)
self.chinese_street = QtWidgets.QRadioButton(self.maps)
self.chinese_street.setObjectName("chinese_street")
self.gridLayout_6.addWidget(self.chinese_street, 1, 2, 1, 1)
self.rio_memory = QtWidgets.QRadioButton(self.maps)
self.rio_memory.setObjectName("rio_memory")
self.gridLayout_6.addWidget(self.rio_memory, 1, 3, 1, 1)
self.verticalLayout.addWidget(self.maps)
self.frame = QtWidgets.QFrame(self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(1)
sizePolicy.setHeightForWidth(self.frame.sizePolicy().hasHeightForWidth())
self.frame.setSizePolicy(sizePolicy)
self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame.setObjectName("frame")
self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.frame)
self.verticalLayout_7.setObjectName("verticalLayout_7")
self.red_church_2 = QtWidgets.QGroupBox(self.frame)
self.red_church_2.setObjectName("red_church_2")
self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.red_church_2)
self.verticalLayout_6.setObjectName("verticalLayout_6")
self.label_11 = QtWidgets.QLabel(self.red_church_2)
self.label_11.setObjectName("label_11")
self.verticalLayout_6.addWidget(self.label_11)
self.red_church_2_killer = QtWidgets.QGridLayout()
self.red_church_2_killer.setObjectName("red_church_2_killer")
self.checkBox_81 = QtWidgets.QCheckBox(self.red_church_2)
self.checkBox_81.setObjectName("checkBox_81")
self.red_church_2_killer.addWidget(self.checkBox_81, 0, 1, 1, 1)
self.checkBox_84 = QtWidgets.QCheckBox(self.red_church_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.checkBox_84.sizePolicy().hasHeightForWidth())
self.checkBox_84.setSizePolicy(sizePolicy)
self.checkBox_84.setObjectName("checkBox_84")
self.red_church_2_killer.addWidget(self.checkBox_84, 1, 0, 1, 1)
self.checkBox_86 = QtWidgets.QCheckBox(self.red_church_2)
self.checkBox_86.setObjectName("checkBox_86")
self.red_church_2_killer.addWidget(self.checkBox_86, 0, 4, 1, 1)
self.checkBox_88 = QtWidgets.QCheckBox(self.red_church_2)
self.checkBox_88.setObjectName("checkBox_88")
self.red_church_2_killer.addWidget(self.checkBox_88, 0, 0, 1, 1)
self.checkBox_95 = QtWidgets.QCheckBox(self.red_church_2)
self.checkBox_95.setObjectName("checkBox_95")
self.red_church_2_killer.addWidget(self.checkBox_95, 1, 1, 1, 1)
self.checkBox_96 = QtWidgets.QCheckBox(self.red_church_2)
self.checkBox_96.setObjectName("checkBox_96")
self.red_church_2_killer.addWidget(self.checkBox_96, 0, 5, 1, 1)
self.verticalLayout_6.addLayout(self.red_church_2_killer)
self.label_12 = QtWidgets.QLabel(self.red_church_2)
self.label_12.setObjectName("label_12")
self.verticalLayout_6.addWidget(self.label_12)
self.red_church_2_human = QtWidgets.QGridLayout()
self.red_church_2_human.setObjectName("red_church_2_human")
self.checkBox_98 = QtWidgets.QCheckBox(self.red_church_2)
self.checkBox_98.setObjectName("checkBox_98")
self.red_church_2_human.addWidget(self.checkBox_98, 1, 4, 1, 1)
self.checkBox_99 = QtWidgets.QCheckBox(self.red_church_2)
self.checkBox_99.setObjectName("checkBox_99")
self.red_church_2_human.addWidget(self.checkBox_99, 0, 0, 1, 1)
self.checkBox_100 = QtWidgets.QCheckBox(self.red_church_2)
self.checkBox_100.setObjectName("checkBox_100")
self.red_church_2_human.addWidget(self.checkBox_100, 2, 4, 1, 1)
self.checkBox_101 = QtWidgets.QCheckBox(self.red_church_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.checkBox_101.sizePolicy().hasHeightForWidth())
self.checkBox_101.setSizePolicy(sizePolicy)
self.checkBox_101.setObjectName("checkBox_101")
self.red_church_2_human.addWidget(self.checkBox_101, 2, 0, 1, 1)
self.checkBox_102 = QtWidgets.QCheckBox(self.red_church_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.checkBox_102.sizePolicy().hasHeightForWidth())
self.checkBox_102.setSizePolicy(sizePolicy)
self.checkBox_102.setObjectName("checkBox_102")
self.red_church_2_human.addWidget(self.checkBox_102, 0, 5, 1, 1)
self.checkBox_103 = QtWidgets.QCheckBox(self.red_church_2)
self.checkBox_103.setObjectName("checkBox_103")
self.red_church_2_human.addWidget(self.checkBox_103, 1, 1, 1, 1)
self.checkBox_104 = QtWidgets.QCheckBox(self.red_church_2)
self.checkBox_104.setObjectName("checkBox_104")
self.red_church_2_human.addWidget(self.checkBox_104, 0, 4, 1, 1)
self.checkBox_105 = QtWidgets.QCheckBox(self.red_church_2)
self.checkBox_105.setObjectName("checkBox_105")
self.red_church_2_human.addWidget(self.checkBox_105, 2, 1, 1, 1)
self.checkBox_106 = QtWidgets.QCheckBox(self.red_church_2)
self.checkBox_106.setObjectName("checkBox_106")
self.red_church_2_human.addWidget(self.checkBox_106, 1, 5, 1, 1)
self.checkBox_107 = QtWidgets.QCheckBox(self.red_church_2)
self.checkBox_107.setObjectName("checkBox_107")
self.red_church_2_human.addWidget(self.checkBox_107, 0, 1, 1, 1)
self.checkBox_108 = QtWidgets.QCheckBox(self.red_church_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.checkBox_108.sizePolicy().hasHeightForWidth())
self.checkBox_108.setSizePolicy(sizePolicy)
self.checkBox_108.setObjectName("checkBox_108")
self.red_church_2_human.addWidget(self.checkBox_108, 1, 0, 1, 1)
self.verticalLayout_6.addLayout(self.red_church_2_human)
self.verticalLayout_7.addWidget(self.red_church_2)
self.moon_river_2 = QtWidgets.QGroupBox(self.frame)
self.moon_river_2.setObjectName("moon_river_2")
self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.moon_river_2)
self.verticalLayout_5.setObjectName("verticalLayout_5")
self.label_13 = QtWidgets.QLabel(self.moon_river_2)
self.label_13.setObjectName("label_13")
self.verticalLayout_5.addWidget(self.label_13)
self.moon_river_2_killer = QtWidgets.QGridLayout()
self.moon_river_2_killer.setObjectName("moon_river_2_killer")
self.checkBox_109 = QtWidgets.QCheckBox(self.moon_river_2)
self.checkBox_109.setObjectName("checkBox_109")
self.moon_river_2_killer.addWidget(self.checkBox_109, 0, 1, 1, 1)
self.checkBox_110 = QtWidgets.QCheckBox(self.moon_river_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.checkBox_110.sizePolicy().hasHeightForWidth())
self.checkBox_110.setSizePolicy(sizePolicy)
self.checkBox_110.setObjectName("checkBox_110")
self.moon_river_2_killer.addWidget(self.checkBox_110, 1, 0, 1, 1)
self.checkBox_111 = QtWidgets.QCheckBox(self.moon_river_2)
self.checkBox_111.setObjectName("checkBox_111")
self.moon_river_2_killer.addWidget(self.checkBox_111, 0, 4, 1, 1)
self.checkBox_112 = QtWidgets.QCheckBox(self.moon_river_2)
self.checkBox_112.setObjectName("checkBox_112")
self.moon_river_2_killer.addWidget(self.checkBox_112, 0, 0, 1, 1)
self.checkBox_113 = QtWidgets.QCheckBox(self.moon_river_2)
self.checkBox_113.setObjectName("checkBox_113")
self.moon_river_2_killer.addWidget(self.checkBox_113, 1, 1, 1, 1)
self.checkBox_114 = QtWidgets.QCheckBox(self.moon_river_2)
self.checkBox_114.setObjectName("checkBox_114")
self.moon_river_2_killer.addWidget(self.checkBox_114, 0, 5, 1, 1)
self.checkBox_126 = QtWidgets.QCheckBox(self.moon_river_2)
self.checkBox_126.setObjectName("checkBox_126")
self.moon_river_2_killer.addWidget(self.checkBox_126, 1, 4, 1, 1)
self.verticalLayout_5.addLayout(self.moon_river_2_killer)
self.label_14 = QtWidgets.QLabel(self.moon_river_2)
self.label_14.setObjectName("label_14")
self.verticalLayout_5.addWidget(self.label_14)
self.moon_river_2_human = QtWidgets.QGridLayout()
self.moon_river_2_human.setObjectName("moon_river_2_human")
self.checkBox_116 = QtWidgets.QCheckBox(self.moon_river_2)
self.checkBox_116.setObjectName("checkBox_116")
self.moon_river_2_human.addWidget(self.checkBox_116, 0, 0, 1, 1)
self.checkBox_125 = QtWidgets.QCheckBox(self.moon_river_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.checkBox_125.sizePolicy().hasHeightForWidth())
self.checkBox_125.setSizePolicy(sizePolicy)
self.checkBox_125.setObjectName("checkBox_125")
self.moon_river_2_human.addWidget(self.checkBox_125, 1, 0, 1, 1)
self.checkBox_129 = QtWidgets.QCheckBox(self.moon_river_2)
self.checkBox_129.setObjectName("checkBox_129")
self.moon_river_2_human.addWidget(self.checkBox_129, 3, 0, 1, 1)
self.checkBox_132 = QtWidgets.QCheckBox(self.moon_river_2)
self.checkBox_132.setObjectName("checkBox_132")
self.moon_river_2_human.addWidget(self.checkBox_132, 2, 1, 1, 1)
self.checkBox_118 = QtWidgets.QCheckBox(self.moon_river_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.checkBox_118.sizePolicy().hasHeightForWidth())
self.checkBox_118.setSizePolicy(sizePolicy)
self.checkBox_118.setObjectName("checkBox_118")
self.moon_river_2_human.addWidget(self.checkBox_118, 0, 5, 1, 1)
self.checkBox_124 = QtWidgets.QCheckBox(self.moon_river_2)
self.checkBox_124.setObjectName("checkBox_124")
self.moon_river_2_human.addWidget(self.checkBox_124, 0, 1, 1, 1)
self.checkBox_121 = QtWidgets.QCheckBox(self.moon_river_2)
self.checkBox_121.setObjectName("checkBox_121")
self.moon_river_2_human.addWidget(self.checkBox_121, 0, 4, 1, 1)
self.checkBox_123 = QtWidgets.QCheckBox(self.moon_river_2)
self.checkBox_123.setObjectName("checkBox_123")
self.moon_river_2_human.addWidget(self.checkBox_123, 1, 4, 1, 1)
self.checkBox_131 = QtWidgets.QCheckBox(self.moon_river_2)
self.checkBox_131.setObjectName("checkBox_131")
self.moon_river_2_human.addWidget(self.checkBox_131, 3, 5, 1, 1)
self.checkBox_130 = QtWidgets.QCheckBox(self.moon_river_2)
self.checkBox_130.setObjectName("checkBox_130")
self.moon_river_2_human.addWidget(self.checkBox_130, 3, 4, 1, 1)
self.checkBox_117 = QtWidgets.QCheckBox(self.moon_river_2)
self.checkBox_117.setObjectName("checkBox_117")
self.moon_river_2_human.addWidget(self.checkBox_117, 3, 1, 1, 1)
self.checkBox_122 = QtWidgets.QCheckBox(self.moon_river_2)
self.checkBox_122.setObjectName("checkBox_122")
self.moon_river_2_human.addWidget(self.checkBox_122, 1, 5, 1, 1)
self.checkBox_128 = QtWidgets.QCheckBox(self.moon_river_2)
self.checkBox_128.setObjectName("checkBox_128")
self.moon_river_2_human.addWidget(self.checkBox_128, 2, 5, 1, 1)
self.verticalLayout_5.addLayout(self.moon_river_2_human)
self.verticalLayout_7.addWidget(self.moon_river_2)
self.hospital_2 = QtWidgets.QGroupBox(self.frame)
self.hospital_2.setObjectName("hospital_2")
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.hospital_2)
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.label_9 = QtWidgets.QLabel(self.hospital_2)
self.label_9.setObjectName("label_9")
self.verticalLayout_4.addWidget(self.label_9)
self.hospital_2_killer = QtWidgets.QGridLayout()
self.hospital_2_killer.setObjectName("hospital_2_killer")
self.checkBox_75 = QtWidgets.QCheckBox(self.hospital_2)
self.checkBox_75.setObjectName("checkBox_75")
self.hospital_2_killer.addWidget(self.checkBox_75, 0, 1, 1, 1)
self.checkBox_76 = QtWidgets.QCheckBox(self.hospital_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.checkBox_76.sizePolicy().hasHeightForWidth())
self.checkBox_76.setSizePolicy(sizePolicy)
self.checkBox_76.setObjectName("checkBox_76")
self.hospital_2_killer.addWidget(self.checkBox_76, 1, 0, 1, 1)
self.checkBox_77 = QtWidgets.QCheckBox(self.hospital_2)
self.checkBox_77.setObjectName("checkBox_77")
self.hospital_2_killer.addWidget(self.checkBox_77, 0, 4, 1, 1)
self.checkBox_78 = QtWidgets.QCheckBox(self.hospital_2)
self.checkBox_78.setObjectName("checkBox_78")
self.hospital_2_killer.addWidget(self.checkBox_78, 0, 0, 1, 1)
self.checkBox_79 = QtWidgets.QCheckBox(self.hospital_2)
self.checkBox_79.setObjectName("checkBox_79")
self.hospital_2_killer.addWidget(self.checkBox_79, 1, 1, 1, 1)
self.checkBox_80 = QtWidgets.QCheckBox(self.hospital_2)
self.checkBox_80.setObjectName("checkBox_80")
self.hospital_2_killer.addWidget(self.checkBox_80, 0, 5, 1, 1)
self.verticalLayout_4.addLayout(self.hospital_2_killer)
self.label_10 = QtWidgets.QLabel(self.hospital_2)
self.label_10.setObjectName("label_10")
self.verticalLayout_4.addWidget(self.label_10)
self.hospital_2_human = QtWidgets.QGridLayout()
self.hospital_2_human.setObjectName("hospital_2_human")
self.checkBox_92 = QtWidgets.QCheckBox(self.hospital_2)
self.checkBox_92.setObjectName("checkBox_92")
self.hospital_2_human.addWidget(self.checkBox_92, 0, 0, 1, 1)
self.checkBox_83 = QtWidgets.QCheckBox(self.hospital_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.checkBox_83.sizePolicy().hasHeightForWidth())
self.checkBox_83.setSizePolicy(sizePolicy)
self.checkBox_83.setObjectName("checkBox_83")
self.hospital_2_human.addWidget(self.checkBox_83, 0, 5, 1, 1)
self.checkBox_87 = QtWidgets.QCheckBox(self.hospital_2)
self.checkBox_87.setObjectName("checkBox_87")
self.hospital_2_human.addWidget(self.checkBox_87, 0, 4, 1, 1)
self.checkBox_85 = QtWidgets.QCheckBox(self.hospital_2)
self.checkBox_85.setObjectName("checkBox_85")
self.hospital_2_human.addWidget(self.checkBox_85, 0, 1, 1, 1)
self.checkBox_89 = QtWidgets.QCheckBox(self.hospital_2)
self.checkBox_89.setObjectName("checkBox_89")
self.hospital_2_human.addWidget(self.checkBox_89, 2, 4, 1, 1)
self.checkBox_82 = QtWidgets.QCheckBox(self.hospital_2)
self.checkBox_82.setObjectName("checkBox_82")
self.hospital_2_human.addWidget(self.checkBox_82, 1, 0, 1, 1)
self.checkBox = QtWidgets.QCheckBox(self.hospital_2)
self.checkBox.setObjectName("checkBox")
self.hospital_2_human.addWidget(self.checkBox, 1, 1, 1, 1)
self.checkBox_93 = QtWidgets.QCheckBox(self.hospital_2)
self.checkBox_93.setObjectName("checkBox_93")
self.hospital_2_human.addWidget(self.checkBox_93, 1, 4, 1, 1)
self.checkBox_127 = QtWidgets.QCheckBox(self.hospital_2)
self.checkBox_127.setObjectName("checkBox_127")
self.hospital_2_human.addWidget(self.checkBox_127, 2, 0, 1, 1)
self.checkBox_90 = QtWidgets.QCheckBox(self.hospital_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.checkBox_90.sizePolicy().hasHeightForWidth())
self.checkBox_90.setSizePolicy(sizePolicy)
self.checkBox_90.setObjectName("checkBox_90")
self.hospital_2_human.addWidget(self.checkBox_90, 2, 1, 1, 1)
self.verticalLayout_4.addLayout(self.hospital_2_human)
self.verticalLayout_7.addWidget(self.hospital_2)
self.military_factory_2 = QtWidgets.QGroupBox(self.frame)
self.military_factory_2.setObjectName("military_factory_2")
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.military_factory_2)
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.label = QtWidgets.QLabel(self.military_factory_2)
self.label.setObjectName("label")
self.verticalLayout_3.addWidget(self.label)
self.military_factory_2_killer = QtWidgets.QGridLayout()
self.military_factory_2_killer.setObjectName("military_factory_2_killer")
self.mft2 = QtWidgets.QCheckBox(self.military_factory_2)
self.mft2.setObjectName("mft2")
self.military_factory_2_killer.addWidget(self.mft2, 0, 1, 1, 1)
self.mft3 = QtWidgets.QCheckBox(self.military_factory_2)
self.mft3.setObjectName("mft3")
self.military_factory_2_killer.addWidget(self.mft3, 0, 4, 1, 1)
self.mft1 = QtWidgets.QCheckBox(self.military_factory_2)
self.mft1.setObjectName("mft1")
self.military_factory_2_killer.addWidget(self.mft1, 0, 0, 1, 1)
self.mft4 = QtWidgets.QCheckBox(self.military_factory_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.mft4.sizePolicy().hasHeightForWidth())
self.mft4.setSizePolicy(sizePolicy)
self.mft4.setObjectName("mft4")
self.military_factory_2_killer.addWidget(self.mft4, 1, 0, 1, 1)
self.mft5 = QtWidgets.QCheckBox(self.military_factory_2)
self.mft5.setObjectName("mft5")
self.military_factory_2_killer.addWidget(self.mft5, 1, 1, 1, 1)
self.mft6 = QtWidgets.QCheckBox(self.military_factory_2)
self.mft6.setObjectName("mft6")
self.military_factory_2_killer.addWidget(self.mft6, 1, 4, 1, 1)
self.verticalLayout_3.addLayout(self.military_factory_2_killer)
self.label_2 = QtWidgets.QLabel(self.military_factory_2)
self.label_2.setObjectName("label_2")
self.verticalLayout_3.addWidget(self.label_2)
self.military_factory_2_human = QtWidgets.QGridLayout()
self.military_factory_2_human.setObjectName("military_factory_2_human")
self.mfr4 = QtWidgets.QCheckBox(self.military_factory_2)
self.mfr4.setObjectName("mfr4")
self.military_factory_2_human.addWidget(self.mfr4, 0, 0, 1, 1)
self.mfr1 = QtWidgets.QCheckBox(self.military_factory_2)
self.mfr1.setObjectName("mfr1")
self.military_factory_2_human.addWidget(self.mfr1, 0, 1, 1, 1)
self.mfr2 = QtWidgets.QCheckBox(self.military_factory_2)
self.mfr2.setObjectName("mfr2")
self.military_factory_2_human.addWidget(self.mfr2, 0, 2, 1, 1)
self.mfr3 = QtWidgets.QCheckBox(self.military_factory_2)
self.mfr3.setObjectName("mfr3")
self.military_factory_2_human.addWidget(self.mfr3, 0, 3, 1, 1)
self.mfr5 = QtWidgets.QCheckBox(self.military_factory_2)
self.mfr5.setObjectName("mfr5")
self.military_factory_2_human.addWidget(self.mfr5, 0, 4, 1, 1)
self.verticalLayout_3.addLayout(self.military_factory_2_human)
self.verticalLayout_7.addWidget(self.military_factory_2)
self.village_2 = QtWidgets.QGroupBox(self.frame)
self.village_2.setObjectName("village_2")
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.village_2)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.label_7 = QtWidgets.QLabel(self.village_2)
self.label_7.setObjectName("label_7")
self.verticalLayout_2.addWidget(self.label_7)
self.village_2_killer = QtWidgets.QGridLayout()
self.village_2_killer.setObjectName("village_2_killer")
self.vt7 = QtWidgets.QCheckBox(self.village_2)
self.vt7.setObjectName("vt7")
self.village_2_killer.addWidget(self.vt7, 1, 4, 1, 1)
self.vt2 = QtWidgets.QCheckBox(self.village_2)
self.vt2.setObjectName("vt2")
self.village_2_killer.addWidget(self.vt2, 0, 1, 1, 1)
self.vt4 = QtWidgets.QCheckBox(self.village_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.vt4.sizePolicy().hasHeightForWidth())
self.vt4.setSizePolicy(sizePolicy)
self.vt4.setObjectName("vt4")
self.village_2_killer.addWidget(self.vt4, 1, 0, 1, 1)
self.vt3 = QtWidgets.QCheckBox(self.village_2)
self.vt3.setObjectName("vt3")
self.village_2_killer.addWidget(self.vt3, 0, 4, 1, 1)
self.vt1 = QtWidgets.QCheckBox(self.village_2)
self.vt1.setObjectName("vt1")
self.village_2_killer.addWidget(self.vt1, 0, 0, 1, 1)
self.vt6 = QtWidgets.QCheckBox(self.village_2)
self.vt6.setObjectName("vt6")
self.village_2_killer.addWidget(self.vt6, 1, 1, 1, 1)
self.vt5 = QtWidgets.QCheckBox(self.village_2)
self.vt5.setObjectName("vt5")
self.village_2_killer.addWidget(self.vt5, 0, 5, 1, 1)
self.verticalLayout_2.addLayout(self.village_2_killer)
self.label_8 = QtWidgets.QLabel(self.village_2)
self.label_8.setObjectName("label_8")
self.verticalLayout_2.addWidget(self.label_8)
self.village_2_human = QtWidgets.QGridLayout()
self.village_2_human.setObjectName("village_2_human")
self.checkBox_69 = QtWidgets.QCheckBox(self.village_2)
self.checkBox_69.setObjectName("checkBox_69")
self.village_2_human.addWidget(self.checkBox_69, 2, 5, 1, 1)
self.checkBox_60 = QtWidgets.QCheckBox(self.village_2)
self.checkBox_60.setObjectName("checkBox_60")
self.village_2_human.addWidget(self.checkBox_60, 1, 1, 1, 1)
self.checkBox_62 = QtWidgets.QCheckBox(self.village_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.checkBox_62.sizePolicy().hasHeightForWidth())
self.checkBox_62.setSizePolicy(sizePolicy)
self.checkBox_62.setObjectName("checkBox_62")
self.village_2_human.addWidget(self.checkBox_62, 0, 5, 1, 1)
self.checkBox_71 = QtWidgets.QCheckBox(self.village_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.checkBox_71.sizePolicy().hasHeightForWidth())
self.checkBox_71.setSizePolicy(sizePolicy)
self.checkBox_71.setObjectName("checkBox_71")
self.village_2_human.addWidget(self.checkBox_71, 3, 0, 1, 1)
self.vr2 = QtWidgets.QCheckBox(self.village_2)
self.vr2.setObjectName("vr2")
self.village_2_human.addWidget(self.vr2, 0, 1, 1, 1)
self.checkBox_72 = QtWidgets.QCheckBox(self.village_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.checkBox_72.sizePolicy().hasHeightForWidth())
self.checkBox_72.setSizePolicy(sizePolicy)
self.checkBox_72.setObjectName("checkBox_72")
self.village_2_human.addWidget(self.checkBox_72, 3, 1, 1, 1)
self.vr3 = QtWidgets.QCheckBox(self.village_2)
self.vr3.setObjectName("vr3")
self.village_2_human.addWidget(self.vr3, 0, 4, 1, 1)
self.checkBox_63 = QtWidgets.QCheckBox(self.village_2)
self.checkBox_63.setObjectName("checkBox_63")
self.village_2_human.addWidget(self.checkBox_63, 0, 6, 1, 1)
self.checkBox_68 = QtWidgets.QCheckBox(self.village_2)
self.checkBox_68.setObjectName("checkBox_68")
self.village_2_human.addWidget(self.checkBox_68, 2, 4, 1, 1)
self.checkBox_66 = QtWidgets.QCheckBox(self.village_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.checkBox_66.sizePolicy().hasHeightForWidth())
self.checkBox_66.setSizePolicy(sizePolicy)
self.checkBox_66.setObjectName("checkBox_66")
self.village_2_human.addWidget(self.checkBox_66, 2, 0, 1, 1)
self.checkBox_67 = QtWidgets.QCheckBox(self.village_2)
self.checkBox_67.setObjectName("checkBox_67")
self.village_2_human.addWidget(self.checkBox_67, 2, 1, 1, 1)
self.checkBox_58 = QtWidgets.QCheckBox(self.village_2)
self.checkBox_58.setObjectName("checkBox_58")
self.village_2_human.addWidget(self.checkBox_58, 0, 0, 1, 1)
self.checkBox_61 = QtWidgets.QCheckBox(self.village_2)
self.checkBox_61.setObjectName("checkBox_61")
self.village_2_human.addWidget(self.checkBox_61, 1, 4, 1, 1)
self.checkBox_64 = QtWidgets.QCheckBox(self.village_2)
self.checkBox_64.setObjectName("checkBox_64")
self.village_2_human.addWidget(self.checkBox_64, 1, 5, 1, 1)
self.checkBox_65 = QtWidgets.QCheckBox(self.village_2)
self.checkBox_65.setObjectName("checkBox_65")
self.village_2_human.addWidget(self.checkBox_65, 1, 6, 1, 1)
self.checkBox_70 = QtWidgets.QCheckBox(self.village_2)
self.checkBox_70.setObjectName("checkBox_70")
self.village_2_human.addWidget(self.checkBox_70, 2, 6, 1, 1)
self.checkBox_59 = QtWidgets.QCheckBox(self.village_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.checkBox_59.sizePolicy().hasHeightForWidth())
self.checkBox_59.setSizePolicy(sizePolicy)
self.checkBox_59.setObjectName("checkBox_59")
self.village_2_human.addWidget(self.checkBox_59, 1, 0, 1, 1)
self.verticalLayout_2.addLayout(self.village_2_human)
self.verticalLayout_7.addWidget(self.village_2)
self.verticalLayout.addWidget(self.frame)
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.cellar = QtWidgets.QPushButton(self.centralwidget)
self.cellar.setObjectName("cellar")
self.horizontalLayout.addWidget(self.cellar)
self.human = QtWidgets.QPushButton(self.centralwidget)
self.human.setObjectName("human")
self.horizontalLayout.addWidget(self.human)
self.ysf = QtWidgets.QPushButton(self.centralwidget)
self.ysf.setObjectName("ysf")
self.horizontalLayout.addWidget(self.ysf)
self.verticalLayout.addLayout(self.horizontalLayout)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 540, 22))
self.menubar.setObjectName("menubar")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.village_2.hide()#村
self.hospital_2.hide()#医院
self.red_church_2.hide()#教堂
self.moon_river_2.hide()#月亮河
self.military_factory_2.hide()#军工厂
self.retranslateUi(MainWindow)
self.village.toggled['bool'].connect(self.village_2.setVisible) # type: ignore
self.military_factory.toggled['bool'].connect(self.military_factory_2.setVisible) # type: ignore
self.red_church.toggled['bool'].connect(self.red_church_2.setVisible) # type: ignore
self.moon_river.toggled['bool'].connect(self.moon_river_2.setVisible) # type: ignore
self.hospital.toggled['bool'].connect(self.hospital_2.setVisible) # type: ignore
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "富内斯@github.com/iopav"))
self.maps.setTitle(_translate("MainWindow", "地图"))
self.military_factory.setText(_translate("MainWindow", "军工厂"))
self.red_church.setText(_translate("MainWindow", "红教堂"))
self.moon_river.setText(_translate("MainWindow", "月亮河"))
self.hospital.setText(_translate("MainWindow", "圣心医院"))
self.village.setText(_translate("MainWindow", "湖景村"))
self.town.setText(_translate("MainWindow", "永眠镇"))
self.chinese_street.setText(_translate("MainWindow", "唐人街"))
self.rio_memory.setText(_translate("MainWindow", "里奥的回忆"))
self.red_church_2.setTitle(_translate("MainWindow", "红教堂"))
self.label_11.setText(_translate("MainWindow", "屠夫"))
self.checkBox_81.setText(_translate("MainWindow", "红地毯左"))
self.checkBox_84.setText(_translate("MainWindow", "墓地靠教堂"))
self.checkBox_86.setText(_translate("MainWindow", "教堂内"))
self.checkBox_88.setText(_translate("MainWindow", "大推"))
self.checkBox_95.setText(_translate("MainWindow", "墓地椅子旁"))
self.checkBox_96.setText(_translate("MainWindow", "墓地地窖点"))
self.label_12.setText(_translate("MainWindow", "人"))
self.checkBox_98.setText(_translate("MainWindow", "墓地废墟"))
self.checkBox_99.setText(_translate("MainWindow", "小推"))
self.checkBox_100.setText(_translate("MainWindow", "大门"))
self.checkBox_101.setText(_translate("MainWindow", "大推"))
self.checkBox_102.setText(_translate("MainWindow", "小门废墟"))
self.checkBox_103.setText(_translate("MainWindow", "教堂"))
self.checkBox_104.setText(_translate("MainWindow", "小门"))
self.checkBox_105.setText(_translate("MainWindow", "红地毯"))
self.checkBox_106.setText(_translate("MainWindow", "墓地"))
self.checkBox_107.setText(_translate("MainWindow", "木屋"))
self.checkBox_108.setText(_translate("MainWindow", "中推"))
self.moon_river_2.setTitle(_translate("MainWindow", "月亮河"))
self.label_13.setText(_translate("MainWindow", "屠夫"))
self.checkBox_109.setText(_translate("MainWindow", "鬼屋废墟"))
self.checkBox_110.setText(_translate("MainWindow", "坏木马"))
self.checkBox_111.setText(_translate("MainWindow", "鬼屋桥上"))
self.checkBox_112.setText(_translate("MainWindow", "鬼屋"))
self.checkBox_113.setText(_translate("MainWindow", "马戏团"))
self.checkBox_114.setText(_translate("MainWindow", "鬼屋桥左"))
self.checkBox_126.setText(_translate("MainWindow", "三连废墟"))
self.label_14.setText(_translate("MainWindow", "人"))
self.checkBox_116.setText(_translate("MainWindow", "马戏团"))
self.checkBox_125.setText(_translate("MainWindow", "三站台"))
self.checkBox_129.setText(_translate("MainWindow", "终点站"))
self.checkBox_132.setText(_translate("MainWindow", "月亮河"))
self.checkBox_118.setText(_translate("MainWindow", "三连废墟"))
self.checkBox_124.setText(_translate("MainWindow", "人皇桥"))
self.checkBox_121.setText(_translate("MainWindow", "坏木马"))
self.checkBox_123.setText(_translate("MainWindow", "二站台"))
self.checkBox_131.setText(_translate("MainWindow", "鬼屋"))
self.checkBox_130.setText(_translate("MainWindow", "鬼屋桥"))
self.checkBox_117.setText(_translate("MainWindow", "好木马"))
self.checkBox_122.setText(_translate("MainWindow", "双滑梯"))
self.checkBox_128.setText(_translate("MainWindow", "鬼屋废墟"))
self.hospital_2.setTitle(_translate("MainWindow", "圣心医院"))
self.label_9.setText(_translate("MainWindow", "屠夫"))
self.checkBox_75.setText(_translate("MainWindow", "女神像"))
self.checkBox_76.setText(_translate("MainWindow", "医院正门二楼"))
self.checkBox_77.setText(_translate("MainWindow", "女神像废墟"))
self.checkBox_78.setText(_translate("MainWindow", "木屋废墟"))
self.checkBox_79.setText(_translate("MainWindow", "正门废墟"))
self.checkBox_80.setText(_translate("MainWindow", "无敌废墟"))
self.label_10.setText(_translate("MainWindow", "人"))
self.checkBox_92.setText(_translate("MainWindow", "无敌废墟"))
self.checkBox_83.setText(_translate("MainWindow", "木屋"))
self.checkBox_87.setText(_translate("MainWindow", "女神像"))
self.checkBox_85.setText(_translate("MainWindow", "小门"))
self.checkBox_89.setText(_translate("MainWindow", "大门"))
self.checkBox_82.setText(_translate("MainWindow", "医院"))
self.checkBox.setText(_translate("MainWindow", "鸟笼"))
self.checkBox_93.setText(_translate("MainWindow", "正门废墟"))
self.checkBox_127.setText(_translate("MainWindow", "小树林"))
self.checkBox_90.setText(_translate("MainWindow", "三板"))
self.military_factory_2.setTitle(_translate("MainWindow", "军工厂"))
self.label.setText(_translate("MainWindow", "屠夫"))
self.mft2.setText(_translate("MainWindow", "小门"))
self.mft3.setText(_translate("MainWindow", "木屋右侧"))
self.mft1.setText(_translate("MainWindow", "厂房左侧"))
self.mft4.setText(_translate("MainWindow", "木屋窗口"))
self.mft5.setText(_translate("MainWindow", "大门废墟"))
self.mft6.setText(_translate("MainWindow", "小门废墟"))
self.label_2.setText(_translate("MainWindow", "人"))
self.mfr4.setText(_translate("MainWindow", "小门"))
self.mfr1.setText(_translate("MainWindow", "木屋"))
self.mfr2.setText(_translate("MainWindow", "中场"))
self.mfr3.setText(_translate("MainWindow", "厂房"))
self.mfr5.setText(_translate("MainWindow", "大门"))
self.village_2.setTitle(_translate("MainWindow", "湖景村"))
self.label_7.setText(_translate("MainWindow", "屠夫"))
self.vt7.setText(_translate("MainWindow", "小船后两板"))
self.vt2.setText(_translate("MainWindow", "大门两板"))
self.vt4.setText(_translate("MainWindow", "木屋风车"))
self.vt3.setText(_translate("MainWindow", "海边"))
self.vt1.setText(_translate("MainWindow", "大船"))
self.vt6.setText(_translate("MainWindow", "双十一"))
self.vt5.setText(_translate("MainWindow", "玉米地"))
self.label_8.setText(_translate("MainWindow", "人"))
self.checkBox_69.setText(_translate("MainWindow", "中场人皇机"))
self.checkBox_60.setText(_translate("MainWindow", "厕所"))
self.checkBox_62.setText(_translate("MainWindow", "木屋"))
self.checkBox_71.setText(_translate("MainWindow", "大门废墟"))
self.vr2.setText(_translate("MainWindow", "小门"))
self.checkBox_72.setText(_translate("MainWindow", "石头"))
self.vr3.setText(_translate("MainWindow", "玉米地"))
self.checkBox_63.setText(_translate("MainWindow", "海边废墟"))
self.checkBox_68.setText(_translate("MainWindow", "双十一"))
self.checkBox_66.setText(_translate("MainWindow", "木屋废墟"))
self.checkBox_67.setText(_translate("MainWindow", "小船"))
self.checkBox_58.setText(_translate("MainWindow", "大门"))
self.checkBox_61.setText(_translate("MainWindow", "船头"))
self.checkBox_64.setText(_translate("MainWindow", "大船"))
self.checkBox_65.setText(_translate("MainWindow", "船头"))
self.checkBox_70.setText(_translate("MainWindow", "鬼角落"))
self.checkBox_59.setText(_translate("MainWindow", "海边"))
self.cellar.setText(_translate("MainWindow", "地窖"))
self.human.setText(_translate("MainWindow", "人"))
self.ysf.setText(_translate("MainWindow", "约瑟夫"))