2017-05-05 04:15:48 +08:00
|
|
|
/**
|
2020-08-28 10:17:38 +08:00
|
|
|
* @author Rick Chan (cy187lion@sina.com)
|
|
|
|
* @date 2020-08-28
|
2017-05-05 04:15:48 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QTPROADDFILEHELPER_H
|
|
|
|
#define QTPROADDFILEHELPER_H
|
|
|
|
|
|
|
|
#include <QMainWindow>
|
|
|
|
#include <QString>
|
|
|
|
#include <QLabel>
|
2020-08-28 10:17:38 +08:00
|
|
|
#include <QList>
|
|
|
|
#include <QCheckBox>
|
2017-05-05 04:15:48 +08:00
|
|
|
#include "engine.h"
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class QtProAddFileHelper;
|
|
|
|
}
|
|
|
|
|
|
|
|
class QtProAddFileHelper : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit QtProAddFileHelper(QWidget *parent = 0);
|
|
|
|
~QtProAddFileHelper();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::QtProAddFileHelper *ui;
|
|
|
|
QLabel *StatusLabel;
|
|
|
|
Engine *KEngine;
|
2020-08-28 10:17:38 +08:00
|
|
|
QList<QCheckBox*> CheckBoxes;
|
2017-05-05 04:15:48 +08:00
|
|
|
|
|
|
|
void SetUiEnable(bool en);
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_OKButton_clicked();
|
|
|
|
void on_EngineProcessing(bool done, int processedCount);
|
|
|
|
void on_ProButton_clicked();
|
|
|
|
void on_PathButton_clicked();
|
|
|
|
void on_PathEdit_editingFinished();
|
2020-08-28 10:17:38 +08:00
|
|
|
void on_SeleAllcheckBox_clicked(bool checked);
|
|
|
|
|
|
|
|
void OnCheckBoxesClicked(bool checked);
|
2017-05-05 04:15:48 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QTPROADDFILEHELPER_H
|