69 lines
1.8 KiB
C++
69 lines
1.8 KiB
C++
#ifndef CTRLTESTPANEL_H
|
|
#define CTRLTESTPANEL_H
|
|
|
|
#include "globaldefine.h"
|
|
#include <QScrollArea>
|
|
#include <QGroupBox>
|
|
#include <QRadioButton>
|
|
#include <QCheckBox>
|
|
#include <QSpinBox>
|
|
#include <QLabel>
|
|
#include <QPushButton>
|
|
|
|
class CtrlTestPanel : public QWidget {
|
|
Q_OBJECT
|
|
public:
|
|
explicit CtrlTestPanel(QWidget *parent = nullptr);
|
|
protected:
|
|
void changeEvent(QEvent *) override;
|
|
void transUi();
|
|
signals:
|
|
void sigSend(QJsonObject &,QString);
|
|
private:
|
|
void SendAnycastCmd(LedCard, int, bool);
|
|
|
|
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;
|
|
QPushButton *pushButtonStopTest;
|
|
QLineEdit *lineEdit;
|
|
QPushButton *pushButton_11;
|
|
QPushButton *pushButton_12;
|
|
QPushButton *pushButton_13;
|
|
};
|
|
|
|
#endif // CTRLTESTPANEL_H
|