#ifndef WIN09_GSM_H #define WIN09_GSM_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "tslib.h" #include "stepList.h" #include "plugin.h" #include "guidefs.h" class T_win09 : public QWidget { Q_OBJECT QGridLayout *myLayout; hwinf *HWaccess; uint16_t myNextStep; uint8_t myStep; QLabel *lab1, *lab2, *lab3, *lab4, *lab5, *lab6, *lab7, *lab8, *lab9, *lab10, *lab11; QTimer *myTO; QPushButton *pbModemPwr, *pbModemWake, *pbCreditPwr, *pbCreditWake, *pbModemRes; QLabel *showModemCondition; //QPushButton *pbTest1, *pbTest2, *pbTest3, *pbTest4; public: explicit T_win09(hwinf *HWaccess = nullptr, QWidget *parent = nullptr); bool work_ini(uint16_t *nextScreen, uint8_t *useNavi); // useNavi=0: no change // bit0,1: enable/disable button "next" // bit2,3: enable/disable button "home" // bit4,5: enable/disable button "back" bool working (uint16_t *nextScreen, uint8_t *useNavi); ~T_win09(); public slots: void Nav_back(void); void Nav_home(void); void Nav_next(void); void slot_ModemPower(void); void slot_ModemWake(void); void slot_CreditPower(void); void slot_CreditWake(void); void slot_startTest(void); void slot_ModemRes(void); // void slot_pbTest1(void); // void slot_pbTest2(void); // void slot_pbTest3(void); // void slot_pbTest4(void); }; #endif