#ifndef ADJUST_PAGE_H #define ADJUST_PAGE_H #include #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 Adjust_Page; } class Adjust_Page : public custom_dialog { Q_OBJECT public: Adjust_Page(QWidget *parent = 0,Work_Thread *thread = 0); ~Adjust_Page(); void showAdjustPage(void); private: Ui::Adjust_Page *ui; Work_Thread *work_thread; QTimer *timer_500ms; TEST_PARAM testParam; qint32 now_value1; qint32 adj_value1; qint32 now_value2; qint32 adj_value2; bool paramEdited; quint8 cmdExecState; quint8 stateCnt; void setEditInput(Custom_LineEdit *edit, QLabel *lable, float min, float max, int floatNum); void setEditInputEx(Custom_LineEdit *edit, QLabel *lable, float min, float max, int floatNum); void popBox(QString msg); void getTestParam(const quint8 adjst); void closeAdjustPage(void); void updateAdjParamRead(void); int adjStartErrorCheck(const quint8 st); private slots: void BtnReleased(); void leditAction(void); void DSP_UpdateSlot(); void TabChanged(int index); void recvCMD_Result(int); }; #endif // ADJUST_PAGE_H