qt/LedOK/device/ctrltestpanel.h

68 lines
1.7 KiB
C
Raw Permalink Normal View History

2023-05-15 16:06:10 +08:00
#ifndef CTRLTESTPANEL_H
#define CTRLTESTPANEL_H
#include <QScrollArea>
#include <QGroupBox>
#include <QRadioButton>
#include <QCheckBox>
#include <QSpinBox>
#include <QLabel>
#include <QPushButton>
class CtrlTestPanel : public QWidget {
Q_OBJECT
public:
2023-08-01 11:42:41 +08:00
explicit CtrlTestPanel();
2023-05-15 16:06:10 +08:00
protected:
void changeEvent(QEvent *) override;
void transUi();
signals:
void sigSend(QJsonObject &,QString);
private:
2024-02-21 18:08:50 +08:00
void SendAnycastCmd(int);
2023-05-15 16:06:10 +08:00
QLabel *labelTestScreen;
QGroupBox *groupBox;
QRadioButton *radioButtonRed;
QRadioButton *radioButtonGreen;
QRadioButton *radioButtonBlue;
QRadioButton *radioButtonWhite;
QCheckBox *checkBoxVertical;
QCheckBox *checkBoxSlash;
QCheckBox *checkBoxHorizontal;
QLabel *label;
QSpinBox *spinBoxLineSpeed;
QLabel *label_5;
QLabel *label_2;
QSpinBox *spinBoxLineDistance;
QLabel *label_6;
QPushButton *pushButtonStartLine;
QGroupBox *groupBox_2;
QCheckBox *checkBoxShowInfo;
QCheckBox *checkBox_red;
QCheckBox *checkBox_green;
QCheckBox *checkBox_blue;
QCheckBox *checkBox_white;
QLabel *label_3;
QSpinBox *spinBoxGraySpeed;
QLabel *label_8;
QLabel *label_4;
QSpinBox *spinBoxGrayValue;
QLabel *label_7;
QPushButton *pushButtonStartGray;
QGroupBox *groupBox_3;
QCheckBox *checkBoxGradient;
QRadioButton *radioButton_red;
QRadioButton *radioButton_Green;
QRadioButton *radioButton_Blue;
QRadioButton *radioButton_White;
QPushButton *pushButtonStartColor;
2024-02-21 18:08:50 +08:00
QPushButton *btnStopTest;
QLineEdit *fdAnycast;
QPushButton *btnAnycastClear;
QPushButton *btnAnycastReset;
2023-05-16 18:03:53 +08:00
QPushButton *btnAnycast;
2023-05-15 16:06:10 +08:00
};
#endif // CTRLTESTPANEL_H