添加OpenCv

This commit is contained in:
2025-09-15 22:28:43 +08:00
parent c0593df9e1
commit 94282fb1d9
423 changed files with 622349 additions and 97439 deletions

View File

@@ -12,6 +12,7 @@
#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLCDNumber>
#include <QtWidgets/QLabel>
@@ -26,8 +27,6 @@ class Ui_P00_PublicPage
{
public:
QCheckBox *But_Page_10;
QLabel *label_4;
QLabel *label_6;
QLabel *label_14;
QCheckBox *But_Page_6;
QCheckBox *But_Page_4;
@@ -48,7 +47,6 @@ public:
QLCDNumber *LCD_SystemVal_W1;
QLCDNumber *LCD_MainHaul_R_3;
QPushButton *But_help;
QLabel *Num_MainAlarmNum;
QCheckBox *But_Page_8;
QLabel *label_7;
QCheckBox *But_Page_1;
@@ -57,8 +55,7 @@ public:
QLabel *label_9;
QCheckBox *checkBox;
QLabel *LED_ConnectionStatus;
QLabel *label_8;
QLabel *Lable_MainAlarm;
QLabel *Title;
QWidget *layoutWidget_4;
QVBoxLayout *verticalLayout_3;
QLabel *label_11;
@@ -78,11 +75,15 @@ public:
QCheckBox *But_Page_3;
QLabel *label;
QCheckBox *But_Page_9;
QLabel *label_5;
QCheckBox *But_Page_2;
QCheckBox *But_Page_5;
QCheckBox *But_Page_13;
QCheckBox *But_Page_12;
QLabel *Label_BorderImg;
QGroupBox *groupBox;
QLabel *Num_MainAlarmNum;
QLabel *Txt_AlarmCode;
QLabel *Lable_MainAlarm;
void setupUi(QWidget *P00_PublicPage)
{
@@ -128,17 +129,6 @@ public:
"}\n"
""));
But_Page_10->setCheckable(false);
label_4 = new QLabel(P00_PublicPage);
label_4->setObjectName(QString::fromUtf8("label_4"));
label_4->setGeometry(QRect(0, 646, 1024, 32));
label_4->setStyleSheet(QString::fromUtf8("border-image: url(:/Frames/Frames/Alarm.png);"));
label_6 = new QLabel(P00_PublicPage);
label_6->setObjectName(QString::fromUtf8("label_6"));
label_6->setGeometry(QRect(130, 647, 121, 30));
label_6->setStyleSheet(QString::fromUtf8("border-image: url(:/Frames/null.png);\n"
"font: 87 14pt \"\346\200\235\346\272\220\351\273\221\344\275\223 Heavy\";\n"
"color: rgb(0, 255, 255);"));
label_6->setAlignment(Qt::AlignCenter);
label_14 = new QLabel(P00_PublicPage);
label_14->setObjectName(QString::fromUtf8("label_14"));
label_14->setGeometry(QRect(410, 40, 201, 30));
@@ -436,13 +426,6 @@ public:
" border-image: url(:/Icos/Icos/icon_Help2.png);\n"
"}\n"
""));
Num_MainAlarmNum = new QLabel(P00_PublicPage);
Num_MainAlarmNum->setObjectName(QString::fromUtf8("Num_MainAlarmNum"));
Num_MainAlarmNum->setGeometry(QRect(30, 647, 70, 30));
Num_MainAlarmNum->setStyleSheet(QString::fromUtf8("border-image: url(:/Frames/null.png);\n"
"font: 87 14pt \"\346\200\235\346\272\220\351\273\221\344\275\223 Heavy\";\n"
"color: rgb(255, 0, 0);"));
Num_MainAlarmNum->setAlignment(Qt::AlignCenter);
But_Page_8 = new QCheckBox(P00_PublicPage);
But_Page_8->setObjectName(QString::fromUtf8("But_Page_8"));
But_Page_8->setGeometry(QRect(510, 680, 60, 80));
@@ -574,20 +557,13 @@ public:
LED_ConnectionStatus->setObjectName(QString::fromUtf8("LED_ConnectionStatus"));
LED_ConnectionStatus->setGeometry(QRect(70, 5, 71, 60));
LED_ConnectionStatus->setStyleSheet(QString::fromUtf8("border-image: url(:/Icos/Icos/Exclamation.png);"));
label_8 = new QLabel(P00_PublicPage);
label_8->setObjectName(QString::fromUtf8("label_8"));
label_8->setGeometry(QRect(420, 0, 181, 41));
label_8->setStyleSheet(QString::fromUtf8("border-image: url(:/Frames/null.png);\n"
Title = new QLabel(P00_PublicPage);
Title->setObjectName(QString::fromUtf8("Title"));
Title->setGeometry(QRect(420, 0, 181, 41));
Title->setStyleSheet(QString::fromUtf8("border-image: url(:/Frames/null.png);\n"
"font: 87 22pt \"\346\200\235\346\272\220\351\273\221\344\275\223 Heavy\";\n"
"color: rgb(0, 255, 255);"));
label_8->setAlignment(Qt::AlignCenter);
Lable_MainAlarm = new QLabel(P00_PublicPage);
Lable_MainAlarm->setObjectName(QString::fromUtf8("Lable_MainAlarm"));
Lable_MainAlarm->setGeometry(QRect(250, 647, 771, 30));
Lable_MainAlarm->setStyleSheet(QString::fromUtf8("border-image: url(:/Frames/null.png);\n"
"font: 87 14pt \"\346\200\235\346\272\220\351\273\221\344\275\223 Heavy\";\n"
"color: rgb(255, 0, 0);"));
Lable_MainAlarm->setAlignment(Qt::AlignCenter);
Title->setAlignment(Qt::AlignCenter);
layoutWidget_4 = new QWidget(P00_PublicPage);
layoutWidget_4->setObjectName(QString::fromUtf8("layoutWidget_4"));
layoutWidget_4->setGeometry(QRect(210, 0, 40, 63));
@@ -949,13 +925,6 @@ public:
"}\n"
""));
But_Page_9->setCheckable(false);
label_5 = new QLabel(P00_PublicPage);
label_5->setObjectName(QString::fromUtf8("label_5"));
label_5->setGeometry(QRect(0, 647, 131, 30));
label_5->setStyleSheet(QString::fromUtf8("border-image: url(:/Frames/null.png);\n"
"font: 87 14pt \"\346\200\235\346\272\220\351\273\221\344\275\223 Heavy\";\n"
"color: rgb(0, 255, 255);"));
label_5->setAlignment(Qt::AlignCenter);
But_Page_2 = new QCheckBox(P00_PublicPage);
But_Page_2->setObjectName(QString::fromUtf8("But_Page_2"));
But_Page_2->setGeometry(QRect(150, 680, 60, 80));
@@ -1112,12 +1081,36 @@ public:
"}\n"
""));
But_Page_12->setCheckable(false);
label_4->raise();
label_5->raise();
Label_BorderImg = new QLabel(P00_PublicPage);
Label_BorderImg->setObjectName(QString::fromUtf8("Label_BorderImg"));
Label_BorderImg->setGeometry(QRect(980, 680, 54, 12));
groupBox = new QGroupBox(P00_PublicPage);
groupBox->setObjectName(QString::fromUtf8("groupBox"));
groupBox->setGeometry(QRect(0, 650, 1024, 32));
groupBox->setStyleSheet(QString::fromUtf8("border-image: url(:/Frames/Frames/Alarm.png);\n"
"font: 87 14pt \"\346\200\235\346\272\220\351\273\221\344\275\223 Heavy\";"));
Num_MainAlarmNum = new QLabel(groupBox);
Num_MainAlarmNum->setObjectName(QString::fromUtf8("Num_MainAlarmNum"));
Num_MainAlarmNum->setGeometry(QRect(0, 0, 171, 30));
Num_MainAlarmNum->setStyleSheet(QString::fromUtf8("border-image: url(:/Frames/null.png);\n"
"color: rgb(0, 255, 255);"));
Num_MainAlarmNum->setAlignment(Qt::AlignCenter);
Txt_AlarmCode = new QLabel(groupBox);
Txt_AlarmCode->setObjectName(QString::fromUtf8("Txt_AlarmCode"));
Txt_AlarmCode->setGeometry(QRect(170, 0, 121, 30));
Txt_AlarmCode->setStyleSheet(QString::fromUtf8("border-image: url(:/Frames/null.png);\n"
"color: rgb(0, 255, 255);"));
Txt_AlarmCode->setAlignment(Qt::AlignCenter);
Lable_MainAlarm = new QLabel(groupBox);
Lable_MainAlarm->setObjectName(QString::fromUtf8("Lable_MainAlarm"));
Lable_MainAlarm->setGeometry(QRect(290, 0, 731, 30));
Lable_MainAlarm->setStyleSheet(QString::fromUtf8("border-image: url(:/Frames/null.png);\n"
"color: rgb(255, 0, 0);"));
Lable_MainAlarm->setAlignment(Qt::AlignCenter);
Label_BorderImg->raise();
label->raise();
label_3->raise();
But_Page_10->raise();
label_6->raise();
label_14->raise();
But_Page_6->raise();
But_Page_4->raise();
@@ -1125,14 +1118,12 @@ public:
layoutWidget->raise();
layoutWidget_2->raise();
But_help->raise();
Num_MainAlarmNum->raise();
But_Page_8->raise();
label_7->raise();
But_Page_1->raise();
layoutWidget_3->raise();
LED_ConnectionStatus->raise();
label_8->raise();
Lable_MainAlarm->raise();
Title->raise();
layoutWidget_4->raise();
layoutWidget_5->raise();
But_Page_14->raise();
@@ -1148,6 +1139,7 @@ public:
But_Page_5->raise();
But_Page_13->raise();
But_Page_12->raise();
groupBox->raise();
retranslateUi(P00_PublicPage);
@@ -1158,8 +1150,6 @@ public:
{
P00_PublicPage->setWindowTitle(QCoreApplication::translate("P00_PublicPage", "Form", nullptr));
But_Page_10->setText(QCoreApplication::translate("P00_PublicPage", "\347\273\235\347\274\230\346\243\200\346\265\213", nullptr));
label_4->setText(QString());
label_6->setText(QCoreApplication::translate("P00_PublicPage", "(FF88,FF88)", nullptr));
label_14->setText(QCoreApplication::translate("P00_PublicPage", "\351\207\207\347\205\244\346\234\272\345\217\270\346\234\272", nullptr));
But_Page_6->setText(QCoreApplication::translate("P00_PublicPage", "\346\262\271\347\274\270\347\212\266\346\200\201", nullptr));
But_Page_4->setText(QCoreApplication::translate("P00_PublicPage", "\350\243\205\350\275\275\350\256\276\345\244\207", nullptr));
@@ -1170,15 +1160,13 @@ public:
label_17->setText(QCoreApplication::translate("P00_PublicPage", "V:", nullptr));
label_19->setText(QCoreApplication::translate("P00_PublicPage", "W:", nullptr));
But_help->setText(QString());
Num_MainAlarmNum->setText(QCoreApplication::translate("P00_PublicPage", "25/32", nullptr));
But_Page_8->setText(QCoreApplication::translate("P00_PublicPage", "\351\201\245\346\216\247\346\265\213\350\257\225", nullptr));
label_7->setText(QString());
But_Page_1->setText(QCoreApplication::translate("P00_PublicPage", "\345\261\217\350\224\275\346\235\241\344\273\266", nullptr));
label_9->setText(QCoreApplication::translate("P00_PublicPage", "\350\260\203\350\257\225", nullptr));
checkBox->setText(QString());
LED_ConnectionStatus->setText(QString());
label_8->setText(QCoreApplication::translate("P00_PublicPage", "\344\270\273\351\242\204\350\247\210", nullptr));
Lable_MainAlarm->setText(QCoreApplication::translate("P00_PublicPage", "\345\205\267\344\275\223\345\206\205\345\256\271", nullptr));
Title->setText(QCoreApplication::translate("P00_PublicPage", "\344\270\273\351\242\204\350\247\210", nullptr));
label_11->setText(QCoreApplication::translate("P00_PublicPage", "\346\200\245\345\201\234", nullptr));
checkBox_3->setText(QString());
label_12->setText(QCoreApplication::translate("P00_PublicPage", "\346\216\210\346\235\203", nullptr));
@@ -1193,11 +1181,15 @@ public:
But_Page_3->setText(QCoreApplication::translate("P00_PublicPage", "\346\210\252\345\211\262\350\256\276\345\244\207", nullptr));
label->setText(QString());
But_Page_9->setText(QCoreApplication::translate("P00_PublicPage", "\350\207\252\345\212\250\346\231\272\350\203\275", nullptr));
label_5->setText(QCoreApplication::translate("P00_PublicPage", "\347\254\254 \346\235\241:", nullptr));
But_Page_2->setText(QCoreApplication::translate("P00_PublicPage", "\346\262\271\346\263\265\350\256\276\345\244\207", nullptr));
But_Page_5->setText(QCoreApplication::translate("P00_PublicPage", "\350\277\220\350\276\223\350\256\276\345\244\207", nullptr));
But_Page_13->setText(QCoreApplication::translate("P00_PublicPage", "\351\232\217\346\234\272\345\233\276\345\206\214", nullptr));
But_Page_12->setText(QCoreApplication::translate("P00_PublicPage", "\346\203\257\346\200\247\345\257\274\350\210\252", nullptr));
But_Page_12->setText(QCoreApplication::translate("P00_PublicPage", "\346\234\254\345\234\260\346\216\247\345\210\266", nullptr));
Label_BorderImg->setText(QString());
groupBox->setTitle(QString());
Num_MainAlarmNum->setText(QCoreApplication::translate("P00_PublicPage", "\345\205\261 25 \346\235\241 \347\254\254 32 \346\235\241:", nullptr));
Txt_AlarmCode->setText(QCoreApplication::translate("P00_PublicPage", "(FF88,FF88)", nullptr));
Lable_MainAlarm->setText(QCoreApplication::translate("P00_PublicPage", "\345\205\267\344\275\223\345\206\205\345\256\271", nullptr));
} // retranslateUi
};