comp:Drag-and-drop implementation in the interface is bound to the sending logic.

This commit is contained in:
2025-06-22 01:17:44 +08:00
parent fd8bb4c9f1
commit 1f9275ed72
8 changed files with 332 additions and 23 deletions

View File

@@ -1,6 +1,8 @@
#ifndef COMPARECONTROL_H
#define COMPARECONTROL_H
#include <FileTrans.h>
#include <QVector>
#include <QWidget>
namespace Ui {
@@ -15,10 +17,21 @@ public:
explicit Compare(QWidget* parent = nullptr);
~Compare();
signals:
void sigTasks(const QVector<TransTask>& tasks);
private:
void InitControl();
void InitTabWidget();
private:
void Save();
void Load();
void LoadTitles();
void TransToLeft();
void TransToRight();
private:
Ui::Compare* ui;
};