#ifndef MAINWINDOW_H #define MAINWINDOW_H #include "base/loqtitlebar.h" #include "basewin.h" #include "devicepanel.h" #include "devicectrlpanel.h" #include "mguangyingpinwidget.h" #include "progpanel.h" #include class MainWindow : public BaseWin { Q_OBJECT public: explicit MainWindow(QWidget *parent = nullptr); ~MainWindow(); protected: void changeEvent(QEvent *) override; void transUi(); private: QTranslator translator; QTranslator transQt; LoQTitleBar *m_wTitle; QActionGroup *langGrp; QAction *act_lang; QAction *act_help; QAction *act_update; QAction *act_updatefirmware; QAction *act_softconfiguration; QAction *act_about; QPushButton *bn_Setting; QButtonGroup *mBtnGrp; QWidget *wgts[MainPage_End]{}; int curIndex{0}; QPushButton *m_pOneKeyCheckCard; DevicePanel *mDevicePanel; ProgPanel *mProgPanel; mGuangYingPinWidget *m_wGuangYingPinWidget; QTimer *m_pTimerSendResoreIpOneKey=nullptr; void test(); }; #endif // MAINWINDOW_H