-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathui_win.py
executable file
·831 lines (823 loc) · 53.3 KB
/
ui_win.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
# Form implementation generated from reading ui file 'ui_win-test.ui'
#
# Created by: PyQt6 UI code generator 6.4.0
#
# 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.
from PyQt6 import QtCore, QtGui, QtWidgets
import hex_viewer
import list_img_viewer
import util_viewer
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(1007, 670)
MainWindow.setMinimumSize(QtCore.QSize(1007, 670))
font = QtGui.QFont()
font.setFamily("Courier New")
font.setPointSize(10)
MainWindow.setFont(font)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
self.gridLayout.setObjectName("gridLayout")
self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
self.tabWidget.setObjectName("tabWidget")
self.tab = QtWidgets.QWidget()
self.tab.setObjectName("tab")
self.gridLayout_2 = QtWidgets.QGridLayout(self.tab)
self.gridLayout_2.setObjectName("gridLayout_2")
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.hexEditBtn = QtWidgets.QPushButton(self.tab)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.hexEditBtn.sizePolicy().hasHeightForWidth())
self.hexEditBtn.setSizePolicy(sizePolicy)
self.hexEditBtn.setMinimumSize(QtCore.QSize(70, 0))
self.hexEditBtn.setObjectName("hexEditBtn")
self.horizontalLayout_4.addWidget(self.hexEditBtn)
self.hexEditDoneBtn = QtWidgets.QPushButton(self.tab)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.hexEditDoneBtn.sizePolicy().hasHeightForWidth())
self.hexEditDoneBtn.setSizePolicy(sizePolicy)
self.hexEditDoneBtn.setMinimumSize(QtCore.QSize(70, 0))
self.hexEditDoneBtn.setObjectName("hexEditDoneBtn")
self.horizontalLayout_4.addWidget(self.hexEditDoneBtn)
self.watchMemoryCheckBox = QtWidgets.QCheckBox(self.tab)
self.watchMemoryCheckBox.setObjectName("watchMemoryCheckBox")
self.horizontalLayout_4.addWidget(self.watchMemoryCheckBox)
self.watchMemorySpinBox = QtWidgets.QDoubleSpinBox(self.tab)
self.watchMemorySpinBox.setMaximumSize(QtCore.QSize(45, 16777215))
self.watchMemorySpinBox.setDecimals(1)
self.watchMemorySpinBox.setSingleStep(0.1)
self.watchMemorySpinBox.setObjectName("watchMemorySpinBox")
self.horizontalLayout_4.addWidget(self.watchMemorySpinBox)
self.refreshBtn = QtWidgets.QPushButton(self.tab)
self.refreshBtn.setMaximumSize(QtCore.QSize(25, 24))
font = QtGui.QFont()
font.setFamily("Courier New")
font.setPointSize(17)
font.setBold(True)
self.refreshBtn.setFont(font)
self.refreshBtn.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.ArrowCursor))
self.refreshBtn.setObjectName("refreshBtn")
self.horizontalLayout_4.addWidget(self.refreshBtn)
self.moveBackwardBtn = QtWidgets.QPushButton(self.tab)
self.moveBackwardBtn.setMaximumSize(QtCore.QSize(25, 16777215))
self.moveBackwardBtn.setObjectName("moveBackwardBtn")
self.horizontalLayout_4.addWidget(self.moveBackwardBtn)
self.moveForwardBtn = QtWidgets.QPushButton(self.tab)
self.moveForwardBtn.setMaximumSize(QtCore.QSize(25, 16777215))
self.moveForwardBtn.setObjectName("moveForwardBtn")
self.horizontalLayout_4.addWidget(self.moveForwardBtn)
self.disassemBtn = QtWidgets.QPushButton(self.tab)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.disassemBtn.sizePolicy().hasHeightForWidth())
self.disassemBtn.setSizePolicy(sizePolicy)
self.disassemBtn.setMinimumSize(QtCore.QSize(65, 0))
self.disassemBtn.setMaximumSize(QtCore.QSize(65, 16777215))
self.disassemBtn.setObjectName("disassemBtn")
self.horizontalLayout_4.addWidget(self.disassemBtn)
self.historyBtn = QtWidgets.QPushButton(self.tab)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.historyBtn.sizePolicy().hasHeightForWidth())
self.historyBtn.setSizePolicy(sizePolicy)
self.historyBtn.setMinimumSize(QtCore.QSize(65, 0))
self.historyBtn.setMaximumSize(QtCore.QSize(65, 16777215))
self.historyBtn.setObjectName("historyBtn")
self.horizontalLayout_4.addWidget(self.historyBtn)
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
self.horizontalLayout_4.addItem(spacerItem)
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
self.horizontalLayout_4.addItem(spacerItem1)
spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
self.horizontalLayout_4.addItem(spacerItem2)
spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
self.horizontalLayout_4.addItem(spacerItem3)
self.gridLayout_2.addLayout(self.horizontalLayout_4, 0, 0, 1, 1)
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.attachBtn = QtWidgets.QPushButton(self.tab)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.attachBtn.sizePolicy().hasHeightForWidth())
self.attachBtn.setSizePolicy(sizePolicy)
self.attachBtn.setMinimumSize(QtCore.QSize(110, 0))
self.attachBtn.setFocusPolicy(QtCore.Qt.FocusPolicy.TabFocus)
self.attachBtn.setObjectName("attachBtn")
self.horizontalLayout_3.addWidget(self.attachBtn)
self.detachBtn = QtWidgets.QPushButton(self.tab)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.detachBtn.sizePolicy().hasHeightForWidth())
self.detachBtn.setSizePolicy(sizePolicy)
self.detachBtn.setMinimumSize(QtCore.QSize(110, 0))
self.detachBtn.setObjectName("detachBtn")
self.horizontalLayout_3.addWidget(self.detachBtn)
self.gridLayout_2.addLayout(self.horizontalLayout_3, 4, 2, 1, 2)
self.label_3 = QtWidgets.QLabel(self.tab)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
self.label_3.setSizePolicy(sizePolicy)
self.label_3.setScaledContents(False)
self.label_3.setWordWrap(False)
self.label_3.setIndent(21)
self.label_3.setObjectName("label_3")
self.gridLayout_2.addWidget(self.label_3, 2, 0, 1, 2)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setSizeConstraint(QtWidgets.QLayout.SizeConstraint.SetMaximumSize)
self.horizontalLayout_2.setContentsMargins(-1, -1, -1, 0)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.addrInput = QtWidgets.QLineEdit(self.tab)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.addrInput.sizePolicy().hasHeightForWidth())
self.addrInput.setSizePolicy(sizePolicy)
self.addrInput.setMinimumSize(QtCore.QSize(0, 26))
self.addrInput.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.addrInput.setObjectName("addrInput")
self.horizontalLayout_2.addWidget(self.addrInput)
self.addrBtn = QtWidgets.QPushButton(self.tab)
self.addrBtn.setMinimumSize(QtCore.QSize(0, 26))
self.addrBtn.setMaximumSize(QtCore.QSize(50, 16777215))
self.addrBtn.setObjectName("addrBtn")
self.horizontalLayout_2.addWidget(self.addrBtn)
self.gridLayout_2.addLayout(self.horizontalLayout_2, 8, 2, 1, 2)
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setContentsMargins(-1, -1, -1, 0)
self.horizontalLayout.setSpacing(6)
self.horizontalLayout.setObjectName("horizontalLayout")
self.offsetInput = QtWidgets.QLineEdit(self.tab)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.offsetInput.sizePolicy().hasHeightForWidth())
self.offsetInput.setSizePolicy(sizePolicy)
self.offsetInput.setMinimumSize(QtCore.QSize(0, 26))
self.offsetInput.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.offsetInput.setLocale(QtCore.QLocale(QtCore.QLocale.Language.English, QtCore.QLocale.Country.UnitedStates))
self.offsetInput.setObjectName("offsetInput")
self.horizontalLayout.addWidget(self.offsetInput)
self.offsetOkbtn = QtWidgets.QPushButton(self.tab)
self.offsetOkbtn.setMinimumSize(QtCore.QSize(0, 26))
self.offsetOkbtn.setMaximumSize(QtCore.QSize(50, 16777215))
self.offsetOkbtn.setObjectName("offsetOkbtn")
self.horizontalLayout.addWidget(self.offsetOkbtn)
self.gridLayout_2.addLayout(self.horizontalLayout, 6, 2, 1, 2)
self.label = QtWidgets.QLabel(self.tab)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
self.label.setSizePolicy(sizePolicy)
self.label.setMaximumSize(QtCore.QSize(16777215, 10))
self.label.setObjectName("label")
self.gridLayout_2.addWidget(self.label, 5, 2, 1, 1)
self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
self.horizontalLayout_8.setObjectName("horizontalLayout_8")
self.gadgetBtn = QtWidgets.QToolButton(self.tab)
self.gadgetBtn.setObjectName("gadgetBtn")
self.horizontalLayout_8.addWidget(self.gadgetBtn)
spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
self.horizontalLayout_8.addItem(spacerItem4)
self.gridLayout_2.addLayout(self.horizontalLayout_8, 0, 2, 1, 1)
self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
self.horizontalLayout_6.setObjectName("horizontalLayout_6")
self.listPIDCheckBox = QtWidgets.QCheckBox(self.tab)
self.listPIDCheckBox.setMaximumSize(QtCore.QSize(110, 16777215))
self.listPIDCheckBox.setObjectName("listPIDCheckBox")
self.horizontalLayout_6.addWidget(self.listPIDCheckBox)
self.attachTypeCheckBox = QtWidgets.QCheckBox(self.tab)
self.attachTypeCheckBox.setMaximumSize(QtCore.QSize(110, 16777215))
self.attachTypeCheckBox.setObjectName("attachTypeCheckBox")
self.horizontalLayout_6.addWidget(self.attachTypeCheckBox)
self.spawnModeCheckBox = QtWidgets.QCheckBox(self.tab)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.spawnModeCheckBox.sizePolicy().hasHeightForWidth())
self.spawnModeCheckBox.setSizePolicy(sizePolicy)
self.spawnModeCheckBox.setMinimumSize(QtCore.QSize(0, 0))
self.spawnModeCheckBox.setMaximumSize(QtCore.QSize(110, 16777215))
self.spawnModeCheckBox.setObjectName("spawnModeCheckBox")
self.horizontalLayout_6.addWidget(self.spawnModeCheckBox)
self.gridLayout_2.addLayout(self.horizontalLayout_6, 2, 2, 1, 1)
self.label_2 = QtWidgets.QLabel(self.tab)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
self.label_2.setSizePolicy(sizePolicy)
self.label_2.setMaximumSize(QtCore.QSize(16777215, 10))
self.label_2.setObjectName("label_2")
self.gridLayout_2.addWidget(self.label_2, 7, 2, 1, 1)
# self.hexViewer = QtWidgets.QTextEdit(self.tab)
self.hexViewer = hex_viewer.HexViewerClass(self.tab)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
sizePolicy.setHorizontalStretch(2)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.hexViewer.sizePolicy().hasHeightForWidth())
self.hexViewer.setSizePolicy(sizePolicy)
self.hexViewer.setMinimumSize(QtCore.QSize(630, 0))
self.hexViewer.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.hexViewer.setLocale(QtCore.QLocale(QtCore.QLocale.Language.English, QtCore.QLocale.Country.UnitedStates))
self.hexViewer.setInputMethodHints(QtCore.Qt.InputMethodHint.ImhMultiLine)
self.hexViewer.setReadOnly(True)
self.hexViewer.setOverwriteMode(True)
self.hexViewer.setAcceptRichText(True)
# self.hexViewer.setTextInteractionFlags(QtCore.Qt.TextInteractionFlag.NoTextInteraction)
self.hexViewer.setObjectName("hexViewer")
self.gridLayout_2.addWidget(self.hexViewer, 4, 0, 16, 2)
self.tabWidget2 = QtWidgets.QTabWidget(self.tab)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding)
sizePolicy.setHorizontalStretch(1)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.tabWidget2.sizePolicy().hasHeightForWidth())
self.tabWidget2.setSizePolicy(sizePolicy)
self.tabWidget2.setMinimumSize(QtCore.QSize(295, 0))
self.tabWidget2.setMaximumSize(QtCore.QSize(16777215, 16777215))
font = QtGui.QFont()
font.setFamily("Courier New")
font.setPointSize(10)
self.tabWidget2.setFont(font)
self.tabWidget2.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
self.tabWidget2.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
self.tabWidget2.setObjectName("tabWidget2")
self.tab_3 = QtWidgets.QWidget()
self.tab_3.setObjectName("tab_3")
self.gridLayout_3 = QtWidgets.QGridLayout(self.tab_3)
self.gridLayout_3.setObjectName("gridLayout_3")
self.status_img_name = QtWidgets.QLineEdit(self.tab_3)
self.status_img_name.setMinimumSize(QtCore.QSize(0, 26))
self.status_img_name.setMaximumSize(QtCore.QSize(16777215, 26))
self.status_img_name.setObjectName("status_img_name")
self.gridLayout_3.addWidget(self.status_img_name, 0, 1, 1, 1)
self.label_8 = QtWidgets.QLabel(self.tab_3)
self.label_8.setObjectName("label_8")
self.gridLayout_3.addWidget(self.label_8, 5, 0, 1, 1)
self.label_5 = QtWidgets.QLabel(self.tab_3)
self.label_5.setObjectName("label_5")
self.gridLayout_3.addWidget(self.label_5, 1, 0, 1, 1)
self.label_4 = QtWidgets.QLabel(self.tab_3)
self.label_4.setObjectName("label_4")
self.gridLayout_3.addWidget(self.label_4, 0, 0, 1, 1)
self.label_7 = QtWidgets.QLabel(self.tab_3)
self.label_7.setObjectName("label_7")
self.gridLayout_3.addWidget(self.label_7, 4, 0, 1, 1)
self.label_6 = QtWidgets.QLabel(self.tab_3)
self.label_6.setObjectName("label_6")
self.gridLayout_3.addWidget(self.label_6, 2, 0, 1, 1)
self.status_img_base = QtWidgets.QTextBrowser(self.tab_3)
self.status_img_base.setMaximumSize(QtCore.QSize(16777215, 26))
self.status_img_base.setObjectName("status_img_base")
self.gridLayout_3.addWidget(self.status_img_base, 1, 1, 1, 1)
self.status_current = QtWidgets.QTextBrowser(self.tab_3)
self.status_current.setMaximumSize(QtCore.QSize(16777215, 26))
self.status_current.setObjectName("status_current")
self.gridLayout_3.addWidget(self.status_current, 2, 1, 1, 1)
self.status_end = QtWidgets.QTextBrowser(self.tab_3)
self.status_end.setMaximumSize(QtCore.QSize(16777215, 26))
self.status_end.setObjectName("status_end")
self.gridLayout_3.addWidget(self.status_end, 4, 1, 1, 1)
self.status_size = QtWidgets.QTextBrowser(self.tab_3)
self.status_size.setMaximumSize(QtCore.QSize(16777215, 26))
self.status_size.setObjectName("status_size")
self.gridLayout_3.addWidget(self.status_size, 5, 1, 1, 1)
self.label_9 = QtWidgets.QLabel(self.tab_3)
self.label_9.setObjectName("label_9")
self.gridLayout_3.addWidget(self.label_9, 6, 0, 1, 1)
self.status_path = QtWidgets.QTextBrowser(self.tab_3)
self.status_path.setObjectName("status_path")
self.gridLayout_3.addWidget(self.status_path, 6, 1, 1, 1)
self.tabWidget2.addTab(self.tab_3, "")
self.tab_4 = QtWidgets.QWidget()
self.tab_4.setObjectName("tab_4")
self.gridLayout_4 = QtWidgets.QGridLayout(self.tab_4)
self.gridLayout_4.setObjectName("gridLayout_4")
self.memDumpModuleName = QtWidgets.QLineEdit(self.tab_4)
self.memDumpModuleName.setObjectName("memDumpModuleName")
self.gridLayout_4.addWidget(self.memDumpModuleName, 2, 0, 1, 1)
# self.listImgViewer = QtWidgets.QTextBrowser(self.tab_4)
self.listImgViewer = list_img_viewer.ListImgViewerClass(self.tab_4)
self.listImgViewer.setMinimumSize(QtCore.QSize(0, 0))
self.listImgViewer.setMaximumSize(QtCore.QSize(16777215, 500))
self.listImgViewer.setObjectName("listImgViewer")
self.gridLayout_4.addWidget(self.listImgViewer, 0, 0, 1, 2)
self.memDumpBtn = QtWidgets.QPushButton(self.tab_4)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.memDumpBtn.sizePolicy().hasHeightForWidth())
self.memDumpBtn.setSizePolicy(sizePolicy)
self.memDumpBtn.setMinimumSize(QtCore.QSize(50, 0))
self.memDumpBtn.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
self.memDumpBtn.setObjectName("memDumpBtn")
self.gridLayout_4.addWidget(self.memDumpBtn, 2, 1, 1, 1)
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
self.label_12 = QtWidgets.QLabel(self.tab_4)
self.label_12.setMaximumSize(QtCore.QSize(180, 16777215))
self.label_12.setAlignment(QtCore.Qt.AlignmentFlag.AlignLeading|QtCore.Qt.AlignmentFlag.AlignLeft|QtCore.Qt.AlignmentFlag.AlignVCenter)
self.label_12.setObjectName("label_12")
self.horizontalLayout_5.addWidget(self.label_12)
self.unityCheckBox = QtWidgets.QCheckBox(self.tab_4)
self.unityCheckBox.setMaximumSize(QtCore.QSize(68, 16777215))
self.unityCheckBox.setObjectName("unityCheckBox")
self.horizontalLayout_5.addWidget(self.unityCheckBox)
self.gridLayout_4.addLayout(self.horizontalLayout_5, 1, 0, 1, 2)
self.tabWidget2.addTab(self.tab_4, "")
self.tab_5 = QtWidgets.QWidget()
self.tab_5.setObjectName("tab_5")
self.gridLayout_5 = QtWidgets.QGridLayout(self.tab_5)
self.gridLayout_5.setObjectName("gridLayout_5")
self.label_18 = QtWidgets.QLabel(self.tab_5)
self.label_18.setObjectName("label_18")
self.gridLayout_5.addWidget(self.label_18, 9, 0, 1, 1)
self.memProtReadableCheckBox = QtWidgets.QCheckBox(self.tab_5)
self.memProtReadableCheckBox.setMinimumSize(QtCore.QSize(0, 0))
self.memProtReadableCheckBox.setMaximumSize(QtCore.QSize(40, 15))
font = QtGui.QFont()
font.setFamily("Courier New")
font.setPointSize(10)
self.memProtReadableCheckBox.setFont(font)
self.memProtReadableCheckBox.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
# self.memProtReadableCheckBox.setCheckable(True)
self.memProtReadableCheckBox.setEnabled(False)
self.memProtReadableCheckBox.setChecked(True)
self.memProtReadableCheckBox.setAutoRepeat(True)
self.memProtReadableCheckBox.setAutoExclusive(False)
self.memProtReadableCheckBox.setObjectName("memProtReadableCheckBox")
self.gridLayout_5.addWidget(self.memProtReadableCheckBox, 9, 1, 1, 1)
self.memScanPattern = QtWidgets.QTextEdit(self.tab_5)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(1)
sizePolicy.setHeightForWidth(self.memScanPattern.sizePolicy().hasHeightForWidth())
self.memScanPattern.setSizePolicy(sizePolicy)
self.memScanPattern.setMinimumSize(QtCore.QSize(190, 26))
self.memScanPattern.setMaximumSize(QtCore.QSize(16777215, 26))
self.memScanPattern.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus)
self.memScanPattern.setTabChangesFocus(True)
self.memScanPattern.setAcceptRichText(False)
self.memScanPattern.setObjectName("memScanPattern")
self.gridLayout_5.addWidget(self.memScanPattern, 2, 0, 1, 9)
self.memScanTypeComboBox = QtWidgets.QComboBox(self.tab_5)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.memScanTypeComboBox.sizePolicy().hasHeightForWidth())
self.memScanTypeComboBox.setSizePolicy(sizePolicy)
self.memScanTypeComboBox.setObjectName("memScanTypeComboBox")
self.memScanTypeComboBox.addItem("")
self.memScanTypeComboBox.addItem("")
self.memScanTypeComboBox.addItem("")
self.memScanTypeComboBox.addItem("")
self.memScanTypeComboBox.addItem("")
self.memScanTypeComboBox.addItem("")
self.memScanTypeComboBox.addItem("")
self.memScanTypeComboBox.addItem("")
self.memScanTypeComboBox.addItem("")
self.gridLayout_5.addWidget(self.memScanTypeComboBox, 3, 1, 1, 7)
self.memSearchFoundCount = QtWidgets.QLabel(self.tab_5)
self.memSearchFoundCount.setMinimumSize(QtCore.QSize(0, 0))
self.memSearchFoundCount.setMaximumSize(QtCore.QSize(16777215, 10))
self.memSearchFoundCount.setText("")
self.memSearchFoundCount.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
self.memSearchFoundCount.setObjectName("memSearchFoundCount")
self.gridLayout_5.addWidget(self.memSearchFoundCount, 8, 8, 1, 1)
self.label_14 = QtWidgets.QLabel(self.tab_5)
self.label_14.setObjectName("label_14")
self.gridLayout_5.addWidget(self.label_14, 3, 0, 1, 1)
self.memScanTargetImg = QtWidgets.QLineEdit(self.tab_5)
self.memScanTargetImg.setMinimumSize(QtCore.QSize(0, 26))
self.memScanTargetImg.setObjectName("memScanTargetImg")
self.gridLayout_5.addWidget(self.memScanTargetImg, 5, 1, 1, 7)
self.label_15 = QtWidgets.QLabel(self.tab_5)
self.label_15.setObjectName("label_15")
self.gridLayout_5.addWidget(self.label_15, 5, 0, 1, 1)
self.label_16 = QtWidgets.QLabel(self.tab_5)
self.label_16.setObjectName("label_16")
self.gridLayout_5.addWidget(self.label_16, 7, 0, 1, 1)
self.memScanHexCheckBox = QtWidgets.QCheckBox(self.tab_5)
self.memScanHexCheckBox.setMaximumSize(QtCore.QSize(16777215, 15))
font = QtGui.QFont()
font.setFamily("Courier New")
font.setPointSize(10)
self.memScanHexCheckBox.setFont(font)
self.memScanHexCheckBox.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
self.memScanHexCheckBox.setObjectName("memScanHexCheckBox")
self.gridLayout_5.addWidget(self.memScanHexCheckBox, 1, 8, 1, 1)
self.label_17 = QtWidgets.QLabel(self.tab_5)
self.label_17.setObjectName("label_17")
self.gridLayout_5.addWidget(self.label_17, 8, 0, 1, 1)
self.label_13 = QtWidgets.QLabel(self.tab_5)
self.label_13.setMinimumSize(QtCore.QSize(50, 0))
self.label_13.setObjectName("label_13")
self.gridLayout_5.addWidget(self.label_13, 1, 0, 1, 1)
self.floatDoubleExactScanOptionRadioButton = QtWidgets.QRadioButton(self.tab_5)
self.floatDoubleExactScanOptionRadioButton.setMinimumSize(QtCore.QSize(80, 0))
font = QtGui.QFont()
font.setFamily("Courier New")
font.setPointSize(10)
self.floatDoubleExactScanOptionRadioButton.setFont(font)
self.floatDoubleExactScanOptionRadioButton.setChecked(True)
self.floatDoubleExactScanOptionRadioButton.setObjectName("floatDoubleExactScanOptionRadioButton")
self.gridLayout_5.addWidget(self.floatDoubleExactScanOptionRadioButton, 4, 1, 1, 1)
self.memProtExecutableCheckBox = QtWidgets.QCheckBox(self.tab_5)
self.memProtExecutableCheckBox.setMaximumSize(QtCore.QSize(40, 15))
font = QtGui.QFont()
font.setFamily("Courier New")
font.setPointSize(10)
self.memProtExecutableCheckBox.setFont(font)
self.memProtExecutableCheckBox.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
self.memProtExecutableCheckBox.setObjectName("memProtExecutableCheckBox")
self.gridLayout_5.addWidget(self.memProtExecutableCheckBox, 9, 4, 1, 1)
self.memScanEndAddress = QtWidgets.QTextEdit(self.tab_5)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(1)
sizePolicy.setHeightForWidth(self.memScanEndAddress.sizePolicy().hasHeightForWidth())
self.memScanEndAddress.setSizePolicy(sizePolicy)
self.memScanEndAddress.setMinimumSize(QtCore.QSize(150, 26))
self.memScanEndAddress.setMaximumSize(QtCore.QSize(16777215, 26))
self.memScanEndAddress.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus)
self.memScanEndAddress.setTabChangesFocus(True)
self.memScanEndAddress.setAcceptRichText(False)
self.memScanEndAddress.setObjectName("memScanEndAddress")
self.gridLayout_5.addWidget(self.memScanEndAddress, 8, 1, 1, 7)
self.memScanTargetImgCheckBox = QtWidgets.QCheckBox(self.tab_5)
self.memScanTargetImgCheckBox.setMaximumSize(QtCore.QSize(16777215, 15))
font = QtGui.QFont()
font.setFamily("Courier New")
font.setPointSize(10)
self.memScanTargetImgCheckBox.setFont(font)
self.memScanTargetImgCheckBox.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
self.memScanTargetImgCheckBox.setObjectName("memScanTargetImgCheckBox")
self.gridLayout_5.addWidget(self.memScanTargetImgCheckBox, 5, 8, 1, 1)
self.floatDoubleRoundedScanOptionRadioButton = QtWidgets.QRadioButton(self.tab_5)
self.floatDoubleRoundedScanOptionRadioButton.setMinimumSize(QtCore.QSize(80, 0))
font = QtGui.QFont()
font.setFamily("Courier New")
font.setPointSize(10)
self.floatDoubleRoundedScanOptionRadioButton.setFont(font)
self.floatDoubleRoundedScanOptionRadioButton.setObjectName("floatDoubleRoundedScanOptionRadioButton")
self.gridLayout_5.addWidget(self.floatDoubleRoundedScanOptionRadioButton, 4, 4, 1, 1)
self.showEnumRangesBtn = QtWidgets.QPushButton(self.tab_5)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.showEnumRangesBtn.sizePolicy().hasHeightForWidth())
self.showEnumRangesBtn.setSizePolicy(sizePolicy)
self.showEnumRangesBtn.setMinimumSize(QtCore.QSize(0, 0))
self.showEnumRangesBtn.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.showEnumRangesBtn.setObjectName("showEnumRangesBtn")
self.gridLayout_5.addWidget(self.showEnumRangesBtn, 6, 1, 1, 7)
spacerItem5 = QtWidgets.QSpacerItem(20, 80, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
self.gridLayout_5.addItem(spacerItem5, 10, 6, 1, 1)
self.memScanStartAddress = QtWidgets.QTextEdit(self.tab_5)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(1)
sizePolicy.setHeightForWidth(self.memScanStartAddress.sizePolicy().hasHeightForWidth())
self.memScanStartAddress.setSizePolicy(sizePolicy)
self.memScanStartAddress.setMinimumSize(QtCore.QSize(150, 26))
self.memScanStartAddress.setMaximumSize(QtCore.QSize(16777215, 26))
self.memScanStartAddress.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus)
self.memScanStartAddress.setTabChangesFocus(True)
self.memScanStartAddress.setAcceptRichText(False)
self.memScanStartAddress.setObjectName("memScanStartAddress")
self.gridLayout_5.addWidget(self.memScanStartAddress, 7, 1, 1, 7)
self.memProtWritableCheckBox = QtWidgets.QCheckBox(self.tab_5)
self.memProtWritableCheckBox.setMaximumSize(QtCore.QSize(40, 15))
font = QtGui.QFont()
font.setFamily("Courier New")
font.setPointSize(10)
self.memProtWritableCheckBox.setFont(font)
self.memProtWritableCheckBox.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
self.memProtWritableCheckBox.setObjectName("memProtWritableCheckBox")
self.gridLayout_5.addWidget(self.memProtWritableCheckBox, 9, 2, 1, 1)
self.tabWidget2.addTab(self.tab_5, "")
self.gridLayout_2.addWidget(self.tabWidget2, 9, 2, 11, 2)
self.label.raise_()
self.tabWidget2.raise_()
self.label_2.raise_()
self.label_3.raise_()
self.hexViewer.raise_()
self.tabWidget.addTab(self.tab, "")
self.tab_2 = QtWidgets.QWidget()
self.tab_2.setObjectName("tab_2")
self.gridLayout_7 = QtWidgets.QGridLayout(self.tab_2)
self.gridLayout_7.setObjectName("gridLayout_7")
self.utilViewerSearchInput = QtWidgets.QLineEdit(self.tab_2)
self.utilViewerSearchInput.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus)
self.utilViewerSearchInput.setText("")
self.utilViewerSearchInput.setObjectName("utilViewerSearchInput")
self.gridLayout_7.addWidget(self.utilViewerSearchInput, 1, 0, 1, 1)
self.utilViewerSearchBtn = QtWidgets.QPushButton(self.tab_2)
self.utilViewerSearchBtn.setMaximumSize(QtCore.QSize(95, 16777215))
self.utilViewerSearchBtn.setObjectName("utilViewerSearchBtn")
self.gridLayout_7.addWidget(self.utilViewerSearchBtn, 1, 1, 1, 1)
self.parseImgTabWidget = QtWidgets.QTabWidget(self.tab_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding)
sizePolicy.setHorizontalStretch(1)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.parseImgTabWidget.sizePolicy().hasHeightForWidth())
self.parseImgTabWidget.setSizePolicy(sizePolicy)
self.parseImgTabWidget.setMinimumSize(QtCore.QSize(295, 0))
self.parseImgTabWidget.setMaximumSize(QtCore.QSize(500, 16777215))
self.parseImgTabWidget.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
self.parseImgTabWidget.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
self.parseImgTabWidget.setObjectName("parseImgTabWidget")
self.tab_6 = QtWidgets.QWidget()
self.tab_6.setObjectName("tab_6")
self.gridLayout_8 = QtWidgets.QGridLayout(self.tab_6)
self.gridLayout_8.setObjectName("gridLayout_8")
spacerItem6 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
self.gridLayout_8.addItem(spacerItem6, 6, 0, 1, 1)
self.pullPackageBtn = QtWidgets.QPushButton(self.tab_6)
self.pullPackageBtn.setObjectName("pullPackageBtn")
self.gridLayout_8.addWidget(self.pullPackageBtn, 1, 1, 1, 1)
self.pullPackageLabel = QtWidgets.QLabel(self.tab_6)
self.pullPackageLabel.setMaximumSize(QtCore.QSize(16777215, 40))
self.pullPackageLabel.setObjectName("pullPackageLabel")
self.gridLayout_8.addWidget(self.pullPackageLabel, 1, 0, 1, 1)
self.fullMemoryDumpBtn = QtWidgets.QPushButton(self.tab_6)
self.fullMemoryDumpBtn.setObjectName("fullMemoryDumpBtn")
self.gridLayout_8.addWidget(self.fullMemoryDumpBtn, 2, 1, 1, 1)
self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
self.horizontalLayout_7.setContentsMargins(-1, -1, -1, 0)
self.horizontalLayout_7.setSpacing(6)
self.horizontalLayout_7.setObjectName("horizontalLayout_7")
self.dexDumpLabel = QtWidgets.QLabel(self.tab_6)
self.dexDumpLabel.setMaximumSize(QtCore.QSize(70, 40))
self.dexDumpLabel.setObjectName("dexDumpLabel")
self.horizontalLayout_7.addWidget(self.dexDumpLabel)
self.dexDumpCheckBox = QtWidgets.QCheckBox(self.tab_6)
self.dexDumpCheckBox.setMaximumSize(QtCore.QSize(70, 16777215))
self.dexDumpCheckBox.setObjectName("dexDumpCheckBox")
self.horizontalLayout_7.addWidget(self.dexDumpCheckBox)
self.gridLayout_8.addLayout(self.horizontalLayout_7, 4, 0, 1, 1)
self.appInfoBtn = QtWidgets.QPushButton(self.tab_6)
self.appInfoBtn.setObjectName("appInfoBtn")
self.gridLayout_8.addWidget(self.appInfoBtn, 0, 1, 1, 1)
self.AppInfoLabel = QtWidgets.QLabel(self.tab_6)
self.AppInfoLabel.setObjectName("AppInfoLabel")
self.gridLayout_8.addWidget(self.AppInfoLabel, 0, 0, 1, 1)
self.fullMemoryDumpLabel = QtWidgets.QLabel(self.tab_6)
self.fullMemoryDumpLabel.setMaximumSize(QtCore.QSize(16777215, 40))
self.fullMemoryDumpLabel.setObjectName("fullMemoryDumpLabel")
self.gridLayout_8.addWidget(self.fullMemoryDumpLabel, 2, 0, 1, 1)
self.dexDumpBtn = QtWidgets.QPushButton(self.tab_6)
self.dexDumpBtn.setObjectName("dexDumpBtn")
self.gridLayout_8.addWidget(self.dexDumpBtn, 4, 1, 1, 1)
self.binaryDiffLabel = QtWidgets.QLabel(self.tab_6)
self.binaryDiffLabel.setMaximumSize(QtCore.QSize(16777215, 40))
self.binaryDiffLabel.setObjectName("binaryDiffLabel")
self.gridLayout_8.addWidget(self.binaryDiffLabel, 3, 0, 1, 1)
self.binaryDiffBtn = QtWidgets.QPushButton(self.tab_6)
self.binaryDiffBtn.setObjectName("binaryDiffBtn")
self.gridLayout_8.addWidget(self.binaryDiffBtn, 3, 1, 1, 1)
self.showMapsLabel = QtWidgets.QLabel(self.tab_6)
self.showMapsLabel.setMaximumSize(QtCore.QSize(16777215, 40))
self.showMapsLabel.setObjectName("showMapsLabel")
self.gridLayout_8.addWidget(self.showMapsLabel, 5, 0, 1, 1)
self.showMapsBtn = QtWidgets.QPushButton(self.tab_6)
self.showMapsBtn.setObjectName("showMapsBtn")
self.gridLayout_8.addWidget(self.showMapsBtn, 5, 1, 1, 1)
self.parseImgTabWidget.addTab(self.tab_6, "")
self.tab_7 = QtWidgets.QWidget()
self.tab_7.setObjectName("tab_7")
self.gridLayout_6 = QtWidgets.QGridLayout(self.tab_7)
self.gridLayout_6.setObjectName("gridLayout_6")
self.parseImgNameLabel = QtWidgets.QLabel(self.tab_7)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.parseImgNameLabel.sizePolicy().hasHeightForWidth())
self.parseImgNameLabel.setSizePolicy(sizePolicy)
self.parseImgNameLabel.setObjectName("parseImgNameLabel")
self.gridLayout_6.addWidget(self.parseImgNameLabel, 0, 0, 1, 1)
self.parseImgBaseLabel = QtWidgets.QLabel(self.tab_7)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.parseImgBaseLabel.sizePolicy().hasHeightForWidth())
self.parseImgBaseLabel.setSizePolicy(sizePolicy)
self.parseImgBaseLabel.setObjectName("parseImgBaseLabel")
self.gridLayout_6.addWidget(self.parseImgBaseLabel, 1, 0, 1, 1)
self.parse_img_base = QtWidgets.QTextBrowser(self.tab_7)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.parse_img_base.sizePolicy().hasHeightForWidth())
self.parse_img_base.setSizePolicy(sizePolicy)
self.parse_img_base.setMaximumSize(QtCore.QSize(16777215, 26))
self.parse_img_base.setObjectName("parse_img_base")
self.gridLayout_6.addWidget(self.parse_img_base, 1, 1, 1, 3)
# self.parseImgListImgViewer = QtWidgets.QTextBrowser(self.tab_7)
self.parseImgListImgViewer = util_viewer.ParseImgListImgViewerClass(self.tab_7)
self.parseImgListImgViewer.setMinimumSize(QtCore.QSize(0, 0))
self.parseImgListImgViewer.setObjectName("parseImgListImgViewer")
self.gridLayout_6.addWidget(self.parseImgListImgViewer, 3, 0, 1, 4)
self.parseImgName = QtWidgets.QLineEdit(self.tab_7)
self.parseImgName.setObjectName("parseImgName")
self.parseImgName.setPlaceholderText("Name or address (e.g., 0x6789abcd)")
self.gridLayout_6.addWidget(self.parseImgName, 4, 0, 1, 3)
self.parseBtn = QtWidgets.QPushButton(self.tab_7)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.parseBtn.sizePolicy().hasHeightForWidth())
self.parseBtn.setSizePolicy(sizePolicy)
self.parseBtn.setMinimumSize(QtCore.QSize(60, 0))
self.parseBtn.setMaximumSize(QtCore.QSize(70, 16777215))
self.parseBtn.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
self.parseBtn.setObjectName("parseBtn")
self.gridLayout_6.addWidget(self.parseBtn, 4, 3, 1, 1)
self.parse_img_name = QtWidgets.QLineEdit(self.tab_7)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.parse_img_name.sizePolicy().hasHeightForWidth())
self.parse_img_name.setSizePolicy(sizePolicy)
self.parse_img_name.setMinimumSize(QtCore.QSize(0, 25))
self.parse_img_name.setObjectName("parse_img_name")
self.gridLayout_6.addWidget(self.parse_img_name, 0, 1, 1, 3)
self.parseImgPathLabel = QtWidgets.QLabel(self.tab_7)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.parseImgPathLabel.sizePolicy().hasHeightForWidth())
self.parseImgPathLabel.setSizePolicy(sizePolicy)
self.parseImgPathLabel.setObjectName("parseImgPathLabel")
self.gridLayout_6.addWidget(self.parseImgPathLabel, 2, 0, 1, 1)
self.parse_img_path = QtWidgets.QTextBrowser(self.tab_7)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.parse_img_path.sizePolicy().hasHeightForWidth())
self.parse_img_path.setSizePolicy(sizePolicy)
self.parse_img_path.setMaximumSize(QtCore.QSize(16777215, 100))
self.parse_img_path.setObjectName("parse_img_path")
self.gridLayout_6.addWidget(self.parse_img_path, 2, 1, 1, 3)
self.parseImgTabWidget.addTab(self.tab_7, "")
self.gridLayout_7.addWidget(self.parseImgTabWidget, 0, 2, 2, 1)
# self.utilViewer = QtWidgets.QTextEdit(self.tab_2)
self.utilViewer = util_viewer.UtilViewerClass(self.tab_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
sizePolicy.setHorizontalStretch(2)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.utilViewer.sizePolicy().hasHeightForWidth())
self.utilViewer.setSizePolicy(sizePolicy)
self.utilViewer.setMinimumSize(QtCore.QSize(630, 0))
self.utilViewer.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.utilViewer.setLocale(QtCore.QLocale(QtCore.QLocale.Language.English, QtCore.QLocale.Country.UnitedStates))
self.utilViewer.setInputMethodHints(QtCore.Qt.InputMethodHint.ImhMultiLine)
self.utilViewer.setReadOnly(True)
self.utilViewer.setOverwriteMode(True)
self.utilViewer.setAcceptRichText(True)
# self.utilViewer.setTextInteractionFlags(QtCore.Qt.TextInteractionFlag.NoTextInteraction)
self.utilViewer.setObjectName("utilViewer")
self.gridLayout_7.addWidget(self.utilViewer, 0, 0, 1, 2)
self.tabWidget.addTab(self.tab_2, "")
self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)
MainWindow.setCentralWidget(self.centralwidget)
self.retranslateUi(MainWindow)
self.tabWidget.setCurrentIndex(0)
self.tabWidget2.setCurrentIndex(0)
self.memScanTypeComboBox.setCurrentIndex(2)
self.parseImgTabWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MLViewer"))
self.hexEditBtn.setText(_translate("MainWindow", "HexEdit"))
self.hexEditDoneBtn.setText(_translate("MainWindow", "Done"))
self.watchMemoryCheckBox.setText(_translate("MainWindow", "Watch"))
self.refreshBtn.setText(_translate("MainWindow", "↻"))
self.moveBackwardBtn.setText(_translate("MainWindow", "◀"))
self.moveForwardBtn.setText(_translate("MainWindow", "▶"))
self.disassemBtn.setText(_translate("MainWindow", "Disasm"))
self.historyBtn.setText(_translate("MainWindow", "History"))
self.attachBtn.setText(_translate("MainWindow", "Attach"))
self.detachBtn.setText(_translate("MainWindow", "Detach"))
self.label_3.setText(_translate("MainWindow", "ADDRESS 0 1 2 3 4 5 6 7 8 9 A B C D E F 0123456789ABCDEF"))
self.addrBtn.setText(_translate("MainWindow", "GO"))
self.offsetOkbtn.setText(_translate("MainWindow", "GO"))
self.label.setText(_translate("MainWindow", "Offset"))
self.gadgetBtn.setText(_translate("MainWindow", "Gadget"))
self.listPIDCheckBox.setText(_translate("MainWindow", "ListPID"))
self.attachTypeCheckBox.setText(_translate("MainWindow", "Remote"))
self.spawnModeCheckBox.setText(_translate("MainWindow", "Spawn"))
self.label_2.setText(_translate("MainWindow", "Address"))
self.hexViewer.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><meta charset=\"utf-8\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"hr { height: 1px; border-width: 0; }\n"
"li.unchecked::marker { content: \"\\2610\"; }\n"
"li.checked::marker { content: \"\\2612\"; }\n"
"</style></head><body style=\" font-family:\'Courier New\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:13pt;\"><br /></p></body></html>"))
self.label_8.setText(_translate("MainWindow", "Size"))
self.label_5.setText(_translate("MainWindow", "Base"))
self.label_4.setText(_translate("MainWindow", "Name"))
self.label_7.setText(_translate("MainWindow", "End"))
self.label_6.setText(_translate("MainWindow", "Current"))
self.label_9.setText(_translate("MainWindow", "Path"))
self.tabWidget2.setTabText(self.tabWidget2.indexOf(self.tab_3), _translate("MainWindow", "Status"))
self.memDumpBtn.setText(_translate("MainWindow", "Dump"))
self.label_12.setText(_translate("MainWindow", "Unity? Check & Dump"))
self.unityCheckBox.setText(_translate("MainWindow", "Unity"))
self.tabWidget2.setTabText(self.tabWidget2.indexOf(self.tab_4), _translate("MainWindow", "List IMG"))
self.label_18.setText(_translate("MainWindow", "Prot"))
self.memProtReadableCheckBox.setText(_translate("MainWindow", "R"))
self.memScanTypeComboBox.setItemText(0, _translate("MainWindow", "1 Byte"))
self.memScanTypeComboBox.setItemText(1, _translate("MainWindow", "2 Bytes"))
self.memScanTypeComboBox.setItemText(2, _translate("MainWindow", "4 Bytes"))
self.memScanTypeComboBox.setItemText(3, _translate("MainWindow", "8 Bytes"))
self.memScanTypeComboBox.setItemText(4, _translate("MainWindow", "Int"))
self.memScanTypeComboBox.setItemText(5, _translate("MainWindow", "Float"))
self.memScanTypeComboBox.setItemText(6, _translate("MainWindow", "Double"))
self.memScanTypeComboBox.setItemText(7, _translate("MainWindow", "String"))
self.memScanTypeComboBox.setItemText(8, _translate("MainWindow", "Array of Bytes"))
self.label_14.setText(_translate("MainWindow", "Type"))
self.label_15.setText(_translate("MainWindow", "Name"))
self.label_16.setText(_translate("MainWindow", "Start"))
self.memScanHexCheckBox.setText(_translate("MainWindow", "Hex"))
self.label_17.setText(_translate("MainWindow", "End"))
self.label_13.setText(_translate("MainWindow", "Value:"))
self.floatDoubleExactScanOptionRadioButton.setText(_translate("MainWindow", "Exact"))
self.memProtExecutableCheckBox.setText(_translate("MainWindow", "X"))
self.memScanEndAddress.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><meta charset=\"utf-8\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"hr { height: 1px; border-width: 0; }\n"
"li.unchecked::marker { content: \"\\2610\"; }\n"
"li.checked::marker { content: \"\\2612\"; }\n"
"</style></head><body style=\" font-family:\'Courier New\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
"<p align=\"right\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">00007fffffffffff</p></body></html>"))
self.memScanTargetImgCheckBox.setText(_translate("MainWindow", "IMG"))
self.floatDoubleRoundedScanOptionRadioButton.setText(_translate("MainWindow", "Rounded"))
self.showEnumRangesBtn.setText(_translate("MainWindow", "Show Enum Ranges"))
self.memScanStartAddress.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><meta charset=\"utf-8\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"hr { height: 1px; border-width: 0; }\n"
"li.unchecked::marker { content: \"\\2610\"; }\n"
"li.checked::marker { content: \"\\2612\"; }\n"
"</style></head><body style=\" font-family:\'Courier New\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
"<p align=\"right\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">0000000000000000</p></body></html>"))
self.memProtWritableCheckBox.setText(_translate("MainWindow", "W"))
self.tabWidget2.setTabText(self.tabWidget2.indexOf(self.tab_5), _translate("MainWindow", "Scan"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "Viewer"))
self.utilViewerSearchInput.setPlaceholderText(_translate("MainWindow", "Enter text to search"))
self.utilViewerSearchBtn.setText(_translate("MainWindow", "Search"))
self.pullPackageBtn.setText(_translate("MainWindow", "Pull"))
self.pullPackageLabel.setText(_translate("MainWindow", "<html><head/><body><p>Pull Package</p></body></html>"))
self.fullMemoryDumpBtn.setText(_translate("MainWindow", "Dump"))
self.dexDumpLabel.setText(_translate("MainWindow", "<html><head/><body><p>Dex dump</p></body></html>"))
self.dexDumpCheckBox.setText(_translate("MainWindow", "Deep"))
self.appInfoBtn.setText(_translate("MainWindow", "Info"))
self.AppInfoLabel.setText(_translate("MainWindow", "Basic App Info"))
self.fullMemoryDumpLabel.setText(_translate("MainWindow", "<html><head/><body><p>Full Memory Dump</p></body></html>"))
self.dexDumpBtn.setText(_translate("MainWindow", "Dump"))
self.binaryDiffLabel.setText(_translate("MainWindow", "<html><head/><body><p>Binary Diff</p></body></html>"))
self.binaryDiffBtn.setText(_translate("MainWindow", "Diff"))
self.showMapsLabel.setText(_translate("MainWindow", "<html><head/><body><p>/proc/self/maps</p></body></html>"))
self.showMapsBtn.setText(_translate("MainWindow", "Show"))
self.parseImgTabWidget.setTabText(self.parseImgTabWidget.indexOf(self.tab_6), _translate("MainWindow", "Info"))
self.parseImgNameLabel.setText(_translate("MainWindow", "Name"))
self.parseImgBaseLabel.setText(_translate("MainWindow", "Base"))
self.parseBtn.setText(_translate("MainWindow", "Parse"))
self.parseImgPathLabel.setText(_translate("MainWindow", "Path"))
self.parseImgTabWidget.setTabText(self.parseImgTabWidget.indexOf(self.tab_7), _translate("MainWindow", "Parse IMG"))
self.utilViewer.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><meta charset=\"utf-8\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"hr { height: 1px; border-width: 0; }\n"
"li.unchecked::marker { content: \"\\2610\"; }\n"
"li.checked::marker { content: \"\\2612\"; }\n"
"</style></head><body style=\" font-family:\'Courier New\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:13pt;\"><br /></p></body></html>"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Util"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
MainWindow = QtWidgets.QMainWindow()
ui = Ui_MainWindow()
ui.setupUi(MainWindow)
MainWindow.show()
sys.exit(app.exec())