338 lines
17 KiB
C++
338 lines
17 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'QtParameterSettings.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 5.14.2
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef UI_QTPARAMETERSETTINGS_H
|
|
#define UI_QTPARAMETERSETTINGS_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QFrame>
|
|
#include <QtWidgets/QGridLayout>
|
|
#include <QtWidgets/QGroupBox>
|
|
#include <QtWidgets/QHBoxLayout>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtWidgets/QMainWindow>
|
|
#include <QtWidgets/QPushButton>
|
|
#include <QtWidgets/QSpacerItem>
|
|
#include <QtWidgets/QTabWidget>
|
|
#include <QtWidgets/QTextEdit>
|
|
#include <QtWidgets/QVBoxLayout>
|
|
#include <QtWidgets/QWidget>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_QtParameterSettingsClass
|
|
{
|
|
public:
|
|
QWidget *centralWidget;
|
|
QVBoxLayout *verticalLayout_3;
|
|
QFrame *title;
|
|
QHBoxLayout *horizontalLayout_3;
|
|
QLabel *label_icon;
|
|
QHBoxLayout *horizontalLayout;
|
|
QSpacerItem *horizontalSpacer;
|
|
QLabel *label;
|
|
QSpacerItem *horizontalSpacer_2;
|
|
QPushButton *pushButton_min;
|
|
QPushButton *pushButton_max;
|
|
QPushButton *pushButton_close;
|
|
QFrame *frame;
|
|
QVBoxLayout *verticalLayout_2;
|
|
QFrame *frame1;
|
|
QHBoxLayout *horizontalLayout_2;
|
|
QGroupBox *groupBox_cameraCfg;
|
|
QGridLayout *gridLayout;
|
|
QTabWidget *tabWidget_camera;
|
|
QWidget *tab;
|
|
QGroupBox *groupBox_algorithmCfg;
|
|
QGridLayout *gridLayout_2;
|
|
QTabWidget *tabWidget_algorithm;
|
|
QWidget *tab_2;
|
|
QHBoxLayout *horizontalLayout_4;
|
|
QTextEdit *textEdit;
|
|
QSpacerItem *horizontalSpacer_3;
|
|
QVBoxLayout *verticalLayout;
|
|
QPushButton *pushButton_saveCfg;
|
|
QPushButton *pushButton_giveup;
|
|
QSpacerItem *horizontalSpacer_4;
|
|
|
|
void setupUi(QMainWindow *QtParameterSettingsClass)
|
|
{
|
|
if (QtParameterSettingsClass->objectName().isEmpty())
|
|
QtParameterSettingsClass->setObjectName(QString::fromUtf8("QtParameterSettingsClass"));
|
|
QtParameterSettingsClass->resize(967, 791);
|
|
centralWidget = new QWidget(QtParameterSettingsClass);
|
|
centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
|
|
centralWidget->setStyleSheet(QString::fromUtf8("background-color: rgb(0, 0, 0);\n"
|
|
"color: rgb(229, 229, 229);"));
|
|
verticalLayout_3 = new QVBoxLayout(centralWidget);
|
|
verticalLayout_3->setSpacing(5);
|
|
verticalLayout_3->setContentsMargins(11, 11, 11, 11);
|
|
verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
|
|
verticalLayout_3->setContentsMargins(5, 0, 5, 5);
|
|
title = new QFrame(centralWidget);
|
|
title->setObjectName(QString::fromUtf8("title"));
|
|
horizontalLayout_3 = new QHBoxLayout(title);
|
|
horizontalLayout_3->setSpacing(6);
|
|
horizontalLayout_3->setContentsMargins(11, 11, 11, 11);
|
|
horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
|
|
horizontalLayout_3->setContentsMargins(0, 0, 0, 0);
|
|
label_icon = new QLabel(title);
|
|
label_icon->setObjectName(QString::fromUtf8("label_icon"));
|
|
QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
|
sizePolicy.setHorizontalStretch(0);
|
|
sizePolicy.setVerticalStretch(0);
|
|
sizePolicy.setHeightForWidth(label_icon->sizePolicy().hasHeightForWidth());
|
|
label_icon->setSizePolicy(sizePolicy);
|
|
label_icon->setMinimumSize(QSize(60, 30));
|
|
label_icon->setStyleSheet(QString::fromUtf8("image: url(:/\345\233\276\346\240\207/C:/Users/DongSheng_mw/Desktop/\345\233\276\346\240\207/1.\344\270\273\347\225\214\351\235\242\345\233\276\346\240\207_32px/9.2.\346\211\223\345\274\200\344\273\273\345\212\241.png);"));
|
|
|
|
horizontalLayout_3->addWidget(label_icon);
|
|
|
|
horizontalLayout = new QHBoxLayout();
|
|
horizontalLayout->setSpacing(6);
|
|
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
|
horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
horizontalLayout->addItem(horizontalSpacer);
|
|
|
|
label = new QLabel(title);
|
|
label->setObjectName(QString::fromUtf8("label"));
|
|
QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed);
|
|
sizePolicy1.setHorizontalStretch(0);
|
|
sizePolicy1.setVerticalStretch(0);
|
|
sizePolicy1.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
|
|
label->setSizePolicy(sizePolicy1);
|
|
QFont font;
|
|
font.setPointSize(16);
|
|
label->setFont(font);
|
|
|
|
horizontalLayout->addWidget(label);
|
|
|
|
horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
horizontalLayout->addItem(horizontalSpacer_2);
|
|
|
|
|
|
horizontalLayout_3->addLayout(horizontalLayout);
|
|
|
|
pushButton_min = new QPushButton(title);
|
|
pushButton_min->setObjectName(QString::fromUtf8("pushButton_min"));
|
|
QSizePolicy sizePolicy2(QSizePolicy::Minimum, QSizePolicy::Preferred);
|
|
sizePolicy2.setHorizontalStretch(0);
|
|
sizePolicy2.setVerticalStretch(0);
|
|
sizePolicy2.setHeightForWidth(pushButton_min->sizePolicy().hasHeightForWidth());
|
|
pushButton_min->setSizePolicy(sizePolicy2);
|
|
pushButton_min->setMinimumSize(QSize(30, 30));
|
|
pushButton_min->setMaximumSize(QSize(30, 30));
|
|
|
|
horizontalLayout_3->addWidget(pushButton_min);
|
|
|
|
pushButton_max = new QPushButton(title);
|
|
pushButton_max->setObjectName(QString::fromUtf8("pushButton_max"));
|
|
pushButton_max->setMinimumSize(QSize(30, 30));
|
|
pushButton_max->setMaximumSize(QSize(30, 30));
|
|
|
|
horizontalLayout_3->addWidget(pushButton_max);
|
|
|
|
pushButton_close = new QPushButton(title);
|
|
pushButton_close->setObjectName(QString::fromUtf8("pushButton_close"));
|
|
pushButton_close->setMinimumSize(QSize(30, 30));
|
|
pushButton_close->setMaximumSize(QSize(30, 30));
|
|
|
|
horizontalLayout_3->addWidget(pushButton_close);
|
|
|
|
|
|
verticalLayout_3->addWidget(title);
|
|
|
|
frame = new QFrame(centralWidget);
|
|
frame->setObjectName(QString::fromUtf8("frame"));
|
|
frame->setStyleSheet(QString::fromUtf8("border-radius:10px;\n"
|
|
"background-color: rgb(50, 55, 60);"));
|
|
verticalLayout_2 = new QVBoxLayout(frame);
|
|
verticalLayout_2->setSpacing(5);
|
|
verticalLayout_2->setContentsMargins(11, 11, 11, 11);
|
|
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
|
|
verticalLayout_2->setContentsMargins(5, 5, 5, 5);
|
|
frame1 = new QFrame(frame);
|
|
frame1->setObjectName(QString::fromUtf8("frame1"));
|
|
frame1->setStyleSheet(QString::fromUtf8("\n"
|
|
"border-radius:10px;\n"
|
|
"background-color: rgb(32, 36, 40);"));
|
|
horizontalLayout_2 = new QHBoxLayout(frame1);
|
|
horizontalLayout_2->setSpacing(0);
|
|
horizontalLayout_2->setContentsMargins(11, 11, 11, 11);
|
|
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
|
|
horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
|
|
groupBox_cameraCfg = new QGroupBox(frame1);
|
|
groupBox_cameraCfg->setObjectName(QString::fromUtf8("groupBox_cameraCfg"));
|
|
QFont font1;
|
|
font1.setPointSize(12);
|
|
groupBox_cameraCfg->setFont(font1);
|
|
groupBox_cameraCfg->setStyleSheet(QString::fromUtf8("border-radius:10px;"));
|
|
groupBox_cameraCfg->setAlignment(Qt::AlignCenter);
|
|
gridLayout = new QGridLayout(groupBox_cameraCfg);
|
|
gridLayout->setSpacing(6);
|
|
gridLayout->setContentsMargins(11, 11, 11, 11);
|
|
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
|
gridLayout->setHorizontalSpacing(20);
|
|
gridLayout->setContentsMargins(-1, 20, -1, -1);
|
|
tabWidget_camera = new QTabWidget(groupBox_cameraCfg);
|
|
tabWidget_camera->setObjectName(QString::fromUtf8("tabWidget_camera"));
|
|
tabWidget_camera->setStyleSheet(QString::fromUtf8("background-color: rgb(50, 55, 60);\n"
|
|
"border-radius:10px;"));
|
|
tabWidget_camera->setDocumentMode(true);
|
|
tabWidget_camera->setTabsClosable(false);
|
|
tabWidget_camera->setMovable(false);
|
|
tab = new QWidget();
|
|
tab->setObjectName(QString::fromUtf8("tab"));
|
|
tabWidget_camera->addTab(tab, QString());
|
|
|
|
gridLayout->addWidget(tabWidget_camera, 2, 1, 1, 1);
|
|
|
|
|
|
horizontalLayout_2->addWidget(groupBox_cameraCfg);
|
|
|
|
groupBox_algorithmCfg = new QGroupBox(frame1);
|
|
groupBox_algorithmCfg->setObjectName(QString::fromUtf8("groupBox_algorithmCfg"));
|
|
groupBox_algorithmCfg->setFont(font1);
|
|
groupBox_algorithmCfg->setStyleSheet(QString::fromUtf8("\n"
|
|
"border-radius:10px;"));
|
|
groupBox_algorithmCfg->setAlignment(Qt::AlignCenter);
|
|
gridLayout_2 = new QGridLayout(groupBox_algorithmCfg);
|
|
gridLayout_2->setSpacing(6);
|
|
gridLayout_2->setContentsMargins(11, 11, 11, 11);
|
|
gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
|
|
gridLayout_2->setHorizontalSpacing(20);
|
|
gridLayout_2->setContentsMargins(-1, 20, -1, -1);
|
|
tabWidget_algorithm = new QTabWidget(groupBox_algorithmCfg);
|
|
tabWidget_algorithm->setObjectName(QString::fromUtf8("tabWidget_algorithm"));
|
|
tabWidget_algorithm->setStyleSheet(QString::fromUtf8("background-color: rgb(50, 55, 60);\n"
|
|
"border-radius:10px;"));
|
|
tabWidget_algorithm->setDocumentMode(true);
|
|
tab_2 = new QWidget();
|
|
tab_2->setObjectName(QString::fromUtf8("tab_2"));
|
|
tabWidget_algorithm->addTab(tab_2, QString());
|
|
|
|
gridLayout_2->addWidget(tabWidget_algorithm, 0, 0, 1, 1);
|
|
|
|
|
|
horizontalLayout_2->addWidget(groupBox_algorithmCfg);
|
|
|
|
|
|
verticalLayout_2->addWidget(frame1);
|
|
|
|
horizontalLayout_4 = new QHBoxLayout();
|
|
horizontalLayout_4->setSpacing(6);
|
|
horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
|
|
textEdit = new QTextEdit(frame);
|
|
textEdit->setObjectName(QString::fromUtf8("textEdit"));
|
|
QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
|
sizePolicy3.setHorizontalStretch(0);
|
|
sizePolicy3.setVerticalStretch(0);
|
|
sizePolicy3.setHeightForWidth(textEdit->sizePolicy().hasHeightForWidth());
|
|
textEdit->setSizePolicy(sizePolicy3);
|
|
textEdit->setFont(font1);
|
|
textEdit->setStyleSheet(QString::fromUtf8("background-color: rgb(32, 36, 40);\n"
|
|
"border-radius:10px;"));
|
|
|
|
horizontalLayout_4->addWidget(textEdit);
|
|
|
|
horizontalSpacer_3 = new QSpacerItem(20, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
|
|
|
|
horizontalLayout_4->addItem(horizontalSpacer_3);
|
|
|
|
verticalLayout = new QVBoxLayout();
|
|
verticalLayout->setSpacing(6);
|
|
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
|
pushButton_saveCfg = new QPushButton(frame);
|
|
pushButton_saveCfg->setObjectName(QString::fromUtf8("pushButton_saveCfg"));
|
|
pushButton_saveCfg->setMinimumSize(QSize(100, 30));
|
|
QFont font2;
|
|
font2.setPointSize(16);
|
|
font2.setBold(true);
|
|
font2.setWeight(75);
|
|
pushButton_saveCfg->setFont(font2);
|
|
pushButton_saveCfg->setStyleSheet(QString::fromUtf8("\n"
|
|
"border-radius:10px;\n"
|
|
"background-color: rgb(68, 74, 80);"));
|
|
|
|
verticalLayout->addWidget(pushButton_saveCfg);
|
|
|
|
pushButton_giveup = new QPushButton(frame);
|
|
pushButton_giveup->setObjectName(QString::fromUtf8("pushButton_giveup"));
|
|
pushButton_giveup->setMinimumSize(QSize(100, 30));
|
|
pushButton_giveup->setFont(font2);
|
|
pushButton_giveup->setStyleSheet(QString::fromUtf8("\n"
|
|
"background-color: rgb(68, 74, 80);\n"
|
|
"border-radius:10px;"));
|
|
|
|
verticalLayout->addWidget(pushButton_giveup);
|
|
|
|
|
|
horizontalLayout_4->addLayout(verticalLayout);
|
|
|
|
horizontalSpacer_4 = new QSpacerItem(20, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
|
|
|
|
horizontalLayout_4->addItem(horizontalSpacer_4);
|
|
|
|
|
|
verticalLayout_2->addLayout(horizontalLayout_4);
|
|
|
|
|
|
verticalLayout_3->addWidget(frame);
|
|
|
|
QtParameterSettingsClass->setCentralWidget(centralWidget);
|
|
|
|
retranslateUi(QtParameterSettingsClass);
|
|
|
|
tabWidget_camera->setCurrentIndex(0);
|
|
tabWidget_algorithm->setCurrentIndex(0);
|
|
|
|
|
|
QMetaObject::connectSlotsByName(QtParameterSettingsClass);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QMainWindow *QtParameterSettingsClass)
|
|
{
|
|
QtParameterSettingsClass->setWindowTitle(QCoreApplication::translate("QtParameterSettingsClass", "QtParameterSettings", nullptr));
|
|
label_icon->setText(QString());
|
|
label->setText(QCoreApplication::translate("QtParameterSettingsClass", "\345\217\202\346\225\260\350\256\276\347\275\256", nullptr));
|
|
pushButton_min->setText(QCoreApplication::translate("QtParameterSettingsClass", "\346\234\200\345\260\217\345\214\226", nullptr));
|
|
pushButton_max->setText(QCoreApplication::translate("QtParameterSettingsClass", "\346\234\200\345\244\247", nullptr));
|
|
pushButton_close->setText(QCoreApplication::translate("QtParameterSettingsClass", "\345\205\263\351\227\255", nullptr));
|
|
groupBox_cameraCfg->setTitle(QCoreApplication::translate("QtParameterSettingsClass", "\347\233\270\346\234\272\350\256\276\347\275\256\357\274\232", nullptr));
|
|
tabWidget_camera->setTabText(tabWidget_camera->indexOf(tab), QCoreApplication::translate("QtParameterSettingsClass", "\347\254\2541\351\241\265", nullptr));
|
|
groupBox_algorithmCfg->setTitle(QCoreApplication::translate("QtParameterSettingsClass", "\347\256\227\346\263\225\350\256\276\347\275\256\357\274\232", nullptr));
|
|
tabWidget_algorithm->setTabText(tabWidget_algorithm->indexOf(tab_2), QCoreApplication::translate("QtParameterSettingsClass", "\347\254\2541\351\241\265", nullptr));
|
|
textEdit->setHtml(QCoreApplication::translate("QtParameterSettingsClass", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
|
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
|
"p, li { white-space: pre-wrap; }\n"
|
|
"</style></head><body style=\" font-family:'SimSun'; font-size:12pt; font-weight:400; font-style:normal;\">\n"
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:16pt;\">\346\263\250\357\274\232</span></p>\n"
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:16pt;\">1\343\200\201\342\200\234\344\277\235\345\255\230\345\217\202\346\225\260\342\200\235\346\214\211\351\222\256\347\202\271\345\207\273\345\220\216\357\274\214\344\277\235\345\255\230\345\275\223\345\211\215\345\217\202\346\225\260\357\274\233</span></p>\n"
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-"
|
|
"block-indent:0; text-indent:0px;\"><span style=\" font-size:16pt;\">2\343\200\201\344\277\256\346\224\271\345\217\202\346\225\260\345\220\216\357\274\214\344\274\232\344\277\256\346\224\271\351\241\271\347\233\256\347\232\204\351\205\215\347\275\256\346\226\207\344\273\266\357\274\214\345\244\207\344\273\275\346\226\207\344\273\266\345\234\250config/backup\357\274\233</span></p>\n"
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:16pt;\">3\343\200\201\344\277\256\346\224\271\345\217\202\346\225\260\345\211\215\357\274\214\345\273\272\350\256\256\345\205\210\345\201\234\346\255\242\350\267\221\346\226\231\357\274\233</span></p>\n"
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:16pt;\">4\343\200\201\344\277\256\346\224\271\345\217\202\346\225\260\345\220\216\357\274\214\345\273\272\350\256\256\342\200\234\351\207\215\346"
|
|
"\226\260\350\277\220\350\241\214\342\200\235\357\274\233</span></p>\n"
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:16pt;\">5\343\200\201\344\270\215\350\246\201\345\234\250\345\205\266\345\256\203\345\234\260\346\226\271\346\223\215\344\275\234\351\205\215\347\275\256\346\226\207\344\273\266\343\200\202</span></p></body></html>", nullptr));
|
|
pushButton_saveCfg->setText(QCoreApplication::translate("QtParameterSettingsClass", "\344\277\235\345\255\230\345\217\202\346\225\260", nullptr));
|
|
pushButton_giveup->setText(QCoreApplication::translate("QtParameterSettingsClass", "\346\224\276\345\274\203\344\277\256\346\224\271", nullptr));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class QtParameterSettingsClass: public Ui_QtParameterSettingsClass {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_QTPARAMETERSETTINGS_H
|