#ifndef EXPERTWIN_H #define EXPERTWIN_H #include "basewin.h" #include "gutil/qjson.h" #include #include #include #include class ExpertWin : public BaseWin { Q_OBJECT public: explicit ExpertWin(QWidget *parent = nullptr); QByteArray savedData(); void addMapData(QByteArray &); int screenWidth{1280}, screenHeight{720}; double rate{1}; QLabel *fdModuleWidth, *fdModuleHeight, *fdGroupNum, *fdScanNum; QLabel *fdChipType, *fdDecodeMode; JObj mModule { {"ModuleWidth", 32}, {"ModuleHeight", 16}, {"GroupNum", 2}, {"ScanNum", 4}, {"ChipType", "通用"}, {"DecodeMode", "138译码"}, {"GroupMode", "三线并行"} }; JObj mBox { {"ModuleRow", 1}, {"ModuleCol", 1}, {"Direction", 1}, {"SectorCount", 1} }; QSpinBox *fdCardWidth, *fdCardHeight; QComboBox *fdDirection, *fdSectorCount; protected: void closeEvent(QCloseEvent *) override; }; #endif // EXPERTWIN_H