662 lines
32 KiB
C++
662 lines
32 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'widget.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 6.7.3
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef UI_WIDGET_H
|
|
#define UI_WIDGET_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QCheckBox>
|
|
#include <QtWidgets/QFrame>
|
|
#include <QtWidgets/QGroupBox>
|
|
#include <QtWidgets/QHBoxLayout>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtWidgets/QPushButton>
|
|
#include <QtWidgets/QSpacerItem>
|
|
#include <QtWidgets/QSpinBox>
|
|
#include <QtWidgets/QTabWidget>
|
|
#include <QtWidgets/QVBoxLayout>
|
|
#include <QtWidgets/QWidget>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_Widget
|
|
{
|
|
public:
|
|
QHBoxLayout *horizontalLayout;
|
|
QTabWidget *tabWidget;
|
|
QWidget *tab;
|
|
QLabel *label;
|
|
QLabel *label_3;
|
|
QWidget *tab_2;
|
|
QHBoxLayout *horizontalLayout_3;
|
|
QFrame *frame_7;
|
|
QVBoxLayout *verticalLayout_3;
|
|
QLabel *lab_info;
|
|
QPushButton *btn_start;
|
|
QPushButton *btn_stop;
|
|
QPushButton *btn_take_photos;
|
|
QPushButton *btn_set_valve;
|
|
QPushButton *btn_quit;
|
|
QSpacerItem *verticalSpacer;
|
|
QFrame *frame_6;
|
|
QVBoxLayout *verticalLayout;
|
|
QFrame *frame;
|
|
QHBoxLayout *horizontalLayout_4;
|
|
QLabel *label_2;
|
|
QSpacerItem *horizontalSpacer;
|
|
QCheckBox *dl_enable_1;
|
|
QCheckBox *tra_enable_1;
|
|
QCheckBox *mtx_1_overlay;
|
|
QCheckBox *dl_1_overlay;
|
|
QCheckBox *img_1_mirror;
|
|
QLabel *camera_1_img;
|
|
QFrame *frame_2;
|
|
QHBoxLayout *horizontalLayout_5;
|
|
QLabel *label_4;
|
|
QSpacerItem *horizontalSpacer_2;
|
|
QCheckBox *dl_enable_0;
|
|
QCheckBox *tra_enable_0;
|
|
QCheckBox *mtx_0_overlay;
|
|
QCheckBox *dl_0_overlay;
|
|
QCheckBox *img_0_mirror;
|
|
QLabel *camera_0_img;
|
|
QWidget *tab_3;
|
|
QLabel *label_title_3;
|
|
QGroupBox *groupBox_4;
|
|
QPushButton *btn_set_lower;
|
|
QFrame *frame_3;
|
|
QHBoxLayout *horizontalLayout_6;
|
|
QVBoxLayout *verticalLayout_5;
|
|
QLabel *label_delaytime;
|
|
QLabel *label_encoder;
|
|
QLabel *label_encoder_2;
|
|
QVBoxLayout *verticalLayout_4;
|
|
QSpinBox *spinbox_delaytime;
|
|
QSpinBox *spinbox_encoder;
|
|
QSpinBox *spinbox_valve;
|
|
QPushButton *btn_tab3_backtab2;
|
|
QLabel *label_title_4;
|
|
QGroupBox *groupBox_2;
|
|
QLabel *label_explosure_2;
|
|
QSpinBox *spinBox_channel;
|
|
QPushButton *btn_send_single;
|
|
QPushButton *btn_stop_single;
|
|
QGroupBox *groupBox_3;
|
|
QPushButton *btn_test_single;
|
|
QPushButton *btn_stop_test;
|
|
QWidget *tab_4;
|
|
|
|
void setupUi(QWidget *Widget)
|
|
{
|
|
if (Widget->objectName().isEmpty())
|
|
Widget->setObjectName("Widget");
|
|
Widget->resize(2173, 1191);
|
|
horizontalLayout = new QHBoxLayout(Widget);
|
|
horizontalLayout->setObjectName("horizontalLayout");
|
|
horizontalLayout->setContentsMargins(0, 0, 0, 0);
|
|
tabWidget = new QTabWidget(Widget);
|
|
tabWidget->setObjectName("tabWidget");
|
|
tabWidget->setEnabled(true);
|
|
tabWidget->setStyleSheet(QString::fromUtf8("background-color: rgb(228, 223, 186);"));
|
|
tabWidget->setTabBarAutoHide(true);
|
|
tab = new QWidget();
|
|
tab->setObjectName("tab");
|
|
label = new QLabel(tab);
|
|
label->setObjectName("label");
|
|
label->setGeometry(QRect(330, 120, 1271, 131));
|
|
label->setStyleSheet(QString::fromUtf8("font: 72pt \"Microsoft YaHei UI\";"));
|
|
label_3 = new QLabel(tab);
|
|
label_3->setObjectName("label_3");
|
|
label_3->setGeometry(QRect(500, 260, 1151, 141));
|
|
label_3->setStyleSheet(QString::fromUtf8("font: 72pt \"Microsoft YaHei UI\";"));
|
|
tabWidget->addTab(tab, QString());
|
|
tab_2 = new QWidget();
|
|
tab_2->setObjectName("tab_2");
|
|
horizontalLayout_3 = new QHBoxLayout(tab_2);
|
|
horizontalLayout_3->setObjectName("horizontalLayout_3");
|
|
frame_7 = new QFrame(tab_2);
|
|
frame_7->setObjectName("frame_7");
|
|
frame_7->setMinimumSize(QSize(0, 0));
|
|
verticalLayout_3 = new QVBoxLayout(frame_7);
|
|
verticalLayout_3->setSpacing(20);
|
|
verticalLayout_3->setObjectName("verticalLayout_3");
|
|
verticalLayout_3->setContentsMargins(9, 9, 9, -1);
|
|
lab_info = new QLabel(frame_7);
|
|
lab_info->setObjectName("lab_info");
|
|
lab_info->setEnabled(true);
|
|
QFont font;
|
|
font.setFamilies({QString::fromUtf8("Microsoft YaHei UI")});
|
|
font.setPointSize(48);
|
|
font.setBold(false);
|
|
font.setItalic(false);
|
|
lab_info->setFont(font);
|
|
lab_info->setStyleSheet(QString::fromUtf8("font: 48pt \"Microsoft YaHei UI\";\n"
|
|
"color: rgb(34, 40, 49);"));
|
|
|
|
verticalLayout_3->addWidget(lab_info);
|
|
|
|
btn_start = new QPushButton(frame_7);
|
|
btn_start->setObjectName("btn_start");
|
|
QSizePolicy sizePolicy(QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Preferred);
|
|
sizePolicy.setHorizontalStretch(0);
|
|
sizePolicy.setVerticalStretch(0);
|
|
sizePolicy.setHeightForWidth(btn_start->sizePolicy().hasHeightForWidth());
|
|
btn_start->setSizePolicy(sizePolicy);
|
|
btn_start->setMinimumSize(QSize(0, 120));
|
|
btn_start->setStyleSheet(QString::fromUtf8("/* btn_start \346\240\267\345\274\217 */\n"
|
|
"QPushButton#btn_start {\n"
|
|
" background-color: #4b5b47; /* \346\232\227\347\273\277\350\211\262\350\203\214\346\231\257 */\n"
|
|
" color: #f5efe7; /* \347\231\275\350\211\262\346\226\207\345\255\227 */\n"
|
|
" border: 2px solid #145A32; /* \346\233\264\346\267\261\347\232\204\347\273\277\350\211\262\350\276\271\346\241\206 */\n"
|
|
" padding: 20px 40px; /* \345\206\205\350\276\271\350\267\235 */\n"
|
|
" border-radius: 12px; /* \345\234\206\350\247\222\345\215\212\345\276\204 */\n"
|
|
" font-size: 48px; /* \345\255\227\344\275\223\345\244\247\345\260\217 */\n"
|
|
" font-weight: bold; /* \347\262\227\344\275\223\345\255\227 */\n"
|
|
" font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif; /* \345\255\227\344\275\223\346\227\217 */\n"
|
|
"}\n"
|
|
"\n"
|
|
"QPushButton#btn_start:hover {\n"
|
|
" background-color: #28b45d; /* \347\250\215\344\272\256\347\232\204\346\232\227\347\273\277\350\211\262\350\203\214\346\231\257 */\n"
|
|
" "
|
|
" border: 2px solid #1f8a4d; /* \346\232\227\347\273\277\350\211\262\350\276\271\346\241\206 */\n"
|
|
"}\n"
|
|
"\n"
|
|
"QPushButton#btn_start:pressed {\n"
|
|
" background-color: #186a3b; /* \346\233\264\346\267\261\347\232\204\347\273\277\350\211\262\350\203\214\346\231\257 */\n"
|
|
" color: #BDC3C7; /* \347\201\260\350\211\262\346\226\207\345\255\227 */\n"
|
|
" border: 2px solid #134d33; /* \346\233\264\346\267\261\347\232\204\347\273\277\350\211\262\350\276\271\346\241\206 */\n"
|
|
"}\n"
|
|
"\n"
|
|
"QPushButton#btn_start:disabled {\n"
|
|
" background-color: #7F8C8D; /* \347\201\260\350\211\262\350\203\214\346\231\257 */\n"
|
|
" color: #BDC3C7; /* \347\201\260\350\211\262\346\226\207\345\255\227 */\n"
|
|
" border: 2px solid #7F8C8D; /* \347\201\260\350\211\262\350\276\271\346\241\206 */\n"
|
|
"}"));
|
|
|
|
verticalLayout_3->addWidget(btn_start);
|
|
|
|
btn_stop = new QPushButton(frame_7);
|
|
btn_stop->setObjectName("btn_stop");
|
|
sizePolicy.setHeightForWidth(btn_stop->sizePolicy().hasHeightForWidth());
|
|
btn_stop->setSizePolicy(sizePolicy);
|
|
btn_stop->setMinimumSize(QSize(0, 120));
|
|
btn_stop->setStyleSheet(QString::fromUtf8("/* btn_stop \346\240\267\345\274\217 */\n"
|
|
"QPushButton#btn_stop\n"
|
|
" {\n"
|
|
" background-color: #be9970; /* \346\232\227\347\272\242\350\211\262\350\203\214\346\231\257 */\n"
|
|
" color: #ffffff; /* \347\231\275\350\211\262\346\226\207\345\255\227 */\n"
|
|
" border: 2px solid #641e16; /* \346\233\264\346\267\261\347\232\204\347\272\242\350\211\262\350\276\271\346\241\206 */\n"
|
|
" padding: 20px 40px; /* \345\206\205\350\276\271\350\267\235 */\n"
|
|
" border-radius: 12px; /* \345\234\206\350\247\222\345\215\212\345\276\204 */\n"
|
|
" font-size: 48px; /* \345\255\227\344\275\223\345\244\247\345\260\217 */\n"
|
|
" font-weight: bold; /* \347\262\227\344\275\223\345\255\227 */\n"
|
|
" font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif; /* \345\255\227\344\275\223\346\227\217 */\n"
|
|
"}\n"
|
|
"\n"
|
|
"QPushButton#btn_stop:hover {\n"
|
|
" background-color: #cb4335; /* \347\250\215\344\272\256\347\232\204\346\232\227\347\272\242\350\211\262\350\203\214\346\231\257 */\n"
|
|
""
|
|
" border: 2px solid #a93226; /* \346\232\227\347\272\242\350\211\262\350\276\271\346\241\206 */\n"
|
|
"}\n"
|
|
"\n"
|
|
"QPushButton#btn_stop:pressed {\n"
|
|
" background-color: #7b241c; /* \346\233\264\346\267\261\347\232\204\347\272\242\350\211\262\350\203\214\346\231\257 */\n"
|
|
" color: #BDC3C7; /* \347\201\260\350\211\262\346\226\207\345\255\227 */\n"
|
|
" border: 2px solid #641e16; /* \346\233\264\346\267\261\347\232\204\347\272\242\350\211\262\350\276\271\346\241\206 */\n"
|
|
"}\n"
|
|
"\n"
|
|
"QPushButton#btn_stop:disabled {\n"
|
|
" background-color: #7F8C8D; /* \347\201\260\350\211\262\350\203\214\346\231\257 */\n"
|
|
" color: #BDC3C7; /* \347\201\260\350\211\262\346\226\207\345\255\227 */\n"
|
|
" border: 2px solid #7F8C8D; /* \347\201\260\350\211\262\350\276\271\346\241\206 */\n"
|
|
"}\n"
|
|
""));
|
|
|
|
verticalLayout_3->addWidget(btn_stop);
|
|
|
|
btn_take_photos = new QPushButton(frame_7);
|
|
btn_take_photos->setObjectName("btn_take_photos");
|
|
sizePolicy.setHeightForWidth(btn_take_photos->sizePolicy().hasHeightForWidth());
|
|
btn_take_photos->setSizePolicy(sizePolicy);
|
|
btn_take_photos->setMinimumSize(QSize(0, 120));
|
|
btn_take_photos->setStyleSheet(QString::fromUtf8("/* btn_take_photos \346\240\267\345\274\217 */\n"
|
|
"QPushButton#btn_take_photos {\n"
|
|
" background-color: #7c8876; /* \346\232\227\350\223\235\350\211\262\350\203\214\346\231\257 */\n"
|
|
" color: #ffffff; /* \347\231\275\350\211\262\346\226\207\345\255\227 */\n"
|
|
" border: 2px solid #6c7766; /* \346\233\264\346\267\261\347\232\204\350\223\235\350\211\262\350\276\271\346\241\206 */\n"
|
|
" padding: 20px 40px; /* \345\206\205\350\276\271\350\267\235 */\n"
|
|
" border-radius: 12px; /* \345\234\206\350\247\222\345\215\212\345\276\204 */\n"
|
|
" font-size: 48px; /* \345\255\227\344\275\223\345\244\247\345\260\217 */\n"
|
|
" font-weight: bold; /* \347\262\227\344\275\223\345\255\227 */\n"
|
|
" font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif; /* \345\255\227\344\275\223\346\227\217 */\n"
|
|
"}\n"
|
|
"\n"
|
|
"QPushButton#btn_take_photos:hover {\n"
|
|
" background-color: #2e86c1; /* \347\250\215\344\272\256\347\232\204\346\232\227\350\223\235\350\211\262\350\203\214\346"
|
|
"\231\257 */\n"
|
|
" border: 2px solid #21618c; /* \346\232\227\350\223\235\350\211\262\350\276\271\346\241\206 */\n"
|
|
"}\n"
|
|
"\n"
|
|
"QPushButton#btn_take_photos:pressed {\n"
|
|
" background-color: #145a86; /* \346\233\264\346\267\261\347\232\204\350\223\235\350\211\262\350\203\214\346\231\257 */\n"
|
|
" color: #BDC3C7; /* \347\201\260\350\211\262\346\226\207\345\255\227 */\n"
|
|
" border: 2px solid #0f3b6b; /* \346\233\264\346\267\261\347\232\204\350\223\235\350\211\262\350\276\271\346\241\206 */\n"
|
|
"}\n"
|
|
"\n"
|
|
"QPushButton#btn_take_photos:disabled {\n"
|
|
" background-color: #7F8C8D; /* \347\201\260\350\211\262\350\203\214\346\231\257 */\n"
|
|
" color: #BDC3C7; /* \347\201\260\350\211\262\346\226\207\345\255\227 */\n"
|
|
" border: 2px solid #7F8C8D; /* \347\201\260\350\211\262\350\276\271\346\241\206 */\n"
|
|
"}\n"
|
|
"\n"
|
|
""));
|
|
|
|
verticalLayout_3->addWidget(btn_take_photos);
|
|
|
|
btn_set_valve = new QPushButton(frame_7);
|
|
btn_set_valve->setObjectName("btn_set_valve");
|
|
btn_set_valve->setMinimumSize(QSize(0, 120));
|
|
btn_set_valve->setStyleSheet(QString::fromUtf8("/* btn_set_value \346\240\267\345\274\217 */\n"
|
|
"QPushButton#btn_set_valve {\n"
|
|
" background-color: #be9970; /* \346\251\231\350\211\262\350\203\214\346\231\257 */\n"
|
|
" color: #ffffff; /* \347\231\275\350\211\262\346\226\207\345\255\227 */\n"
|
|
" border: 2px solid #d68910; /* \346\267\261\346\251\231\350\211\262\350\276\271\346\241\206 */\n"
|
|
" padding: 20px 40px; /* \345\206\205\350\276\271\350\267\235 */\n"
|
|
" border-radius: 12px; /* \345\234\206\350\247\222\345\215\212\345\276\204 */\n"
|
|
" font-size: 48px; /* \345\255\227\344\275\223\345\244\247\345\260\217 */\n"
|
|
" font-weight: bold; /* \347\262\227\344\275\223\345\255\227 */\n"
|
|
" font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif; /* \345\255\227\344\275\223\346\227\217 */\n"
|
|
"}\n"
|
|
"\n"
|
|
"QPushButton#btn_set_valve:hover {\n"
|
|
" background-color: #f1c40f; /* \344\272\256\346\251\231\350\211\262\350\203\214\346\231\257 */\n"
|
|
" border: 2px solid #f39c12; /* \346\251\231\350\211\262\350"
|
|
"\276\271\346\241\206 */\n"
|
|
"}\n"
|
|
"\n"
|
|
"QPushButton#btn_set_valve:pressed {\n"
|
|
" background-color: #d68910; /* \346\267\261\346\251\231\350\211\262\350\203\214\346\231\257 */\n"
|
|
" color: #BDC3C7; /* \347\201\260\350\211\262\346\226\207\345\255\227 */\n"
|
|
" border: 2px solid #b9770e; /* \346\233\264\346\267\261\347\232\204\346\251\231\350\211\262\350\276\271\346\241\206 */\n"
|
|
"}\n"
|
|
"\n"
|
|
"QPushButton#btn_set_valve:disabled {\n"
|
|
" background-color: #7F8C8D; /* \347\201\260\350\211\262\350\203\214\346\231\257 */\n"
|
|
" color: #BDC3C7; /* \347\201\260\350\211\262\346\226\207\345\255\227 */\n"
|
|
" border: 2px solid #7F8C8D; /* \347\201\260\350\211\262\350\276\271\346\241\206 */\n"
|
|
"}"));
|
|
|
|
verticalLayout_3->addWidget(btn_set_valve);
|
|
|
|
btn_quit = new QPushButton(frame_7);
|
|
btn_quit->setObjectName("btn_quit");
|
|
btn_quit->setMinimumSize(QSize(0, 120));
|
|
btn_quit->setStyleSheet(QString::fromUtf8("/* btn_quit \346\240\267\345\274\217 */\n"
|
|
"QPushButton#btn_quit {\n"
|
|
" background-color: #716244; /* \347\272\242\350\211\262\350\203\214\346\231\257 */\n"
|
|
" color: #ffffff; /* \347\231\275\350\211\262\346\226\207\345\255\227 */\n"
|
|
" border: 2px solid #922b21; /* \346\267\261\347\272\242\350\211\262\350\276\271\346\241\206 */\n"
|
|
" padding: 20px 40px; /* \345\206\205\350\276\271\350\267\235 */\n"
|
|
" border-radius: 12px; /* \345\234\206\350\247\222\345\215\212\345\276\204 */\n"
|
|
" font-size: 48px; /* \345\255\227\344\275\223\345\244\247\345\260\217 */\n"
|
|
" font-weight: bold; /* \347\262\227\344\275\223\345\255\227 */\n"
|
|
" font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif; /* \345\255\227\344\275\223\346\227\217 */\n"
|
|
"}\n"
|
|
"\n"
|
|
"QPushButton#btn_quit:hover {\n"
|
|
" background-color: #e74c3c; /* \344\272\256\347\272\242\350\211\262\350\203\214\346\231\257 */\n"
|
|
" border: 2px solid #c0392b; /* \347\272\242\350\211\262\350\276\271\346\241"
|
|
"\206 */\n"
|
|
"}\n"
|
|
"\n"
|
|
"QPushButton#btn_quit:pressed {\n"
|
|
" background-color: #922b21; /* \346\267\261\347\272\242\350\211\262\350\203\214\346\231\257 */\n"
|
|
" color: #BDC3C7; /* \347\201\260\350\211\262\346\226\207\345\255\227 */\n"
|
|
" border: 2px solid #641e16; /* \346\233\264\346\267\261\347\232\204\347\272\242\350\211\262\350\276\271\346\241\206 */\n"
|
|
"}\n"
|
|
"\n"
|
|
"QPushButton#btn_quit:disabled {\n"
|
|
" background-color: #7F8C8D; /* \347\201\260\350\211\262\350\203\214\346\231\257 */\n"
|
|
" color: #BDC3C7; /* \347\201\260\350\211\262\346\226\207\345\255\227 */\n"
|
|
" border: 2px solid #7F8C8D; /* \347\201\260\350\211\262\350\276\271\346\241\206 */\n"
|
|
"}"));
|
|
|
|
verticalLayout_3->addWidget(btn_quit);
|
|
|
|
verticalSpacer = new QSpacerItem(0, 0, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);
|
|
|
|
verticalLayout_3->addItem(verticalSpacer);
|
|
|
|
|
|
horizontalLayout_3->addWidget(frame_7);
|
|
|
|
frame_6 = new QFrame(tab_2);
|
|
frame_6->setObjectName("frame_6");
|
|
verticalLayout = new QVBoxLayout(frame_6);
|
|
verticalLayout->setObjectName("verticalLayout");
|
|
frame = new QFrame(frame_6);
|
|
frame->setObjectName("frame");
|
|
frame->setFrameShape(QFrame::Shape::NoFrame);
|
|
horizontalLayout_4 = new QHBoxLayout(frame);
|
|
horizontalLayout_4->setObjectName("horizontalLayout_4");
|
|
label_2 = new QLabel(frame);
|
|
label_2->setObjectName("label_2");
|
|
label_2->setStyleSheet(QString::fromUtf8("font: 18pt \"Microsoft YaHei UI\";"));
|
|
|
|
horizontalLayout_4->addWidget(label_2);
|
|
|
|
horizontalSpacer = new QSpacerItem(0, 0, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
|
|
|
|
horizontalLayout_4->addItem(horizontalSpacer);
|
|
|
|
dl_enable_1 = new QCheckBox(frame);
|
|
dl_enable_1->setObjectName("dl_enable_1");
|
|
dl_enable_1->setStyleSheet(QString::fromUtf8("font: 12pt \"Microsoft YaHei UI\";"));
|
|
|
|
horizontalLayout_4->addWidget(dl_enable_1);
|
|
|
|
tra_enable_1 = new QCheckBox(frame);
|
|
tra_enable_1->setObjectName("tra_enable_1");
|
|
tra_enable_1->setEnabled(true);
|
|
tra_enable_1->setStyleSheet(QString::fromUtf8("font: 12pt \"Microsoft YaHei UI\";"));
|
|
|
|
horizontalLayout_4->addWidget(tra_enable_1);
|
|
|
|
mtx_1_overlay = new QCheckBox(frame);
|
|
mtx_1_overlay->setObjectName("mtx_1_overlay");
|
|
mtx_1_overlay->setEnabled(false);
|
|
mtx_1_overlay->setStyleSheet(QString::fromUtf8("font: 12pt \"Microsoft YaHei UI\";"));
|
|
|
|
horizontalLayout_4->addWidget(mtx_1_overlay);
|
|
|
|
dl_1_overlay = new QCheckBox(frame);
|
|
dl_1_overlay->setObjectName("dl_1_overlay");
|
|
dl_1_overlay->setEnabled(false);
|
|
dl_1_overlay->setStyleSheet(QString::fromUtf8("font: 12pt \"Microsoft YaHei UI\";"));
|
|
|
|
horizontalLayout_4->addWidget(dl_1_overlay);
|
|
|
|
img_1_mirror = new QCheckBox(frame);
|
|
img_1_mirror->setObjectName("img_1_mirror");
|
|
img_1_mirror->setStyleSheet(QString::fromUtf8("font: 12pt \"Microsoft YaHei UI\";"));
|
|
|
|
horizontalLayout_4->addWidget(img_1_mirror);
|
|
|
|
|
|
verticalLayout->addWidget(frame);
|
|
|
|
camera_1_img = new QLabel(frame_6);
|
|
camera_1_img->setObjectName("camera_1_img");
|
|
QSizePolicy sizePolicy1(QSizePolicy::Policy::Ignored, QSizePolicy::Policy::Ignored);
|
|
sizePolicy1.setHorizontalStretch(0);
|
|
sizePolicy1.setVerticalStretch(0);
|
|
sizePolicy1.setHeightForWidth(camera_1_img->sizePolicy().hasHeightForWidth());
|
|
camera_1_img->setSizePolicy(sizePolicy1);
|
|
camera_1_img->setStyleSheet(QString::fromUtf8("background-color: rgb(129, 129, 129);\n"
|
|
"border: 4px solid black;\n"
|
|
"\n"
|
|
" border-radius: 12px; /* \345\234\206\350\247\222\345\215\212\345\276\204 */"));
|
|
camera_1_img->setLineWidth(1);
|
|
|
|
verticalLayout->addWidget(camera_1_img);
|
|
|
|
frame_2 = new QFrame(frame_6);
|
|
frame_2->setObjectName("frame_2");
|
|
frame_2->setFrameShape(QFrame::Shape::NoFrame);
|
|
horizontalLayout_5 = new QHBoxLayout(frame_2);
|
|
horizontalLayout_5->setObjectName("horizontalLayout_5");
|
|
label_4 = new QLabel(frame_2);
|
|
label_4->setObjectName("label_4");
|
|
label_4->setStyleSheet(QString::fromUtf8("font: 18pt \"Microsoft YaHei UI\";"));
|
|
|
|
horizontalLayout_5->addWidget(label_4);
|
|
|
|
horizontalSpacer_2 = new QSpacerItem(0, 0, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
|
|
|
|
horizontalLayout_5->addItem(horizontalSpacer_2);
|
|
|
|
dl_enable_0 = new QCheckBox(frame_2);
|
|
dl_enable_0->setObjectName("dl_enable_0");
|
|
dl_enable_0->setStyleSheet(QString::fromUtf8("font: 12pt \"Microsoft YaHei UI\";"));
|
|
|
|
horizontalLayout_5->addWidget(dl_enable_0);
|
|
|
|
tra_enable_0 = new QCheckBox(frame_2);
|
|
tra_enable_0->setObjectName("tra_enable_0");
|
|
tra_enable_0->setEnabled(true);
|
|
tra_enable_0->setStyleSheet(QString::fromUtf8("font: 12pt \"Microsoft YaHei UI\";"));
|
|
|
|
horizontalLayout_5->addWidget(tra_enable_0);
|
|
|
|
mtx_0_overlay = new QCheckBox(frame_2);
|
|
mtx_0_overlay->setObjectName("mtx_0_overlay");
|
|
mtx_0_overlay->setEnabled(false);
|
|
mtx_0_overlay->setStyleSheet(QString::fromUtf8("font: 12pt \"Microsoft YaHei UI\";"));
|
|
|
|
horizontalLayout_5->addWidget(mtx_0_overlay);
|
|
|
|
dl_0_overlay = new QCheckBox(frame_2);
|
|
dl_0_overlay->setObjectName("dl_0_overlay");
|
|
dl_0_overlay->setEnabled(false);
|
|
dl_0_overlay->setStyleSheet(QString::fromUtf8("font: 12pt \"Microsoft YaHei UI\";"));
|
|
|
|
horizontalLayout_5->addWidget(dl_0_overlay);
|
|
|
|
img_0_mirror = new QCheckBox(frame_2);
|
|
img_0_mirror->setObjectName("img_0_mirror");
|
|
img_0_mirror->setStyleSheet(QString::fromUtf8("font: 12pt \"Microsoft YaHei UI\";"));
|
|
img_0_mirror->setChecked(true);
|
|
|
|
horizontalLayout_5->addWidget(img_0_mirror);
|
|
|
|
|
|
verticalLayout->addWidget(frame_2);
|
|
|
|
camera_0_img = new QLabel(frame_6);
|
|
camera_0_img->setObjectName("camera_0_img");
|
|
sizePolicy1.setHeightForWidth(camera_0_img->sizePolicy().hasHeightForWidth());
|
|
camera_0_img->setSizePolicy(sizePolicy1);
|
|
camera_0_img->setStyleSheet(QString::fromUtf8("background-color: rgb(129, 129, 129);\n"
|
|
"border: 4px solid black;\n"
|
|
" border-radius: 12px; /* \345\234\206\350\247\222\345\215\212\345\276\204 */"));
|
|
camera_0_img->setLineWidth(1);
|
|
|
|
verticalLayout->addWidget(camera_0_img);
|
|
|
|
verticalLayout->setStretch(1, 5);
|
|
verticalLayout->setStretch(3, 5);
|
|
|
|
horizontalLayout_3->addWidget(frame_6);
|
|
|
|
horizontalLayout_3->setStretch(0, 2);
|
|
horizontalLayout_3->setStretch(1, 10);
|
|
tabWidget->addTab(tab_2, QString());
|
|
tab_3 = new QWidget();
|
|
tab_3->setObjectName("tab_3");
|
|
label_title_3 = new QLabel(tab_3);
|
|
label_title_3->setObjectName("label_title_3");
|
|
label_title_3->setGeometry(QRect(0, 10, 421, 81));
|
|
QFont font1;
|
|
font1.setFamilies({QString::fromUtf8("Microsoft YaHei UI")});
|
|
font1.setPointSize(48);
|
|
font1.setBold(true);
|
|
font1.setItalic(false);
|
|
label_title_3->setFont(font1);
|
|
label_title_3->setStyleSheet(QString::fromUtf8("font: 700 48pt \"Microsoft YaHei UI\";"));
|
|
groupBox_4 = new QGroupBox(tab_3);
|
|
groupBox_4->setObjectName("groupBox_4");
|
|
groupBox_4->setGeometry(QRect(30, 130, 771, 651));
|
|
groupBox_4->setStyleSheet(QString::fromUtf8("font: 700 40pt \"Microsoft YaHei UI\";\n"
|
|
"border-color: rgb(0, 0, 0);"));
|
|
btn_set_lower = new QPushButton(groupBox_4);
|
|
btn_set_lower->setObjectName("btn_set_lower");
|
|
btn_set_lower->setGeometry(QRect(30, 470, 231, 141));
|
|
frame_3 = new QFrame(groupBox_4);
|
|
frame_3->setObjectName("frame_3");
|
|
frame_3->setGeometry(QRect(20, 80, 698, 373));
|
|
frame_3->setFrameShape(QFrame::Shape::StyledPanel);
|
|
frame_3->setFrameShadow(QFrame::Shadow::Raised);
|
|
horizontalLayout_6 = new QHBoxLayout(frame_3);
|
|
horizontalLayout_6->setObjectName("horizontalLayout_6");
|
|
verticalLayout_5 = new QVBoxLayout();
|
|
verticalLayout_5->setObjectName("verticalLayout_5");
|
|
label_delaytime = new QLabel(frame_3);
|
|
label_delaytime->setObjectName("label_delaytime");
|
|
label_delaytime->setStyleSheet(QString::fromUtf8("font: 700 48pt \"Microsoft YaHei UI\";"));
|
|
|
|
verticalLayout_5->addWidget(label_delaytime);
|
|
|
|
label_encoder = new QLabel(frame_3);
|
|
label_encoder->setObjectName("label_encoder");
|
|
label_encoder->setStyleSheet(QString::fromUtf8("font: 700 48pt \"Microsoft YaHei UI\";"));
|
|
|
|
verticalLayout_5->addWidget(label_encoder);
|
|
|
|
label_encoder_2 = new QLabel(frame_3);
|
|
label_encoder_2->setObjectName("label_encoder_2");
|
|
label_encoder_2->setStyleSheet(QString::fromUtf8("font: 700 48pt \"Microsoft YaHei UI\";"));
|
|
|
|
verticalLayout_5->addWidget(label_encoder_2);
|
|
|
|
|
|
horizontalLayout_6->addLayout(verticalLayout_5);
|
|
|
|
verticalLayout_4 = new QVBoxLayout();
|
|
verticalLayout_4->setObjectName("verticalLayout_4");
|
|
spinbox_delaytime = new QSpinBox(frame_3);
|
|
spinbox_delaytime->setObjectName("spinbox_delaytime");
|
|
spinbox_delaytime->setMinimum(1000);
|
|
spinbox_delaytime->setMaximum(1400);
|
|
spinbox_delaytime->setSingleStep(10);
|
|
spinbox_delaytime->setValue(1200);
|
|
|
|
verticalLayout_4->addWidget(spinbox_delaytime);
|
|
|
|
spinbox_encoder = new QSpinBox(frame_3);
|
|
spinbox_encoder->setObjectName("spinbox_encoder");
|
|
spinbox_encoder->setMinimum(8000);
|
|
spinbox_encoder->setMaximum(13000);
|
|
spinbox_encoder->setSingleStep(100);
|
|
spinbox_encoder->setValue(12000);
|
|
|
|
verticalLayout_4->addWidget(spinbox_encoder);
|
|
|
|
spinbox_valve = new QSpinBox(frame_3);
|
|
spinbox_valve->setObjectName("spinbox_valve");
|
|
spinbox_valve->setMinimum(150);
|
|
spinbox_valve->setMaximum(250);
|
|
spinbox_valve->setValue(200);
|
|
|
|
verticalLayout_4->addWidget(spinbox_valve);
|
|
|
|
|
|
horizontalLayout_6->addLayout(verticalLayout_4);
|
|
|
|
btn_tab3_backtab2 = new QPushButton(groupBox_4);
|
|
btn_tab3_backtab2->setObjectName("btn_tab3_backtab2");
|
|
btn_tab3_backtab2->setGeometry(QRect(480, 470, 231, 141));
|
|
label_title_4 = new QLabel(tab_3);
|
|
label_title_4->setObjectName("label_title_4");
|
|
label_title_4->setGeometry(QRect(920, 150, 91, 21));
|
|
groupBox_2 = new QGroupBox(tab_3);
|
|
groupBox_2->setObjectName("groupBox_2");
|
|
groupBox_2->setGeometry(QRect(1050, 240, 331, 91));
|
|
label_explosure_2 = new QLabel(groupBox_2);
|
|
label_explosure_2->setObjectName("label_explosure_2");
|
|
label_explosure_2->setGeometry(QRect(30, 40, 31, 16));
|
|
spinBox_channel = new QSpinBox(groupBox_2);
|
|
spinBox_channel->setObjectName("spinBox_channel");
|
|
spinBox_channel->setGeometry(QRect(60, 40, 42, 22));
|
|
btn_send_single = new QPushButton(groupBox_2);
|
|
btn_send_single->setObjectName("btn_send_single");
|
|
btn_send_single->setGeometry(QRect(150, 40, 75, 23));
|
|
btn_stop_single = new QPushButton(groupBox_2);
|
|
btn_stop_single->setObjectName("btn_stop_single");
|
|
btn_stop_single->setGeometry(QRect(240, 40, 75, 23));
|
|
groupBox_3 = new QGroupBox(tab_3);
|
|
groupBox_3->setObjectName("groupBox_3");
|
|
groupBox_3->setGeometry(QRect(1050, 420, 331, 91));
|
|
btn_test_single = new QPushButton(groupBox_3);
|
|
btn_test_single->setObjectName("btn_test_single");
|
|
btn_test_single->setGeometry(QRect(60, 40, 75, 23));
|
|
btn_stop_test = new QPushButton(groupBox_3);
|
|
btn_stop_test->setObjectName("btn_stop_test");
|
|
btn_stop_test->setGeometry(QRect(210, 40, 75, 23));
|
|
tabWidget->addTab(tab_3, QString());
|
|
tab_4 = new QWidget();
|
|
tab_4->setObjectName("tab_4");
|
|
tabWidget->addTab(tab_4, QString());
|
|
|
|
horizontalLayout->addWidget(tabWidget);
|
|
|
|
|
|
retranslateUi(Widget);
|
|
|
|
tabWidget->setCurrentIndex(1);
|
|
|
|
|
|
QMetaObject::connectSlotsByName(Widget);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QWidget *Widget)
|
|
{
|
|
Widget->setWindowTitle(QCoreApplication::translate("Widget", "Widget", nullptr));
|
|
label->setText(QCoreApplication::translate("Widget", "\345\245\216\345\261\257\351\223\266\345\212\233\346\243\211\346\262\271\346\234\272\346\242\260\346\234\211\351\231\220\345\205\254\345\217\270", nullptr));
|
|
label_3->setText(QCoreApplication::translate("Widget", "\347\261\275\346\243\211\345\274\202\347\272\244\346\235\202\350\264\250\345\210\206\351\200\211\346\234\272", nullptr));
|
|
tabWidget->setTabText(tabWidget->indexOf(tab), QCoreApplication::translate("Widget", "Tab 1", nullptr));
|
|
lab_info->setText(QCoreApplication::translate("Widget", "\347\212\266\346\200\201", nullptr));
|
|
btn_start->setText(QCoreApplication::translate("Widget", "\345\274\200\345\247\213\345\210\206\351\200\211", nullptr));
|
|
btn_stop->setText(QCoreApplication::translate("Widget", "\345\201\234\346\255\242\345\210\206\351\200\211", nullptr));
|
|
btn_take_photos->setText(QCoreApplication::translate("Widget", "\346\212\223\345\217\226\345\233\276\347\211\207", nullptr));
|
|
btn_set_valve->setText(QCoreApplication::translate("Widget", "\350\256\276\347\275\256\345\217\202\346\225\260", nullptr));
|
|
btn_quit->setText(QCoreApplication::translate("Widget", "\351\200\200\345\207\272\347\263\273\347\273\237", nullptr));
|
|
label_2->setText(QCoreApplication::translate("Widget", "\347\233\270\346\234\2721\357\274\210\351\253\230\344\276\247/\346\260\224\347\275\220\344\276\247\357\274\211", nullptr));
|
|
dl_enable_1->setText(QCoreApplication::translate("Widget", "\345\261\217\350\224\275\346\267\261\345\272\246\345\255\246\344\271\240", nullptr));
|
|
tra_enable_1->setText(QCoreApplication::translate("Widget", "\345\261\217\350\224\275\350\211\263\344\270\275\346\243\200\346\265\213", nullptr));
|
|
mtx_1_overlay->setText(QCoreApplication::translate("Widget", "\350\211\262\346\243\200\347\273\223\346\236\234", nullptr));
|
|
dl_1_overlay->setText(QCoreApplication::translate("Widget", "\346\231\272\346\243\200\347\273\223\346\236\234", nullptr));
|
|
img_1_mirror->setText(QCoreApplication::translate("Widget", "\345\233\276\347\211\207\351\225\234\345\203\217", nullptr));
|
|
camera_1_img->setText(QString());
|
|
label_4->setText(QCoreApplication::translate("Widget", "\347\233\270\346\234\2720\357\274\210\344\275\216\344\276\247/\345\207\272\351\243\216\345\217\243\344\276\247\357\274\211", nullptr));
|
|
dl_enable_0->setText(QCoreApplication::translate("Widget", "\345\261\217\350\224\275\346\267\261\345\272\246\345\255\246\344\271\240", nullptr));
|
|
tra_enable_0->setText(QCoreApplication::translate("Widget", "\345\261\217\350\224\275\350\211\263\344\270\275\346\243\200\346\265\213", nullptr));
|
|
mtx_0_overlay->setText(QCoreApplication::translate("Widget", "\350\211\262\346\243\200\347\273\223\346\236\234", nullptr));
|
|
dl_0_overlay->setText(QCoreApplication::translate("Widget", "\346\231\272\346\243\200\347\273\223\346\236\234", nullptr));
|
|
img_0_mirror->setText(QCoreApplication::translate("Widget", "\345\233\276\347\211\207\351\225\234\345\203\217", nullptr));
|
|
camera_0_img->setText(QString());
|
|
tabWidget->setTabText(tabWidget->indexOf(tab_2), QCoreApplication::translate("Widget", "Tab 2", nullptr));
|
|
label_title_3->setText(QCoreApplication::translate("Widget", "\345\217\202\346\225\260\350\256\276\347\275\256\347\225\214\351\235\242", nullptr));
|
|
groupBox_4->setTitle(QCoreApplication::translate("Widget", "\344\270\213\344\275\215\346\234\272\345\217\202\346\225\260", nullptr));
|
|
btn_set_lower->setText(QCoreApplication::translate("Widget", "\350\256\276\345\256\232\345\217\202\346\225\260", nullptr));
|
|
label_delaytime->setText(QCoreApplication::translate("Widget", "\345\273\266\350\277\237\346\227\266\351\227\264", nullptr));
|
|
label_encoder->setText(QCoreApplication::translate("Widget", "\347\233\270\346\234\272\350\241\214\351\242\221", nullptr));
|
|
label_encoder_2->setText(QCoreApplication::translate("Widget", "\345\226\267\351\230\200\351\242\221\347\216\207", nullptr));
|
|
btn_tab3_backtab2->setText(QCoreApplication::translate("Widget", "\350\277\224\345\233\236", nullptr));
|
|
label_title_4->setText(QCoreApplication::translate("Widget", "\345\226\267\351\230\200\346\265\213\350\257\225\347\225\214\351\235\242", nullptr));
|
|
groupBox_2->setTitle(QCoreApplication::translate("Widget", "\346\211\213\345\212\250\345\226\267\351\230\200\346\265\213\350\257\225", nullptr));
|
|
label_explosure_2->setText(QCoreApplication::translate("Widget", "\351\200\232\351\201\223", nullptr));
|
|
btn_send_single->setText(QCoreApplication::translate("Widget", "\346\265\213\350\257\225", nullptr));
|
|
btn_stop_single->setText(QCoreApplication::translate("Widget", "\345\201\234\346\255\242\346\265\213\350\257\225", nullptr));
|
|
groupBox_3->setTitle(QCoreApplication::translate("Widget", "\350\207\252\345\212\250\345\226\267\351\230\200\346\265\213\350\257\225", nullptr));
|
|
btn_test_single->setText(QCoreApplication::translate("Widget", "\345\274\200\345\247\213\346\265\213\350\257\225", nullptr));
|
|
btn_stop_test->setText(QCoreApplication::translate("Widget", "\345\201\234\346\255\242\346\265\213\350\257\225", nullptr));
|
|
tabWidget->setTabText(tabWidget->indexOf(tab_3), QCoreApplication::translate("Widget", "Tab 3", nullptr));
|
|
tabWidget->setTabText(tabWidget->indexOf(tab_4), QCoreApplication::translate("Widget", "Tab 4", nullptr));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class Widget: public Ui_Widget {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_WIDGET_H
|