#ifndef CTRLADVANCEDPANEL_H #define CTRLADVANCEDPANEL_H #include #include #include #include #include #include #include #include #include #include #include class CtrlAdvancedPanel : public QWidget { Q_OBJECT public: explicit CtrlAdvancedPanel(); protected: void showEvent(QShowEvent *event) override; void init(); void changeEvent(QEvent *) override; void transUi(); void keyReleaseEvent(QKeyEvent *) override; void mouseReleaseEvent(QMouseEvent *) override; private: std::vector btnSets, btnGets; QLabel *lbTitle; QLabel *lbScreenWidth; QLineEdit *fdScreenWidth; QLabel *lbScreenHeight; QLineEdit *fdScreenHeight; QLabel *lbAlias; QLineEdit *fdAlias; QLabel *lbWebAddr; QComboBox *fdWebAddr; QLabel *lbCompanyId; QLineEdit *fdCompanyId; QLabel *lbRealtime; QComboBox *fdRealtimeServer; QPushButton *btnRealtimeClear; QPushButton *btnWareUpdate; QLabel *lbWareTip; QPushButton *btnApkCheck; QComboBox *fdPkg; QPushButton *fdUninstall; QPushButton *btnIsRunning; QPushButton *btnRestart; QPushButton *btnGetPlayerState, *btnClearProg; QPushButton *btnGetLog; QPushButton *btnSetBack, *btnPlayerBackSet, *btnPlayerBackClear; QLabel *lbTimingReboot; QGroupBox *grpPlayer, *grpM80, *grpY50; QComboBox *fdM80Resolu, *fdDisMode; QPushButton *btnM80Set, *btnY50Set; QPushButton *btnM80Refresh; QPushButton *btnM80Restore; QLabel *lbDisMode; QLabel *lbScreenPos, *lbScreenOff; QLabel *lbOffset, *lbCameraDis; QGroupBox *grpHighForBusy; QRadioButton *fdHighForBusy; QRadioButton *fdTopLevelLH; QPushButton *btnGetTopLevel; QPushButton *btnLedSet; QPushButton *btnReceCardsGet, *btnBindTaxiIc; QGroupBox *grpMinMaxBrightness; QLabel *lbMinBright, *label_3; QLineEdit *fdMinBright, *fdMaxBright; QGroupBox *grpBoxHiddenSettings; QPushButton *btnSysUpd, *btnMcuUpd, *btnMcuGet; QLabel *lbRotate, *lbChargingStation, *lbBaudCfg, *lbBaudModel, *lbUart, *lbBaud; QCheckBox *fdIsOpenADB; QLabel *lbCustomJson; QTextEdit *fdCustomJson; QPushButton *btnSendCustomJson, *btnCustomJsonGet; QLabel *lbTraficProtocol, *lbCardMode, *lbTraficPort; QComboBox *fdServerType; bool isPassed = false; }; class PlayerBackSendThread : public QThread { Q_OBJECT public: PlayerBackSendThread(const QString &file, const QString &ip); QString file, ip; QString err; protected: void run(); signals: void emErr(QString); }; #endif // CTRLADVANCEDPANEL_H