comp:Drag-and-drop implementation in the interface is bound to the sending logic.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user