whyclwt
2022-05-18 ab72c6e114d7c4e83564194367ba623ca23bf09d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#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