QtProAddFileHelper/qtproaddfilehelper.h

48 lines
958 B
C++

/**
* @author Rick Chan (cy187lion@sina.com)
* @date 2020-08-28
*/
#ifndef QTPROADDFILEHELPER_H
#define QTPROADDFILEHELPER_H
#include <QMainWindow>
#include <QString>
#include <QLabel>
#include <QList>
#include <QCheckBox>
#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;
QList<QCheckBox*> CheckBoxes;
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();
void on_SeleAllcheckBox_clicked(bool checked);
void OnCheckBoxesClicked(bool checked);
};
#endif // QTPROADDFILEHELPER_H