#ifndef PARAM_PAGE_H
|
#define PARAM_PAGE_H
|
|
#include <QDialog>
|
#include "CustomClass/custom_dialog.h"
|
#include "Common/app_define.h"
|
#include "WorkThread/work_thread.h"
|
#include "custom_lineedit.h"
|
|
namespace Ui {
|
class Param_Page;
|
}
|
|
class Param_Page : public custom_dialog
|
{
|
Q_OBJECT
|
|
public:
|
explicit Param_Page(QWidget *parent = 0, Work_Thread *wt = 0);
|
~Param_Page();
|
|
void showParamPage(void);
|
|
private:
|
Ui::Param_Page *ui;
|
|
Work_Thread *workThread;
|
|
TEST_PARAM testParam;
|
|
QTimer *timer_500ms;
|
|
bool paramEdited;
|
|
|
void closeParamPage(void);
|
|
void comboBoxSet(void);
|
|
void initParamPage(void);
|
void paramValueShow(void);
|
void buttonStateShow(void);
|
|
void getTestParamValue(void);
|
|
void checkIcon(void);
|
|
void setEditInput(Custom_LineEdit *edit, QLabel *lable, float min, float max, int floatNum);
|
void setTimeInput(Custom_LineEdit *edit, QLabel *lable);
|
bool checkTimeText(QString &time);
|
|
private slots:
|
void buttonReleasedAction();
|
void ComboBoxTestTypeAct(int idex);
|
void ComboBoxConVolAct(int idex);
|
void leditClickAction();
|
|
void SystemTime(void);
|
|
};
|
|
#endif // PARAM_PAGE_H
|