qt/ledset/expertsmartpointsetwin.h

35 lines
901 B
C
Raw Normal View History

2022-08-25 18:43:03 +08:00
#ifndef EXPERTSMARTPOINTSETWIN_H
#define EXPERTSMARTPOINTSETWIN_H
2022-12-16 15:08:53 +08:00
#include "expertwin.h"
2023-03-31 18:44:09 +08:00
#include "gutil/qgui.h"
2022-08-25 22:52:52 +08:00
#include <QSpinBox>
2022-09-09 23:25:49 +08:00
#include <QComboBox>
2023-06-07 19:11:03 +08:00
#include <QRadioButton>
2022-08-25 22:52:52 +08:00
2022-08-25 18:43:03 +08:00
class ExpertSmartPointSetWin : public BaseWin {
Q_OBJECT
public:
2022-12-16 15:08:53 +08:00
explicit ExpertSmartPointSetWin(ExpertWin *parent = nullptr);
2023-06-07 19:11:03 +08:00
int sendPoint(uint);
2022-09-08 23:22:59 +08:00
void save();
2022-12-16 15:08:53 +08:00
ExpertWin *expertWin;
2023-06-06 12:13:33 +08:00
QDialog *dlgChipType, *dlgDecodeMode;
2022-08-25 22:52:52 +08:00
2023-05-27 17:43:57 +08:00
Table *table, *tableRow;
2022-09-07 23:10:35 +08:00
int virtualCnt = 0;
2022-09-09 23:25:49 +08:00
QList<QPoint> scans;
2023-06-07 19:11:03 +08:00
QRadioButton *fdRow, *fdCol;
2022-09-09 23:25:49 +08:00
QSpinBox *fdModuleWidth, *fdModuleHeight, *fdGroupNum;
2023-05-27 17:43:57 +08:00
QLineEdit *fdChipType, *fdDecodeMode;
2023-06-06 12:13:33 +08:00
Table *tableChipType, *tableDecodeMode;
2023-05-27 17:43:57 +08:00
QComboBox *fdGroupMode;
2022-09-09 23:25:49 +08:00
int ModuleWidth{16}, ModuleHeight{8}, GroupNum{2}, ScanNum{4};
2023-06-06 12:13:33 +08:00
int ChipTypeCode, DecodeModeCode;
2022-09-09 23:25:49 +08:00
QString ChipType, DecodeMode, GroupMode;
2022-08-25 18:43:03 +08:00
};
#endif // EXPERTSMARTPOINTSETWIN_H