42 lines
1.0 KiB
C++
42 lines
1.0 KiB
C++
#ifndef EXPERTSMARTPOINTSETWIN_H
|
|
#define EXPERTSMARTPOINTSETWIN_H
|
|
|
|
#include "expertwin.h"
|
|
#include "gutil/qgui.h"
|
|
#include <QSpinBox>
|
|
#include <QComboBox>
|
|
#include <QRadioButton>
|
|
|
|
class WaitingDlg;
|
|
class ExpertSmartPointSetWin : public BaseWin {
|
|
Q_OBJECT
|
|
public:
|
|
explicit ExpertSmartPointSetWin(ExpertWin *parent = nullptr);
|
|
int send(uint, const std::initializer_list<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{32}, ModuleHeight{16}, GroupNum{2}, ScanNum{4};
|
|
int ChipTypeCode, DecodeModeCode;
|
|
bool DataPolarity{true}, OePolarity{false};
|
|
int ColorMap;
|
|
QString ChipType, DecodeMode, GroupMode;
|
|
|
|
int RowPerScan{1};
|
|
|
|
uint res12;
|
|
};
|
|
|
|
#endif // EXPERTSMARTPOINTSETWIN_H
|