#ifndef SYSSET_PAGE_H #define SYSSET_PAGE_H #include "Common/app_define.h" #include #include "WorkThread/work_thread.h" #include "CustomClass/custom_dialog.h" #include "adjust_page.h" #include "config_page.h" namespace Ui { class SysSet_Page; } class SysSet_Page : public custom_dialog { Q_OBJECT public: explicit SysSet_Page(QWidget *parent = 0, Work_Thread *thread = 0); ~SysSet_Page(); void showSyssetPage(void); private: Ui::SysSet_Page *ui; Work_Thread *workThread; Adjust_Page *adjustPage; Config_Page *configPage; bool one_sub_window_exist; QString ipAddr; QString netMask; QString gateWay; QDateTime qDT; CT_DATE_TIME ctDT; SYSTEM_PARAM_XML sysParam; bool time_edit; bool ip_edit; bool server_edit; QTimer *t_timer; bool beep_en; bool checkDateText(QString &Chked,CT_DATE_TIME &datetime); bool checkTimeText(QString &Chked,CT_DATE_TIME &datetime); void set_date_time(CT_DATE_TIME &dt); void setIcon(); void popBox(QString msg); QString getModuleVerson(void); void closeSyssetPage(void); void setEth0Info(); void setServerInfo(); private slots: void BtnReleased(); void TabChanged(int index); void leditAction(void); void get_date_time(void); void ComboBoxTestTypeAct(int idex); }; #endif // SYSSET_PAGE_H