46 lines
849 B
C++
46 lines
849 B
C++
/**
|
|
* @author: Lion Chen/QQ:174980551
|
|
* @date: 2014-01-23
|
|
*/
|
|
|
|
#ifndef QTPROADDFILEHELPER_H
|
|
#define QTPROADDFILEHELPER_H
|
|
|
|
#include <QMainWindow>
|
|
/**
|
|
* @author: Lion Chen/QQ:174980551
|
|
* @data: 2014-01-23
|
|
*/
|
|
#include <QString>
|
|
#include <QLabel>
|
|
#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;
|
|
|
|
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();
|
|
};
|
|
|
|
#endif // QTPROADDFILEHELPER_H
|