35 lines
901 B
C++
35 lines
901 B
C++
#ifndef EXPERTSMARTPOINTSETWIN_H
|
|
#define EXPERTSMARTPOINTSETWIN_H
|
|
|
|
#include "expertwin.h"
|
|
#include "gutil/qgui.h"
|
|
#include <QSpinBox>
|
|
#include <QComboBox>
|
|
#include <QRadioButton>
|
|
|
|
class ExpertSmartPointSetWin : public BaseWin {
|
|
Q_OBJECT
|
|
public:
|
|
explicit ExpertSmartPointSetWin(ExpertWin *parent = nullptr);
|
|
int sendPoint(uint);
|
|
void save();
|
|
|
|
ExpertWin *expertWin;
|
|
QDialog *dlgChipType, *dlgDecodeMode;
|
|
|
|
Table *table, *tableRow;
|
|
int virtualCnt = 0;
|
|
QList<QPoint> scans;
|
|
|
|
QRadioButton *fdRow, *fdCol;
|
|
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
|