#ifndef CONFIG_PAGE_H
|
#define CONFIG_PAGE_H
|
|
#include <QDialog>
|
#include "CustomClass/custom_dialog.h"
|
#include "WorkThread/work_thread.h"
|
#include "Common/app_define.h"
|
#include "custom_lineedit.h"
|
#include "CustomClass/mymessagebox.h"
|
|
|
namespace Ui {
|
class Config_Page;
|
}
|
|
class Config_Page : public custom_dialog
|
{
|
Q_OBJECT
|
|
public:
|
explicit Config_Page(QWidget *parent = 0,Work_Thread *thread = 0);
|
~Config_Page();
|
|
void showConfigPage(void);
|
|
private:
|
Ui::Config_Page *ui;
|
|
Work_Thread *work_thread;
|
|
bool packParamEdit;
|
bool volDropEdit;
|
|
//QTimer *timer_500ms;
|
|
PACK_PARAM packParam;
|
VOL_DROP_PARAM volDropParam;
|
|
void closeConfigPage(void);
|
|
void updatePackParam(void);
|
|
private slots:
|
void BtnReleased();
|
void leditAction(void);
|
//void timerSlot();
|
|
|
};
|
|
#endif // CONFIG_PAGE_H
|