-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfilecomparewindow.h
More file actions
49 lines (35 loc) · 998 Bytes
/
filecomparewindow.h
File metadata and controls
49 lines (35 loc) · 998 Bytes
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
#ifndef FILECOMPAREWINDOW_H
#define FILECOMPAREWINDOW_H
#include <QMainWindow>
#include<QColor>
#include<unordered_map>
#include"filediff.h"
namespace Ui {
class filecomparewindow;
}
class filecomparewindow : public QMainWindow
{
Q_OBJECT
public:
explicit filecomparewindow(QWidget *parent = nullptr);
~filecomparewindow();
QString fromfile;
QString tofile;
void iniCombo_Box(int amount,std::unordered_map<int,QString>&IndexWidgetMAP);
void CompareResult(const std::vector<FileDiffItem>&AllText);
//滚动同步4个
void textEdit_allScroll();
void textBrowser_toScroll();
void textBrowser_insertordeleteScroll();
void textBrowser_fromScroll();
//清除之前的对比结果
void SweepAway();
signals:
void showDifference(QWidget *Launcher,QString &ff,QString &tf);
private slots:
void on_btn_exchange_clicked();
void on_btn_confirm_clicked();
private:
Ui::filecomparewindow *ui;
};
#endif // FILECOMPAREWINDOW_H