forked from ic005k/OCAuxiliaryTools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.h
1108 lines (783 loc) · 31.8 KB
/
mainwindow.h
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
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QCheckBox>
#include <QClipboard>
#include <QComboBox>
#include <QDateTime>
#include <QDebug>
#include <QDesktopServices>
#include <QDesktopWidget>
#include <QGuiApplication>
#include <QLatin1Char>
#include <QListWidgetItem>
#include <QMainWindow>
#include <QMimeData>
#include <QPainter>
#include <QProcess>
#include <QProxyStyle>
#include <QRegularExpression>
#include <QSaveFile>
#include <QScreen>
#include <QShortcut>
#include <QSpacerItem>
#include <QSplitter>
#include <QStandardItemModel>
#include <QStyledItemDelegate>
#include <QTableWidget>
#include <QTextBlock>
#include <QToolButton>
#include <QToolTip>
#include <QTranslator>
#include <QUndoStack>
#include <QUndoView>
#include <QUuid>
//网络相关头文件
#include <QtNetwork/QNetworkAccessManager>
#include <QtNetwork/QNetworkReply>
#include <QtNetwork/QNetworkRequest>
// JSON相关头文件
#include <QJsonArray>
#include <QJsonDocument>
#include <QJsonObject>
#include "aboutdialog.h"
#include "autoupdatedialog.h"
#include "dlgMountESP.h"
#include "dlgOCValidate.h"
#include "dlgParameters.h"
#include "dlgPreset.h"
#include "dlgdatabase.h"
#include "dlgkernelpatch.h"
#include "dlgmisc.h"
#include "dlgnewkeyfield.h"
#include "dlgpreference.h"
#include "filesystemwatcher.h"
#include "plistparser.h"
#include "plistserializer.h"
#include "recentfiles.h"
#include "syncocdialog.h"
#include "tooltip.h"
#include "ui_aboutdialog.h"
#include "ui_autoupdatedialog.h"
#include "ui_dlgMountESP.h"
#include "ui_dlgOCValidate.h"
#include "ui_dlgParameters.h"
#include "ui_dlgPreset.h"
#include "ui_dlgdatabase.h"
#include "ui_dlgkernelpatch.h"
#include "ui_dlgnewkeyfield.h"
#include "ui_dlgpreference.h"
#include "ui_syncocdialog.h"
#ifdef Q_OS_WIN32
#include <stdio.h>
#include <tchar.h>
#include <windows.h>
#endif
QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE
class MainWindow : public QMainWindow {
Q_OBJECT
public:
MainWindow(QWidget* parent = nullptr);
~MainWindow();
Ui::MainWindow* ui;
dlgNewKeyField* myDlgNewKeyField;
dlgPreference* myDlgPreference;
dlgKernelPatch* myDlgKernelPatch;
bool blOCValidateError = false;
dlgMountESP* dlgMESP;
QString pathSource;
QString dataBaseDir, userDataBaseDir;
QLabel* lblVer;
QToolButton* btnBak;
bool blReadLeftTable;
bool blWriteLeftTable;
QStringList listNVRAMAdd;
QStringList listNVRAMDel;
QStringList listNVRAMLs;
QStringList listDPAdd;
QStringList listDPDel;
QString strConfigPath;
void updateIconStatus();
QTimer* timer;
QList<QCheckBox*> listUICheckBox;
QList<QLabel*> listUILabel;
void lineEditSetText();
QStringList strIconList;
QStringList strIconListSel;
QString strOrgMd5;
QString strByModiMd5;
QAction* cutAction;
QAction* copyAction;
QAction* pasteAction;
QNetworkAccessManager* manager;
QList<QVariant> NoteValues;
QList<QString> NoteKeys;
bool find = false;
bool txtEditASCIITextChanged = false;
bool txtEditHexTextChanged = false;
QLabel* labelConversion;
bool InitEdit = false;
bool lineEditModifyed = false;
QVector<QTabWidget*> mainTabList;
void initScanPolicyValue();
void initDisplayLevelValue();
void initPickerAttributesValue();
void initTargetValue();
void initColorValue();
void findCheckBox(QString findText);
void findLabel(QString findText);
void findLineEdit(QString findText);
void findComboBox(QString findText);
void findTableHeader(QString findText);
void findTabText(QString findText);
QVariantMap setEditValue(QVariantMap map, QWidget* tab);
QVariantMap setCheckBoxValue(QVariantMap map, QWidget* tab);
QVariantMap setComboBoxValue(QVariantMap map, QWidget* tab);
void getCheckBoxValue(QVariantMap map, QWidget* tab);
void getEditValue(QVariantMap map, QWidget* tab);
void getComboBoxValue(QVariantMap map, QWidget* tab);
void setPalette(QWidget* w, QColor backColor, QColor textColor);
void setCheckBoxWidth(QCheckBox* cbox);
QString getDatabaseVer();
QIntValidator* IntValidator = new QIntValidator;
QString getTableFieldDataType(QTableWidget* table);
void setStatusBarText(QTableWidget* table);
QString stringInt =
"TableLengthBaseSkipCountLimitSkipTableLengthAddressSizeSpeed";
QString stringData = "OemTableIdTableSignatureFindMaskReplaceReplaceMaskMask";
void getValue(QVariantMap map, QWidget* tab);
QVariantMap setValue(QVariantMap map, QWidget* tab);
dlgOCValidate* dlgOCV;
dlgParameters* dlgPar;
AutoUpdateDialog* dlgAutoUpdate;
SyncOCDialog* dlgSyncOC;
dlgPreset* dlgPresetValues;
dlgMisc* dlgMiscBootArgs;
Tooltip* myToolTip;
bool lineEditEnter = false;
bool isGetEFI = false;
bool mac = false;
bool osx1012 = false;
bool win = false;
bool linuxOS = false;
QString strTableHeaderToolTip;
int getMainHeight();
int getMainWidth();
void clearAllTableSelection();
QTableWidget* getLeftTable(QTableWidget* table);
int getLetfTableCurrentRow(QTableWidget* table);
void init_CopyPasteLine();
void pasteLine(QTableWidget* w, QAction* pasteAction);
void copyLine(QTableWidget* w, QAction* copyAction);
void cutLine(QTableWidget* w, QAction* cutAction, QAction* copyAction);
void tablePopMenu(QTableWidget* w, QAction* cutAction, QAction* copyAction,
QAction* pasteAction, QAction* showtipAction,
QMenu* popMenu);
void loadRightTable(QTableWidget* t0, QTableWidget* t);
void endPasteLine(QTableWidget* w, int row, QString colText0);
void endDelLeftTable(QTableWidget* t0);
QAction* clearTextsAction;
static QObjectList getAllUIControls(QObject* parent);
static QObjectList getAllCheckBox(QObjectList lstUIControls);
static QObjectList getAllTableWidget(QObjectList lstUIControls);
static QObjectList getAllLineEdit(QObjectList lstUIControls);
static QObjectList getAllLabel(QObjectList lstUIControls);
static QObjectList getAllComboBox(QObjectList lstUIControls);
QObjectList listOfCheckBox;
QObjectList listOfTableWidget;
QObjectList listOfLabel;
QObjectList listOfLineEdit;
QObjectList listOfComboBox;
void findTable(QTableWidget* t, QString text);
int findCount = 0;
QObjectList listOfCheckBoxResults;
QObjectList listOfTableWidgetResults;
QObjectList listOfTableWidgetHeaderResults;
QBrush brushTableHeaderBackground;
QBrush brushTableHeaderForeground;
QObjectList listOfLabelResults;
QObjectList listOfLineEditResults;
QObjectList listOfComboBoxResults;
QStringList listNameResults;
int indexOfResults = 0;
void goResults(int index);
QWidget* currentTabWidget;
QWidget* currentMainTabWidget;
void clearCheckBoxMarker();
void clearLabelMarker();
void clearComboBoxMarker();
void clearLineEditMarker();
void clearTableHeaderMarker();
RecentFiles* m_recentFiles;
QLineEdit* lineEdit;
QTableWidget* myTable = new QTableWidget;
void initLineEdit(QTableWidget* Table, int previousRow, int previousColumn,
int currentRow, int currentColumn);
void removeWidget(QTableWidget* table);
void removeAllLineEdit();
bool writeINI = false;
void ParserACPI(QVariantMap map);
void ParserBooter(QVariantMap map);
void ParserDP(QVariantMap map);
void ParserKernel(QVariantMap map, QString subitem);
void ParserMisc(QVariantMap map);
void ParserNvram(QVariantMap map);
void ParserPlatformInfo(QVariantMap map);
void ParserUEFI(QVariantMap map);
void openFile(QString PlistFileName);
void SavePlist(QString FileName);
bool getBool(QTableWidget* table, int row, int column);
bool getChkBool(QCheckBox* chkbox);
QVariantMap SaveACPI();
QVariantMap SaveBooter();
QVariantMap SaveDeviceProperties();
QVariantMap SaveKernel();
QVariantMap SaveMisc();
QVariantMap SaveNVRAM();
QVariantMap SavePlatformInfo();
QVariantMap SaveUEFI();
void initui_ACPI();
void initui_Booter();
void initui_DP();
void initui_Kernel();
void initui_Misc();
void initui_NVRAM();
void initui_PlatformInfo();
void initui_UEFI();
void init_enabled_data(QTableWidget* table, int row, int column, QString str);
void enabled_change(QTableWidget* table, int row, int column, int cc);
void add_item(QTableWidget* table, int total_column);
void del_item(QTableWidget* table);
void write_ini(QTableWidget* table, QTableWidget* mytable, int i);
void read_ini(QTableWidget* table, QTableWidget* mytable, int i);
void init_key_class_value(QTableWidget* table, QTableWidget* subtable);
void write_value_ini(QTableWidget* table, QTableWidget* subtable, int i);
void read_value_ini(QTableWidget* table, QTableWidget* mytable, int i);
QByteArray HexStringToByteArray(QString HexString);
QByteArray HexStrToByte(QString value);
QString ByteToHexStr(QByteArray ba);
QString title;
bool loading = false;
void about();
QComboBox* cboxDataClass;
int c_row = 0;
QComboBox* cboxArch;
QComboBox* cboxReservedMemoryType;
aboutDialog* aboutDlg;
dlgDatabase* myDatabase;
void addACPIItem(QStringList FileName);
void addKexts(QStringList FileName);
void addEFITools(QStringList FileName);
void addEFIDrivers(QStringList FileName);
int deleteDirfile(QString dirName);
bool DeleteDirectory(const QString& path);
bool copyDirectoryFiles(const QString& fromDir, const QString& toDir,
bool coverFileIfExist);
bool copyFileToPath(QString sourceDir, QString toDir, bool coverFileIfExist);
QString getWMIC(const QString& cmd);
QString getCpuName();
QString getCpuId();
QString getCpuCoresNum();
QString getCpuLogicalProcessorsNum();
QString getDiskNum();
QString getBaseBordNum();
QString getBiosNum();
QString getMainboardName();
QString getMainboardUUID();
QString getMainboardVendor();
QString getMacInfo(const QString& cmd);
int getTextWidth(QString str, QWidget* w);
void init_TableStyle();
void openDir(QString strDir);
void currentCellChanged(QTableWidget* t, int previousRow, int previousColumn,
int currentRow, int currentColumn);
void MoveItem(QTableWidget* t, bool up);
void CheckChange(QTableWidget* tw, int arg1, QToolButton* btnDel);
void CellEnter(int row, QTableWidget* tw);
void ShowAutoUpdateDlg(bool Database);
void setConversionWidgetVisible(bool v);
void EnterPress();
void init_value(QVariantMap map_fun, QTableWidget* table,
QTableWidget* subtable, int currentRow);
void AddNvramAdd(QVariantMap map_add, int currentRow, bool blPreset);
void checkFiles(QTableWidget* table);
void sortForKexts();
void readLeftTable(QTableWidget* t0, QTableWidget* t);
void readLeftTableOnlyValue(QTableWidget* t0, QTableWidget* t);
QString getMD5(QString targetFile);
bool IsProcessExist(QString processName);
void markColor(QTableWidget* table, QString path, int col);
QString getKextVersion(QString kextFile);
void changeOpenCore(bool blDEV);
static QObjectList getAllToolButton(QObjectList lstUIControls);
QWidget* getSubTabWidget(int m, int s);
void init_setWindowModified();
void setWM();
void smart_UpdateKeyField();
void set_AutoColWidth(QTableWidget* w, bool autoColWidth);
void set_InitLineEdit(QTableWidget* t, int row, int column);
void set_InitCheckBox(QTableWidget* t, int row, int column);
void oc_Validate(bool show);
void init_AutoColumnWidth();
static QObjectList getAllFrame(QObjectList lstUIControls);
void init_Table(int index);
void init_FindResults();
void init_Label(QLabel* w);
void init_CheckBox(QCheckBox* w);
public slots:
void DisplayLevel();
void ScanPolicy();
void PickerAttributes();
void ExposeSensitiveData();
void on_actionFind_triggered();
void on_btnNVRAMAdd_Add_clicked();
void on_btnDPAdd_Add0_clicked();
void on_btnACPIPatch_Add_clicked();
void on_btnKernelPatchAdd_clicked();
void on_btnNVRAMAdd_Add0_clicked();
void on_btnNVRAMAdd_Del0_clicked();
void on_btnNVRAMLS_Add0_clicked();
void on_btnNVRAMDel_Add0_clicked();
void cellEnteredSlot(int row, int column);
void on_actionOnline_Download_Updates_triggered();
void on_actionDatabase_triggered();
void on_actionPreferences_triggered();
void on_actionGenerateEFI_triggered();
protected:
void dragEnterEvent(QDragEnterEvent* e) override;
void dropEvent(QDropEvent* e) override;
void closeEvent(QCloseEvent* event) override;
virtual void resizeEvent(QResizeEvent* event) override;
void keyPressEvent(QKeyEvent* event) override;
void keyReleaseEvent(QKeyEvent* event) override;
void paintEvent(QPaintEvent* event) override;
bool eventFilter(QObject* obj, QEvent* event) override;
void mousePressEvent(QMouseEvent*) override;
void mouseReleaseEvent(QMouseEvent*) override;
void mouseMoveEvent(QMouseEvent*) override;
#ifndef QT_NO_CONTEXTMENU
void contextMenuEvent(QContextMenuEvent* event) override;
#endif // QT_NO_CONTEXTMENU
protected slots:
private slots:
void Target();
void readResultPassHash();
void clearFindTexts();
void copyText(QListWidget* listW);
void on_line1();
void on_line2();
void on_line3();
void on_line5();
void recentOpen(QString filename);
void on_nv1();
void on_nv2();
void on_nv3();
void on_nv4();
void on_nv5();
void on_nv6();
void on_nv7();
void on_nv8();
void on_nv9();
void on_nv10();
void on_nv11();
void on_nv12();
void on_nv01();
void on_nv02();
void on_nv03();
void on_nv04();
void show_menu(QPoint);
void show_menu0(QPoint);
void dataClassChange_dp();
void dataClassChange_nv();
void readResult();
void readResultDiskInfo();
void arch_addChange();
void arch_ForceChange();
void arch_blockChange();
void arch_patchChange();
void arch_Booter_patchChange();
void ReservedMemoryTypeChange();
void on_btnOpen();
void on_table_dp_add0_cellClicked(int row, int column);
void on_table_dp_add_itemChanged(QTableWidgetItem* item);
void on_table_nv_add0_cellClicked(int row, int column);
void on_table_nv_add_itemChanged(QTableWidgetItem* item);
void on_table_nv_del0_cellClicked(int row, int column);
void on_table_nv_ls0_cellClicked(int row, int column);
void on_table_nv_del_itemChanged(QTableWidgetItem* item);
void on_table_nv_ls_itemChanged(QTableWidgetItem* item);
void on_table_dp_del0_cellClicked(int row, int column);
void on_table_dp_del_itemChanged(QTableWidgetItem* item);
void on_btnSave();
void on_table_acpi_add_cellClicked(int row, int column);
void on_table_acpi_del_cellClicked(int row, int column);
void on_table_acpi_patch_cellClicked(int row, int column);
void on_table_booter_cellClicked(int row, int column);
void on_table_kernel_add_cellClicked(int row, int column);
void on_table_kernel_block_cellClicked(int row, int column);
void on_table_kernel_patch_cellClicked(int row, int column);
void on_tableEntries_cellClicked(int row, int column);
void on_tableTools_cellClicked(int row, int column);
void on_table_uefi_ReservedMemory_cellClicked(int row, int column);
void on_btnKernelPatchDel_clicked();
void on_btnACPIAdd_Del_clicked();
void on_btnACPIDel_Add_clicked();
void on_btnACPIDel_Del_clicked();
void on_btnACPIPatch_Del_clicked();
void on_btnBooter_Add_clicked();
void on_btnBooter_Del_clicked();
void on_btnDPDel_Add0_clicked();
void on_btnDPDel_Del0_clicked();
void on_btnDPDel_Add_clicked();
void on_btnDPDel_Del_clicked();
void on_btnACPIAdd_Add_clicked();
void on_btnDPAdd_Del0_clicked();
void on_btnDPAdd_Add_clicked();
void on_btnDPAdd_Del_clicked();
void on_btnKernelAdd_Add_clicked();
void on_btnKernelBlock_Add_clicked();
void on_btnKernelBlock_Del_clicked();
void on_btnMiscBO_Add_clicked();
void on_btnMiscBO_Del_clicked();
void on_btnMiscEntries_Add_clicked();
void on_btnMiscTools_Add_clicked();
void on_btnMiscEntries_Del_clicked();
void on_btnMiscTools_Del_clicked();
void on_btnNVRAMAdd_Del_clicked();
void on_btnNVRAMDel_Add_clicked();
void on_btnNVRAMLS_Add_clicked();
void on_btnNVRAMDel_Del0_clicked();
void on_btnNVRAMLS_Del0_clicked();
void on_btnNVRAMDel_Del_clicked();
void on_btnNVRAMLS_Del_clicked();
void on_btnUEFIRM_Add_clicked();
void on_btnUEFIRM_Del_clicked();
void on_btnUEFIDrivers_Add_clicked();
void on_btnUEFIDrivers_Del_clicked();
void on_btnKernelAdd_Up_clicked();
void on_btnKernelAdd_Down_clicked();
void on_btnSaveAs();
void on_btnKernelAdd_Del_clicked();
void on_table_dp_add_cellClicked(int row, int column);
void on_table_dp_add_currentCellChanged(int currentRow, int currentColumn,
int previousRow, int previousColumn);
void on_table_nv_add_cellClicked(int row, int column);
void on_table_nv_add_currentCellChanged(int currentRow, int currentColumn,
int previousRow, int previousColumn);
void on_table_kernel_add_currentCellChanged(int currentRow, int currentColumn,
int previousRow,
int previousColumn);
void on_table_kernel_block_currentCellChanged(int currentRow,
int currentColumn,
int previousRow,
int previousColumn);
void on_table_kernel_patch_currentCellChanged(int currentRow,
int currentColumn,
int previousRow,
int previousColumn);
void on_cboxSystemProductName_currentIndexChanged(const QString& arg1);
void on_editIntExposeSensitiveData_textChanged(const QString& arg1);
void on_editIntScanPolicy_textChanged(const QString& arg1);
void on_editIntDisplayLevel_textChanged(const QString& arg1);
void on_editIntPickerAttributes_textChanged(const QString& arg1);
void on_btnSystemProductName_clicked();
void on_btnSystemUUID_clicked();
void on_table_kernel_Force_cellClicked(int row, int column);
void on_table_kernel_Force_currentCellChanged(int currentRow,
int currentColumn,
int previousRow,
int previousColumn);
void on_btnKernelForce_Add_clicked();
void on_btnKernelForce_Del_clicked();
void on_table_uefi_ReservedMemory_currentCellChanged(int currentRow,
int currentColumn,
int previousRow,
int previousColumn);
void on_btnHelp();
void on_tabTotal_tabBarClicked(int index);
void on_tabTotal_currentChanged(int index);
void on_btnDevices_add_clicked();
void on_btnDevices_del_clicked();
void on_cboxUpdateSMBIOSMode_currentIndexChanged(const QString& arg1);
void on_table_dp_add0_itemChanged(QTableWidgetItem* item);
void on_table_dp_del0_itemChanged(QTableWidgetItem* item);
void on_table_nv_add0_itemChanged(QTableWidgetItem* item);
void on_table_nv_del0_itemChanged(QTableWidgetItem* item);
void on_table_nv_ls0_itemChanged(QTableWidgetItem* item);
void on_table_dp_del_cellClicked(int row, int column);
void on_tableBlessOverride_cellClicked(int row, int column);
void on_table_nv_del_cellClicked(int row, int column);
void on_table_nv_ls_cellClicked(int row, int column);
void on_tableDevices_cellClicked(int row, int column);
void on_table_uefi_drivers_cellClicked(int row, int column);
void on_btnBooterPatchAdd_clicked();
void on_btnBooterPatchDel_clicked();
void on_table_Booter_patch_cellClicked(int row, int column);
void on_table_Booter_patch_currentCellChanged(int currentRow,
int currentColumn,
int previousRow,
int previousColumn);
void on_btnCheckUpdate();
void replyFinished(QNetworkReply* reply);
void on_editIntTarget_textChanged(const QString& arg1);
void on_editIntHaltLevel_textChanged(const QString& arg1);
void on_listMain_itemSelectionChanged();
void on_listSub_itemSelectionChanged();
void on_table_dp_add0_itemSelectionChanged();
void on_table_dp_del0_itemSelectionChanged();
void on_table_nv_add0_itemSelectionChanged();
void on_table_nv_del0_itemSelectionChanged();
void on_table_nv_ls0_itemSelectionChanged();
void on_table_acpi_add_itemEntered(QTableWidgetItem* item);
void on_table_acpi_add_cellEntered(int row, int column);
void lineEdit_textChanged(const QString& arg1);
void lineEdit_textEdited(const QString& arg1);
void on_table_nv_ls_currentCellChanged(int currentRow, int currentColumn,
int previousRow, int previousColumn);
void on_table_acpi_add_currentCellChanged(int currentRow, int currentColumn,
int previousRow,
int previousColumn);
void on_table_nv_add0_currentCellChanged(int currentRow, int currentColumn,
int previousRow, int previousColumn);
void on_table_acpi_del_currentCellChanged(int currentRow, int currentColumn,
int previousRow,
int previousColumn);
void on_table_acpi_patch_currentCellChanged(int currentRow, int currentColumn,
int previousRow,
int previousColumn);
void on_table_booter_currentCellChanged(int currentRow, int currentColumn,
int previousRow, int previousColumn);
void on_tableBlessOverride_currentCellChanged(int currentRow,
int currentColumn,
int previousRow,
int previousColumn);
void on_tableEntries_currentCellChanged(int currentRow, int currentColumn,
int previousRow, int previousColumn);
void on_tableTools_currentCellChanged(int currentRow, int currentColumn,
int previousRow, int previousColumn);
void on_tableDevices_currentCellChanged(int currentRow, int currentColumn,
int previousRow, int previousColumn);
void on_table_uefi_drivers_currentCellChanged(int currentRow,
int currentColumn,
int previousRow,
int previousColumn);
void on_table_dp_add0_currentCellChanged(int currentRow, int currentColumn,
int previousRow, int previousColumn);
void on_table_dp_del0_currentCellChanged(int currentRow, int currentColumn,
int previousRow, int previousColumn);
void on_table_dp_del_currentCellChanged(int currentRow, int currentColumn,
int previousRow, int previousColumn);
void on_table_nv_del0_currentCellChanged(int currentRow, int currentColumn,
int previousRow, int previousColumn);
void on_table_nv_ls0_currentCellChanged(int currentRow, int currentColumn,
int previousRow, int previousColumn);
void on_table_nv_del_currentCellChanged(int currentRow, int currentColumn,
int previousRow, int previousColumn);
void on_table_dp_add0_cellDoubleClicked(int row, int column);
void on_table_dp_add_cellDoubleClicked(int row, int column);
void on_table_dp_del0_cellDoubleClicked(int row, int column);
void on_table_acpi_add_cellDoubleClicked(int row, int column);
void on_table_acpi_del_cellDoubleClicked(int row, int column);
void on_table_acpi_patch_cellDoubleClicked(int row, int column);
void on_table_booter_cellDoubleClicked(int row, int column);
void on_table_Booter_patch_cellDoubleClicked(int row, int column);
void on_table_kernel_add_cellDoubleClicked(int row, int column);
void on_table_kernel_block_cellDoubleClicked(int row, int column);
void on_table_kernel_Force_cellDoubleClicked(int row, int column);
void on_table_kernel_patch_cellDoubleClicked(int row, int column);
void on_tableBlessOverride_cellDoubleClicked(int row, int column);
void on_tableEntries_cellDoubleClicked(int row, int column);
void on_tableTools_cellDoubleClicked(int row, int column);
void on_table_nv_add0_cellDoubleClicked(int row, int column);
void on_table_nv_add_cellDoubleClicked(int row, int column);
void on_table_nv_del0_cellDoubleClicked(int row, int column);
void on_table_nv_del_cellDoubleClicked(int row, int column);
void on_table_nv_ls0_cellDoubleClicked(int row, int column);
void on_table_nv_ls_cellDoubleClicked(int row, int column);
void on_tableDevices_cellDoubleClicked(int row, int column);
void on_table_uefi_drivers_cellDoubleClicked(int row, int column);
void on_table_uefi_ReservedMemory_cellDoubleClicked(int row, int column);
void on_table_dp_del_cellDoubleClicked(int row, int column);
void on_actionNewWindow_triggered();
void on_actionGo_to_the_previous_triggered();
void on_actionGo_to_the_next_triggered();
void on_mycboxFind_currentTextChanged(const QString& arg1);
void on_listFind_currentRowChanged(int currentRow);
void on_listFind_itemClicked(QListWidgetItem* item);
void on_actionBug_Report_triggered();
void on_actionQuit_triggered();
void on_actionUpgrade_OC_triggered();
void on_actionDiscussion_Forum_triggered();
void on_mycboxTextColor_currentIndexChanged(int index);
void on_mycboxBackColor_currentIndexChanged(int index);
void on_editIntConsoleAttributes_textChanged(const QString& arg1);
void on_btnGetPassHash_clicked();
void on_toolButton_clicked();
void on_calendarWidget_selectionChanged();
void on_btnROM_clicked();
void on_myeditPassInput_textChanged(const QString& arg1);
void on_myeditPassInput_returnPressed();
void on_actionOcvalidate_triggered();
void on_actionMountEsp_triggered();
void on_btnExportMaster_triggered();
void on_editDatPasswordHash_textChanged(const QString& arg1);
void on_btnImportMaster_triggered();
void on_editDatPasswordSalt_textChanged(const QString& arg1);
void on_btnOpenACPIDir_clicked();
void on_btnOpenDriversDir_clicked();
void on_btnOpenToolsDir_clicked();
void on_btnOpenKextDir_clicked();
void on_btnDisplayLevel_clicked();
void on_btnScanPolicy_clicked();
void on_btnPickerAttributes_clicked();
void on_btnExposeSensitiveData_clicked();
void on_actionPlist_editor_triggered();
void on_actionDSDT_SSDT_editor_triggered();
void on_actionDifferences_triggered();
void setWM_RightTable();
void on_btnUp_clicked();
void on_btnDown_clicked();
void on_btnUp_UEFI_Drivers_clicked();
void on_btnDown_UEFI_Drivers_clicked();
void on_actionLatest_Release_triggered();
void on_txtEditHex_textChanged(const QString& arg1);
void on_txtEditASCII_textChanged(const QString& arg1);
void on_listSub_currentRowChanged(int currentRow);
void on_listMain_currentRowChanged(int currentRow);
void on_btnUpdateHex_clicked();
void on_actionOpen_Directory_triggered();
void on_actionOpen_database_directory_triggered();
void on_btnDPAddPreset_clicked();
void on_btnACPIPatch_clicked();
void on_btnPresetKernelPatch_clicked();
void on_btnPresetNVAdd_clicked();
void on_btnPresetNVDelete_clicked();
void on_btnPresetNVLegacy_clicked();
void on_actionAutoChkUpdate_triggered();
void on_actionEdit_Presets_triggered();
void on_btnNo_clicked();
void on_btnYes_clicked();
void on_btnAddbootArgs_clicked();
void updateStatus();
void on_table_nv_add0_itemClicked(QTableWidgetItem* item);
void on_btnKextPreset_clicked();
void on_actionOCAuxiliaryToolsDoc_triggered();
void on_actionBackup_EFI_triggered();
void on_comboBoxACPI_currentTextChanged(const QString& arg1);
void on_comboBoxBooter_currentIndexChanged(const QString& arg1);
void on_comboBoxKernel_currentIndexChanged(const QString& arg1);
void on_comboBoxUEFI_currentIndexChanged(const QString& arg1);
void on_actionOpenCore_DEV_triggered();
void on_actionDocumentation_triggered();
void on_btnHide_clicked();
void on_actionMove_Up_triggered();
void on_actionMove_Down_triggered();
void on_actionAdd_triggered();
void on_actionDelete_triggered();
void on_mycboxEmulate_currentTextChanged(const QString& arg1);
void on_btnImport_clicked();
void on_btnExport_clicked();
void on_actionDEBUG_triggered();
void on_actionInitDatabaseLinux_triggered();
void on_actionNew_Key_Field_triggered();
void on_btnSystemSerialNumber_clicked();
void on_editSystemSerialNumber_textChanged(const QString& arg1);
void on_editSystemUUID_textChanged(const QString& arg1);
void on_editMLB_textChanged(const QString& arg1);
void on_editDatROM_textChanged(const QString& arg1);
private:
bool isDrag;
QPoint m_position;
bool LoadRightTable = false;
bool AddCboxFindItem = false;
void acpi_cellDoubleClicked();
void booter_cellDoubleClicked();
void dp_cellDoubleClicked();
void kernel_cellDoubleClicked();
void misc_cellDoubleClicked();
void nvram_cellDoubleClicked();