qt/ledset/expertsmartpointsetwin.h
2023-06-13 18:00:19 +08:00

40 lines
991 B
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;
QString ChipType, DecodeMode, GroupMode;
int lightNum{2};
uint res12;
};
#endif // EXPERTSMARTPOINTSETWIN_H