qt/ledset/expertsmartpointsetwin.h
2023-06-06 12:13:33 +08:00

32 lines
819 B
C++

#ifndef EXPERTSMARTPOINTSETWIN_H
#define EXPERTSMARTPOINTSETWIN_H
#include "expertwin.h"
#include "gutil/qgui.h"
#include <QSpinBox>
#include <QComboBox>
class ExpertSmartPointSetWin : public BaseWin {
Q_OBJECT
public:
explicit ExpertSmartPointSetWin(ExpertWin *parent = nullptr);
void save();
ExpertWin *expertWin;
QDialog *dlgChipType, *dlgDecodeMode;
Table *table, *tableRow;
int virtualCnt = 0;
QList<QPoint> scans;
QSpinBox *fdModuleWidth, *fdModuleHeight, *fdGroupNum;
QLineEdit *fdChipType, *fdDecodeMode;
Table *tableChipType, *tableDecodeMode;
QComboBox *fdGroupMode;
int ModuleWidth{16}, ModuleHeight{8}, GroupNum{2}, ScanNum{4};
int ChipTypeCode, DecodeModeCode;
QString ChipType, DecodeMode, GroupMode;
};
#endif // EXPERTSMARTPOINTSETWIN_H