Pārlūkot izejas kodu

上传文件至 'src'

wang 2 nedēļas atpakaļ
vecāks
revīzija
fadd177c43

+ 130 - 0
src/ui_algorithmprocessdialog.h

@@ -0,0 +1,130 @@
+/********************************************************************************
+** Form generated from reading UI file 'algorithmprocessdialog.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_ALGORITHMPROCESSDIALOG_H
+#define UI_ALGORITHMPROCESSDIALOG_H
+
+#include <QtCore/QVariant>
+#include <QtWidgets/QApplication>
+#include <QtWidgets/QDialog>
+#include <QtWidgets/QHBoxLayout>
+#include <QtWidgets/QListWidget>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QSpacerItem>
+#include <QtWidgets/QVBoxLayout>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_AlgorithmProcessDialog
+{
+public:
+    QVBoxLayout *verticalLayout;
+    QListWidget *algorithmListWidget;
+    QHBoxLayout *horizontalLayout;
+    QPushButton *addButton;
+    QPushButton *removeButton;
+    QPushButton *editButton;
+    QPushButton *moveUpButton;
+    QPushButton *moveDownButton;
+    QHBoxLayout *horizontalLayout_2;
+    QPushButton *saveButton;
+    QPushButton *loadButton;
+    QSpacerItem *horizontalSpacer;
+
+    void setupUi(QDialog *AlgorithmProcessDialog)
+    {
+        if (AlgorithmProcessDialog->objectName().isEmpty())
+            AlgorithmProcessDialog->setObjectName(QString::fromUtf8("AlgorithmProcessDialog"));
+        AlgorithmProcessDialog->resize(600, 400);
+        verticalLayout = new QVBoxLayout(AlgorithmProcessDialog);
+        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
+        algorithmListWidget = new QListWidget(AlgorithmProcessDialog);
+        algorithmListWidget->setObjectName(QString::fromUtf8("algorithmListWidget"));
+        QFont font;
+        font.setFamily(QString::fromUtf8("Arial"));
+        font.setPointSize(10);
+        algorithmListWidget->setFont(font);
+
+        verticalLayout->addWidget(algorithmListWidget);
+
+        horizontalLayout = new QHBoxLayout();
+        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
+        addButton = new QPushButton(AlgorithmProcessDialog);
+        addButton->setObjectName(QString::fromUtf8("addButton"));
+
+        horizontalLayout->addWidget(addButton);
+
+        removeButton = new QPushButton(AlgorithmProcessDialog);
+        removeButton->setObjectName(QString::fromUtf8("removeButton"));
+
+        horizontalLayout->addWidget(removeButton);
+
+        editButton = new QPushButton(AlgorithmProcessDialog);
+        editButton->setObjectName(QString::fromUtf8("editButton"));
+
+        horizontalLayout->addWidget(editButton);
+
+        moveUpButton = new QPushButton(AlgorithmProcessDialog);
+        moveUpButton->setObjectName(QString::fromUtf8("moveUpButton"));
+
+        horizontalLayout->addWidget(moveUpButton);
+
+        moveDownButton = new QPushButton(AlgorithmProcessDialog);
+        moveDownButton->setObjectName(QString::fromUtf8("moveDownButton"));
+
+        horizontalLayout->addWidget(moveDownButton);
+
+
+        verticalLayout->addLayout(horizontalLayout);
+
+        horizontalLayout_2 = new QHBoxLayout();
+        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
+        saveButton = new QPushButton(AlgorithmProcessDialog);
+        saveButton->setObjectName(QString::fromUtf8("saveButton"));
+
+        horizontalLayout_2->addWidget(saveButton);
+
+        loadButton = new QPushButton(AlgorithmProcessDialog);
+        loadButton->setObjectName(QString::fromUtf8("loadButton"));
+
+        horizontalLayout_2->addWidget(loadButton);
+
+        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
+
+        horizontalLayout_2->addItem(horizontalSpacer);
+
+
+        verticalLayout->addLayout(horizontalLayout_2);
+
+
+        retranslateUi(AlgorithmProcessDialog);
+
+        QMetaObject::connectSlotsByName(AlgorithmProcessDialog);
+    } // setupUi
+
+    void retranslateUi(QDialog *AlgorithmProcessDialog)
+    {
+        AlgorithmProcessDialog->setWindowTitle(QCoreApplication::translate("AlgorithmProcessDialog", "\347\256\227\346\263\225\346\265\201\347\250\213", nullptr));
+        addButton->setText(QCoreApplication::translate("AlgorithmProcessDialog", "\346\267\273\345\212\240\347\256\227\346\263\225", nullptr));
+        removeButton->setText(QCoreApplication::translate("AlgorithmProcessDialog", "\345\210\240\351\231\244\347\256\227\346\263\225", nullptr));
+        editButton->setText(QCoreApplication::translate("AlgorithmProcessDialog", "\347\274\226\350\276\221\345\217\202\346\225\260", nullptr));
+        moveUpButton->setText(QCoreApplication::translate("AlgorithmProcessDialog", "\344\270\212\347\247\273", nullptr));
+        moveDownButton->setText(QCoreApplication::translate("AlgorithmProcessDialog", "\344\270\213\347\247\273", nullptr));
+        saveButton->setText(QCoreApplication::translate("AlgorithmProcessDialog", "\344\277\235\345\255\230\346\265\201\347\250\213", nullptr));
+        loadButton->setText(QCoreApplication::translate("AlgorithmProcessDialog", "\345\212\240\350\275\275\346\265\201\347\250\213", nullptr));
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class AlgorithmProcessDialog: public Ui_AlgorithmProcessDialog {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_ALGORITHMPROCESSDIALOG_H

+ 333 - 0
src/ui_cameradialog.h

@@ -0,0 +1,333 @@
+/********************************************************************************
+** Form generated from reading UI file 'cameradialog.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_CAMERADIALOG_H
+#define UI_CAMERADIALOG_H
+
+#include <QtCore/QVariant>
+#include <QtWidgets/QApplication>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QComboBox>
+#include <QtWidgets/QDialog>
+#include <QtWidgets/QDialogButtonBox>
+#include <QtWidgets/QFormLayout>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QHBoxLayout>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QListWidget>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QSpacerItem>
+#include <QtWidgets/QTabWidget>
+#include <QtWidgets/QVBoxLayout>
+#include <QtWidgets/QWidget>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_CameraDialog
+{
+public:
+    QWidget *verticalLayoutWidget;
+    QVBoxLayout *verticalLayout;
+    QGroupBox *groupBox;
+    QHBoxLayout *horizontalLayout;
+    QListWidget *listWidget_cameras;
+    QVBoxLayout *verticalLayout_2;
+    QPushButton *pushButton_add;
+    QPushButton *pushButton_remove;
+    QPushButton *pushButton_refresh;
+    QPushButton *pushButton_save;
+    QPushButton *pushButton_load;
+    QSpacerItem *verticalSpacer;
+    QTabWidget *tabWidget;
+    QWidget *tab;
+    QFormLayout *formLayout;
+    QLabel *label;
+    QLineEdit *lineEdit_name;
+    QLabel *label_2;
+    QComboBox *comboBox_type;
+    QLabel *label_3;
+    QComboBox *comboBox_resolution;
+    QLabel *label_4;
+    QLineEdit *lineEdit_fps;
+    QWidget *tab_2;
+    QFormLayout *formLayout_2;
+    QLabel *label_5;
+    QLineEdit *lineEdit_exposure;
+    QLabel *label_6;
+    QLineEdit *lineEdit_gain;
+    QLabel *label_7;
+    QCheckBox *checkBox_whiteBalance;
+    QLabel *label_8;
+    QComboBox *comboBox_trigger;
+    QWidget *tab_3;
+    QVBoxLayout *verticalLayout_3;
+    QLabel *label_9;
+    QPushButton *pushButton_startPreview;
+    QDialogButtonBox *buttonBox;
+
+    void setupUi(QDialog *CameraDialog)
+    {
+        if (CameraDialog->objectName().isEmpty())
+            CameraDialog->setObjectName(QString::fromUtf8("CameraDialog"));
+        CameraDialog->resize(700, 500);
+        verticalLayoutWidget = new QWidget(CameraDialog);
+        verticalLayoutWidget->setObjectName(QString::fromUtf8("verticalLayoutWidget"));
+        verticalLayoutWidget->setGeometry(QRect(10, 10, 681, 451));
+        verticalLayout = new QVBoxLayout(verticalLayoutWidget);
+        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
+        verticalLayout->setContentsMargins(0, 0, 0, 0);
+        groupBox = new QGroupBox(verticalLayoutWidget);
+        groupBox->setObjectName(QString::fromUtf8("groupBox"));
+        horizontalLayout = new QHBoxLayout(groupBox);
+        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
+        listWidget_cameras = new QListWidget(groupBox);
+        new QListWidgetItem(listWidget_cameras);
+        new QListWidgetItem(listWidget_cameras);
+        new QListWidgetItem(listWidget_cameras);
+        listWidget_cameras->setObjectName(QString::fromUtf8("listWidget_cameras"));
+
+        horizontalLayout->addWidget(listWidget_cameras);
+
+        verticalLayout_2 = new QVBoxLayout();
+        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
+        pushButton_add = new QPushButton(groupBox);
+        pushButton_add->setObjectName(QString::fromUtf8("pushButton_add"));
+
+        verticalLayout_2->addWidget(pushButton_add);
+
+        pushButton_remove = new QPushButton(groupBox);
+        pushButton_remove->setObjectName(QString::fromUtf8("pushButton_remove"));
+
+        verticalLayout_2->addWidget(pushButton_remove);
+
+        pushButton_refresh = new QPushButton(groupBox);
+        pushButton_refresh->setObjectName(QString::fromUtf8("pushButton_refresh"));
+
+        verticalLayout_2->addWidget(pushButton_refresh);
+
+        pushButton_save = new QPushButton(groupBox);
+        pushButton_save->setObjectName(QString::fromUtf8("pushButton_save"));
+
+        verticalLayout_2->addWidget(pushButton_save);
+
+        pushButton_load = new QPushButton(groupBox);
+        pushButton_load->setObjectName(QString::fromUtf8("pushButton_load"));
+
+        verticalLayout_2->addWidget(pushButton_load);
+
+        verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
+
+        verticalLayout_2->addItem(verticalSpacer);
+
+
+        horizontalLayout->addLayout(verticalLayout_2);
+
+
+        verticalLayout->addWidget(groupBox);
+
+        tabWidget = new QTabWidget(verticalLayoutWidget);
+        tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
+        tab = new QWidget();
+        tab->setObjectName(QString::fromUtf8("tab"));
+        formLayout = new QFormLayout(tab);
+        formLayout->setObjectName(QString::fromUtf8("formLayout"));
+        label = new QLabel(tab);
+        label->setObjectName(QString::fromUtf8("label"));
+
+        formLayout->setWidget(0, QFormLayout::LabelRole, label);
+
+        lineEdit_name = new QLineEdit(tab);
+        lineEdit_name->setObjectName(QString::fromUtf8("lineEdit_name"));
+
+        formLayout->setWidget(0, QFormLayout::FieldRole, lineEdit_name);
+
+        label_2 = new QLabel(tab);
+        label_2->setObjectName(QString::fromUtf8("label_2"));
+
+        formLayout->setWidget(1, QFormLayout::LabelRole, label_2);
+
+        comboBox_type = new QComboBox(tab);
+        comboBox_type->addItem(QString());
+        comboBox_type->addItem(QString());
+        comboBox_type->addItem(QString());
+        comboBox_type->addItem(QString());
+        comboBox_type->setObjectName(QString::fromUtf8("comboBox_type"));
+
+        formLayout->setWidget(1, QFormLayout::FieldRole, comboBox_type);
+
+        label_3 = new QLabel(tab);
+        label_3->setObjectName(QString::fromUtf8("label_3"));
+
+        formLayout->setWidget(2, QFormLayout::LabelRole, label_3);
+
+        comboBox_resolution = new QComboBox(tab);
+        comboBox_resolution->addItem(QString());
+        comboBox_resolution->addItem(QString());
+        comboBox_resolution->addItem(QString());
+        comboBox_resolution->addItem(QString());
+        comboBox_resolution->setObjectName(QString::fromUtf8("comboBox_resolution"));
+
+        formLayout->setWidget(2, QFormLayout::FieldRole, comboBox_resolution);
+
+        label_4 = new QLabel(tab);
+        label_4->setObjectName(QString::fromUtf8("label_4"));
+
+        formLayout->setWidget(3, QFormLayout::LabelRole, label_4);
+
+        lineEdit_fps = new QLineEdit(tab);
+        lineEdit_fps->setObjectName(QString::fromUtf8("lineEdit_fps"));
+
+        formLayout->setWidget(3, QFormLayout::FieldRole, lineEdit_fps);
+
+        tabWidget->addTab(tab, QString());
+        tab_2 = new QWidget();
+        tab_2->setObjectName(QString::fromUtf8("tab_2"));
+        formLayout_2 = new QFormLayout(tab_2);
+        formLayout_2->setObjectName(QString::fromUtf8("formLayout_2"));
+        label_5 = new QLabel(tab_2);
+        label_5->setObjectName(QString::fromUtf8("label_5"));
+
+        formLayout_2->setWidget(0, QFormLayout::LabelRole, label_5);
+
+        lineEdit_exposure = new QLineEdit(tab_2);
+        lineEdit_exposure->setObjectName(QString::fromUtf8("lineEdit_exposure"));
+
+        formLayout_2->setWidget(0, QFormLayout::FieldRole, lineEdit_exposure);
+
+        label_6 = new QLabel(tab_2);
+        label_6->setObjectName(QString::fromUtf8("label_6"));
+
+        formLayout_2->setWidget(1, QFormLayout::LabelRole, label_6);
+
+        lineEdit_gain = new QLineEdit(tab_2);
+        lineEdit_gain->setObjectName(QString::fromUtf8("lineEdit_gain"));
+
+        formLayout_2->setWidget(1, QFormLayout::FieldRole, lineEdit_gain);
+
+        label_7 = new QLabel(tab_2);
+        label_7->setObjectName(QString::fromUtf8("label_7"));
+
+        formLayout_2->setWidget(2, QFormLayout::LabelRole, label_7);
+
+        checkBox_whiteBalance = new QCheckBox(tab_2);
+        checkBox_whiteBalance->setObjectName(QString::fromUtf8("checkBox_whiteBalance"));
+
+        formLayout_2->setWidget(2, QFormLayout::FieldRole, checkBox_whiteBalance);
+
+        label_8 = new QLabel(tab_2);
+        label_8->setObjectName(QString::fromUtf8("label_8"));
+
+        formLayout_2->setWidget(3, QFormLayout::LabelRole, label_8);
+
+        comboBox_trigger = new QComboBox(tab_2);
+        comboBox_trigger->addItem(QString());
+        comboBox_trigger->addItem(QString());
+        comboBox_trigger->addItem(QString());
+        comboBox_trigger->setObjectName(QString::fromUtf8("comboBox_trigger"));
+
+        formLayout_2->setWidget(3, QFormLayout::FieldRole, comboBox_trigger);
+
+        tabWidget->addTab(tab_2, QString());
+        tab_3 = new QWidget();
+        tab_3->setObjectName(QString::fromUtf8("tab_3"));
+        verticalLayout_3 = new QVBoxLayout(tab_3);
+        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
+        label_9 = new QLabel(tab_3);
+        label_9->setObjectName(QString::fromUtf8("label_9"));
+        label_9->setStyleSheet(QString::fromUtf8("background-color: #000; border: 1px solid #ccc;"));
+        label_9->setAlignment(Qt::AlignCenter);
+
+        verticalLayout_3->addWidget(label_9);
+
+        pushButton_startPreview = new QPushButton(tab_3);
+        pushButton_startPreview->setObjectName(QString::fromUtf8("pushButton_startPreview"));
+
+        verticalLayout_3->addWidget(pushButton_startPreview);
+
+        tabWidget->addTab(tab_3, QString());
+
+        verticalLayout->addWidget(tabWidget);
+
+        buttonBox = new QDialogButtonBox(verticalLayoutWidget);
+        buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
+        buttonBox->setOrientation(Qt::Horizontal);
+        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
+
+        verticalLayout->addWidget(buttonBox);
+
+
+        retranslateUi(CameraDialog);
+        QObject::connect(buttonBox, SIGNAL(accepted()), CameraDialog, SLOT(accept()));
+        QObject::connect(buttonBox, SIGNAL(rejected()), CameraDialog, SLOT(reject()));
+
+        tabWidget->setCurrentIndex(0);
+
+
+        QMetaObject::connectSlotsByName(CameraDialog);
+    } // setupUi
+
+    void retranslateUi(QDialog *CameraDialog)
+    {
+        CameraDialog->setWindowTitle(QCoreApplication::translate("CameraDialog", "\347\233\270\346\234\272\347\256\241\347\220\206", nullptr));
+        groupBox->setTitle(QCoreApplication::translate("CameraDialog", "\347\233\270\346\234\272\345\210\227\350\241\250", nullptr));
+
+        const bool __sortingEnabled = listWidget_cameras->isSortingEnabled();
+        listWidget_cameras->setSortingEnabled(false);
+        QListWidgetItem *___qlistwidgetitem = listWidget_cameras->item(0);
+        ___qlistwidgetitem->setText(QCoreApplication::translate("CameraDialog", "\347\233\270\346\234\272 1", nullptr));
+        QListWidgetItem *___qlistwidgetitem1 = listWidget_cameras->item(1);
+        ___qlistwidgetitem1->setText(QCoreApplication::translate("CameraDialog", "\347\233\270\346\234\272 2", nullptr));
+        QListWidgetItem *___qlistwidgetitem2 = listWidget_cameras->item(2);
+        ___qlistwidgetitem2->setText(QCoreApplication::translate("CameraDialog", "\347\233\270\346\234\272 3", nullptr));
+        listWidget_cameras->setSortingEnabled(__sortingEnabled);
+
+        pushButton_add->setText(QCoreApplication::translate("CameraDialog", "\346\267\273\345\212\240", nullptr));
+        pushButton_remove->setText(QCoreApplication::translate("CameraDialog", "\347\247\273\351\231\244", nullptr));
+        pushButton_refresh->setText(QCoreApplication::translate("CameraDialog", "\345\210\267\346\226\260", nullptr));
+        pushButton_save->setText(QCoreApplication::translate("CameraDialog", "\344\277\235\345\255\230", nullptr));
+        pushButton_load->setText(QCoreApplication::translate("CameraDialog", "\345\212\240\350\275\275", nullptr));
+        label->setText(QCoreApplication::translate("CameraDialog", "\347\233\270\346\234\272\345\220\215\347\247\260:", nullptr));
+        label_2->setText(QCoreApplication::translate("CameraDialog", "\347\233\270\346\234\272\347\261\273\345\236\213:", nullptr));
+        comboBox_type->setItemText(0, QCoreApplication::translate("CameraDialog", "USB \347\233\270\346\234\272", nullptr));
+        comboBox_type->setItemText(1, QCoreApplication::translate("CameraDialog", "GigE \347\233\270\346\234\272", nullptr));
+        comboBox_type->setItemText(2, QCoreApplication::translate("CameraDialog", "Camera Link", nullptr));
+        comboBox_type->setItemText(3, QCoreApplication::translate("CameraDialog", "\347\275\221\347\273\234\347\233\270\346\234\272", nullptr));
+
+        label_3->setText(QCoreApplication::translate("CameraDialog", "\345\210\206\350\276\250\347\216\207:", nullptr));
+        comboBox_resolution->setItemText(0, QCoreApplication::translate("CameraDialog", "640x480", nullptr));
+        comboBox_resolution->setItemText(1, QCoreApplication::translate("CameraDialog", "1280x720", nullptr));
+        comboBox_resolution->setItemText(2, QCoreApplication::translate("CameraDialog", "1920x1080", nullptr));
+        comboBox_resolution->setItemText(3, QCoreApplication::translate("CameraDialog", "3840x2160", nullptr));
+
+        label_4->setText(QCoreApplication::translate("CameraDialog", "\345\270\247\347\216\207:", nullptr));
+        tabWidget->setTabText(tabWidget->indexOf(tab), QCoreApplication::translate("CameraDialog", "\345\237\272\346\234\254\350\256\276\347\275\256", nullptr));
+        label_5->setText(QCoreApplication::translate("CameraDialog", "\346\233\235\345\205\211\346\227\266\351\227\264:", nullptr));
+        label_6->setText(QCoreApplication::translate("CameraDialog", "\345\242\236\347\233\212:", nullptr));
+        label_7->setText(QCoreApplication::translate("CameraDialog", "\347\231\275\345\271\263\350\241\241:", nullptr));
+        checkBox_whiteBalance->setText(QCoreApplication::translate("CameraDialog", "\350\207\252\345\212\250", nullptr));
+        label_8->setText(QCoreApplication::translate("CameraDialog", "\350\247\246\345\217\221\346\250\241\345\274\217:", nullptr));
+        comboBox_trigger->setItemText(0, QCoreApplication::translate("CameraDialog", "\350\207\252\347\224\261\350\277\220\350\241\214", nullptr));
+        comboBox_trigger->setItemText(1, QCoreApplication::translate("CameraDialog", "\345\244\226\351\203\250\350\247\246\345\217\221", nullptr));
+        comboBox_trigger->setItemText(2, QCoreApplication::translate("CameraDialog", "\350\275\257\344\273\266\350\247\246\345\217\221", nullptr));
+
+        tabWidget->setTabText(tabWidget->indexOf(tab_2), QCoreApplication::translate("CameraDialog", "\351\253\230\347\272\247\350\256\276\347\275\256", nullptr));
+        label_9->setText(QCoreApplication::translate("CameraDialog", "\347\233\270\346\234\272\351\242\204\350\247\210\345\214\272\345\237\237", nullptr));
+        pushButton_startPreview->setText(QCoreApplication::translate("CameraDialog", "\345\274\200\345\247\213\351\242\204\350\247\210", nullptr));
+        tabWidget->setTabText(tabWidget->indexOf(tab_3), QCoreApplication::translate("CameraDialog", "\351\242\204\350\247\210", nullptr));
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class CameraDialog: public Ui_CameraDialog {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_CAMERADIALOG_H

+ 175 - 0
src/ui_cameratypedialog.h

@@ -0,0 +1,175 @@
+/********************************************************************************
+** Form generated from reading UI file 'cameratypedialog.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_CAMERATYPEDIALOG_H
+#define UI_CAMERATYPEDIALOG_H
+
+#include <QtCore/QVariant>
+#include <QtWidgets/QApplication>
+#include <QtWidgets/QComboBox>
+#include <QtWidgets/QDialog>
+#include <QtWidgets/QDialogButtonBox>
+#include <QtWidgets/QFormLayout>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QListWidget>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QVBoxLayout>
+#include <QtWidgets/QWidget>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_CameraTypeDialog
+{
+public:
+    QWidget *verticalLayoutWidget;
+    QVBoxLayout *verticalLayout;
+    QFormLayout *formLayout;
+    QLabel *label;
+    QLineEdit *lineEdit_cameraName;
+    QLabel *label_5;
+    QComboBox *comboBox_cameraBrand;
+    QLabel *label_2;
+    QComboBox *comboBox_cameraType;
+    QLabel *label_4;
+    QVBoxLayout *verticalLayout_2;
+    QListWidget *listWidget_devices;
+    QPushButton *pushButton_refresh;
+    QDialogButtonBox *buttonBox;
+
+    void setupUi(QDialog *CameraTypeDialog)
+    {
+        if (CameraTypeDialog->objectName().isEmpty())
+            CameraTypeDialog->setObjectName(QString::fromUtf8("CameraTypeDialog"));
+        CameraTypeDialog->resize(450, 300);
+        verticalLayoutWidget = new QWidget(CameraTypeDialog);
+        verticalLayoutWidget->setObjectName(QString::fromUtf8("verticalLayoutWidget"));
+        verticalLayoutWidget->setGeometry(QRect(10, 10, 431, 261));
+        verticalLayout = new QVBoxLayout(verticalLayoutWidget);
+        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
+        verticalLayout->setContentsMargins(0, 0, 0, 0);
+        formLayout = new QFormLayout();
+        formLayout->setObjectName(QString::fromUtf8("formLayout"));
+        label = new QLabel(verticalLayoutWidget);
+        label->setObjectName(QString::fromUtf8("label"));
+
+        formLayout->setWidget(0, QFormLayout::LabelRole, label);
+
+        lineEdit_cameraName = new QLineEdit(verticalLayoutWidget);
+        lineEdit_cameraName->setObjectName(QString::fromUtf8("lineEdit_cameraName"));
+
+        formLayout->setWidget(0, QFormLayout::FieldRole, lineEdit_cameraName);
+
+        label_5 = new QLabel(verticalLayoutWidget);
+        label_5->setObjectName(QString::fromUtf8("label_5"));
+
+        formLayout->setWidget(1, QFormLayout::LabelRole, label_5);
+
+        comboBox_cameraBrand = new QComboBox(verticalLayoutWidget);
+        comboBox_cameraBrand->addItem(QString());
+        comboBox_cameraBrand->addItem(QString());
+        comboBox_cameraBrand->addItem(QString());
+        comboBox_cameraBrand->setObjectName(QString::fromUtf8("comboBox_cameraBrand"));
+
+        formLayout->setWidget(1, QFormLayout::FieldRole, comboBox_cameraBrand);
+
+        label_2 = new QLabel(verticalLayoutWidget);
+        label_2->setObjectName(QString::fromUtf8("label_2"));
+
+        formLayout->setWidget(2, QFormLayout::LabelRole, label_2);
+
+        comboBox_cameraType = new QComboBox(verticalLayoutWidget);
+        comboBox_cameraType->addItem(QString());
+        comboBox_cameraType->addItem(QString());
+        comboBox_cameraType->addItem(QString());
+        comboBox_cameraType->addItem(QString());
+        comboBox_cameraType->setObjectName(QString::fromUtf8("comboBox_cameraType"));
+
+        formLayout->setWidget(2, QFormLayout::FieldRole, comboBox_cameraType);
+
+        label_4 = new QLabel(verticalLayoutWidget);
+        label_4->setObjectName(QString::fromUtf8("label_4"));
+
+        formLayout->setWidget(4, QFormLayout::LabelRole, label_4);
+
+        verticalLayout_2 = new QVBoxLayout();
+        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
+        listWidget_devices = new QListWidget(verticalLayoutWidget);
+        new QListWidgetItem(listWidget_devices);
+        new QListWidgetItem(listWidget_devices);
+        new QListWidgetItem(listWidget_devices);
+        listWidget_devices->setObjectName(QString::fromUtf8("listWidget_devices"));
+
+        verticalLayout_2->addWidget(listWidget_devices);
+
+        pushButton_refresh = new QPushButton(verticalLayoutWidget);
+        pushButton_refresh->setObjectName(QString::fromUtf8("pushButton_refresh"));
+
+        verticalLayout_2->addWidget(pushButton_refresh);
+
+
+        formLayout->setLayout(4, QFormLayout::FieldRole, verticalLayout_2);
+
+
+        verticalLayout->addLayout(formLayout);
+
+        buttonBox = new QDialogButtonBox(verticalLayoutWidget);
+        buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
+        buttonBox->setOrientation(Qt::Horizontal);
+        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
+
+        verticalLayout->addWidget(buttonBox);
+
+
+        retranslateUi(CameraTypeDialog);
+        QObject::connect(buttonBox, SIGNAL(accepted()), CameraTypeDialog, SLOT(on_okButton_clicked()));
+        QObject::connect(buttonBox, SIGNAL(rejected()), CameraTypeDialog, SLOT(on_cancelButton_clicked()));
+
+        QMetaObject::connectSlotsByName(CameraTypeDialog);
+    } // setupUi
+
+    void retranslateUi(QDialog *CameraTypeDialog)
+    {
+        CameraTypeDialog->setWindowTitle(QCoreApplication::translate("CameraTypeDialog", "\346\267\273\345\212\240\347\233\270\346\234\272", nullptr));
+        label->setText(QCoreApplication::translate("CameraTypeDialog", "\347\233\270\346\234\272\345\220\215\347\247\260:", nullptr));
+        lineEdit_cameraName->setText(QCoreApplication::translate("CameraTypeDialog", "\347\233\270\346\234\272", nullptr));
+        label_5->setText(QCoreApplication::translate("CameraTypeDialog", "\347\233\270\346\234\272\345\223\201\347\211\214:", nullptr));
+        comboBox_cameraBrand->setItemText(0, QCoreApplication::translate("CameraTypeDialog", "\351\273\230\350\256\244", nullptr));
+        comboBox_cameraBrand->setItemText(1, QCoreApplication::translate("CameraTypeDialog", "\346\265\267\345\272\267", nullptr));
+        comboBox_cameraBrand->setItemText(2, QCoreApplication::translate("CameraTypeDialog", "Basler", nullptr));
+
+        label_2->setText(QCoreApplication::translate("CameraTypeDialog", "\347\233\270\346\234\272\347\261\273\345\236\213:", nullptr));
+        comboBox_cameraType->setItemText(0, QCoreApplication::translate("CameraTypeDialog", "USB \347\233\270\346\234\272", nullptr));
+        comboBox_cameraType->setItemText(1, QCoreApplication::translate("CameraTypeDialog", "GigE \347\233\270\346\234\272", nullptr));
+        comboBox_cameraType->setItemText(2, QCoreApplication::translate("CameraTypeDialog", "\347\275\221\347\273\234\347\233\270\346\234\272", nullptr));
+        comboBox_cameraType->setItemText(3, QCoreApplication::translate("CameraTypeDialog", "Camera Link", nullptr));
+
+        label_4->setText(QCoreApplication::translate("CameraTypeDialog", "\347\233\270\346\234\272\350\256\276\345\244\207:", nullptr));
+
+        const bool __sortingEnabled = listWidget_devices->isSortingEnabled();
+        listWidget_devices->setSortingEnabled(false);
+        QListWidgetItem *___qlistwidgetitem = listWidget_devices->item(0);
+        ___qlistwidgetitem->setText(QCoreApplication::translate("CameraTypeDialog", "\350\256\276\345\244\207 1", nullptr));
+        QListWidgetItem *___qlistwidgetitem1 = listWidget_devices->item(1);
+        ___qlistwidgetitem1->setText(QCoreApplication::translate("CameraTypeDialog", "\350\256\276\345\244\207 2", nullptr));
+        QListWidgetItem *___qlistwidgetitem2 = listWidget_devices->item(2);
+        ___qlistwidgetitem2->setText(QCoreApplication::translate("CameraTypeDialog", "\350\256\276\345\244\207 3", nullptr));
+        listWidget_devices->setSortingEnabled(__sortingEnabled);
+
+        pushButton_refresh->setText(QCoreApplication::translate("CameraTypeDialog", "\345\210\267\346\226\260\350\256\276\345\244\207", nullptr));
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class CameraTypeDialog: public Ui_CameraTypeDialog {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_CAMERATYPEDIALOG_H

+ 285 - 0
src/ui_communicationdialog.h

@@ -0,0 +1,285 @@
+/********************************************************************************
+** Form generated from reading UI file 'communicationdialog.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_COMMUNICATIONDIALOG_H
+#define UI_COMMUNICATIONDIALOG_H
+
+#include <QtCore/QVariant>
+#include <QtWidgets/QApplication>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QComboBox>
+#include <QtWidgets/QDialog>
+#include <QtWidgets/QDialogButtonBox>
+#include <QtWidgets/QFormLayout>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QTabWidget>
+#include <QtWidgets/QVBoxLayout>
+#include <QtWidgets/QWidget>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_CommunicationDialog
+{
+public:
+    QWidget *verticalLayoutWidget;
+    QVBoxLayout *verticalLayout;
+    QTabWidget *tabWidget;
+    QWidget *tab;
+    QFormLayout *formLayout;
+    QLabel *label;
+    QComboBox *comboBox_port;
+    QLabel *label_2;
+    QComboBox *comboBox_baud;
+    QLabel *label_3;
+    QComboBox *comboBox_data;
+    QLabel *label_4;
+    QComboBox *comboBox_stop;
+    QLabel *label_5;
+    QComboBox *comboBox_parity;
+    QWidget *tab_2;
+    QFormLayout *formLayout_2;
+    QLabel *label_6;
+    QComboBox *comboBox_protocol;
+    QLabel *label_7;
+    QLineEdit *lineEdit_ip;
+    QLabel *label_8;
+    QLineEdit *lineEdit_port;
+    QLabel *label_9;
+    QComboBox *comboBox_connection;
+    QWidget *tab_3;
+    QVBoxLayout *verticalLayout_2;
+    QCheckBox *checkBox_modbus;
+    QCheckBox *checkBox_mqtt;
+    QCheckBox *checkBox_ethernet;
+    QCheckBox *checkBox_profinet;
+    QDialogButtonBox *buttonBox;
+
+    void setupUi(QDialog *CommunicationDialog)
+    {
+        if (CommunicationDialog->objectName().isEmpty())
+            CommunicationDialog->setObjectName(QString::fromUtf8("CommunicationDialog"));
+        CommunicationDialog->resize(600, 400);
+        verticalLayoutWidget = new QWidget(CommunicationDialog);
+        verticalLayoutWidget->setObjectName(QString::fromUtf8("verticalLayoutWidget"));
+        verticalLayoutWidget->setGeometry(QRect(10, 10, 581, 351));
+        verticalLayout = new QVBoxLayout(verticalLayoutWidget);
+        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
+        verticalLayout->setContentsMargins(0, 0, 0, 0);
+        tabWidget = new QTabWidget(verticalLayoutWidget);
+        tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
+        tab = new QWidget();
+        tab->setObjectName(QString::fromUtf8("tab"));
+        formLayout = new QFormLayout(tab);
+        formLayout->setObjectName(QString::fromUtf8("formLayout"));
+        label = new QLabel(tab);
+        label->setObjectName(QString::fromUtf8("label"));
+
+        formLayout->setWidget(0, QFormLayout::LabelRole, label);
+
+        comboBox_port = new QComboBox(tab);
+        comboBox_port->setObjectName(QString::fromUtf8("comboBox_port"));
+
+        formLayout->setWidget(0, QFormLayout::FieldRole, comboBox_port);
+
+        label_2 = new QLabel(tab);
+        label_2->setObjectName(QString::fromUtf8("label_2"));
+
+        formLayout->setWidget(1, QFormLayout::LabelRole, label_2);
+
+        comboBox_baud = new QComboBox(tab);
+        comboBox_baud->addItem(QString());
+        comboBox_baud->addItem(QString());
+        comboBox_baud->addItem(QString());
+        comboBox_baud->addItem(QString());
+        comboBox_baud->setObjectName(QString::fromUtf8("comboBox_baud"));
+
+        formLayout->setWidget(1, QFormLayout::FieldRole, comboBox_baud);
+
+        label_3 = new QLabel(tab);
+        label_3->setObjectName(QString::fromUtf8("label_3"));
+
+        formLayout->setWidget(2, QFormLayout::LabelRole, label_3);
+
+        comboBox_data = new QComboBox(tab);
+        comboBox_data->addItem(QString());
+        comboBox_data->setObjectName(QString::fromUtf8("comboBox_data"));
+
+        formLayout->setWidget(2, QFormLayout::FieldRole, comboBox_data);
+
+        label_4 = new QLabel(tab);
+        label_4->setObjectName(QString::fromUtf8("label_4"));
+
+        formLayout->setWidget(3, QFormLayout::LabelRole, label_4);
+
+        comboBox_stop = new QComboBox(tab);
+        comboBox_stop->addItem(QString());
+        comboBox_stop->addItem(QString());
+        comboBox_stop->setObjectName(QString::fromUtf8("comboBox_stop"));
+
+        formLayout->setWidget(3, QFormLayout::FieldRole, comboBox_stop);
+
+        label_5 = new QLabel(tab);
+        label_5->setObjectName(QString::fromUtf8("label_5"));
+
+        formLayout->setWidget(4, QFormLayout::LabelRole, label_5);
+
+        comboBox_parity = new QComboBox(tab);
+        comboBox_parity->addItem(QString());
+        comboBox_parity->addItem(QString());
+        comboBox_parity->addItem(QString());
+        comboBox_parity->setObjectName(QString::fromUtf8("comboBox_parity"));
+
+        formLayout->setWidget(4, QFormLayout::FieldRole, comboBox_parity);
+
+        tabWidget->addTab(tab, QString());
+        tab_2 = new QWidget();
+        tab_2->setObjectName(QString::fromUtf8("tab_2"));
+        formLayout_2 = new QFormLayout(tab_2);
+        formLayout_2->setObjectName(QString::fromUtf8("formLayout_2"));
+        label_6 = new QLabel(tab_2);
+        label_6->setObjectName(QString::fromUtf8("label_6"));
+
+        formLayout_2->setWidget(0, QFormLayout::LabelRole, label_6);
+
+        comboBox_protocol = new QComboBox(tab_2);
+        comboBox_protocol->addItem(QString());
+        comboBox_protocol->addItem(QString());
+        comboBox_protocol->setObjectName(QString::fromUtf8("comboBox_protocol"));
+
+        formLayout_2->setWidget(0, QFormLayout::FieldRole, comboBox_protocol);
+
+        label_7 = new QLabel(tab_2);
+        label_7->setObjectName(QString::fromUtf8("label_7"));
+
+        formLayout_2->setWidget(1, QFormLayout::LabelRole, label_7);
+
+        lineEdit_ip = new QLineEdit(tab_2);
+        lineEdit_ip->setObjectName(QString::fromUtf8("lineEdit_ip"));
+
+        formLayout_2->setWidget(1, QFormLayout::FieldRole, lineEdit_ip);
+
+        label_8 = new QLabel(tab_2);
+        label_8->setObjectName(QString::fromUtf8("label_8"));
+
+        formLayout_2->setWidget(2, QFormLayout::LabelRole, label_8);
+
+        lineEdit_port = new QLineEdit(tab_2);
+        lineEdit_port->setObjectName(QString::fromUtf8("lineEdit_port"));
+
+        formLayout_2->setWidget(2, QFormLayout::FieldRole, lineEdit_port);
+
+        label_9 = new QLabel(tab_2);
+        label_9->setObjectName(QString::fromUtf8("label_9"));
+
+        formLayout_2->setWidget(3, QFormLayout::LabelRole, label_9);
+
+        comboBox_connection = new QComboBox(tab_2);
+        comboBox_connection->addItem(QString());
+        comboBox_connection->addItem(QString());
+        comboBox_connection->setObjectName(QString::fromUtf8("comboBox_connection"));
+
+        formLayout_2->setWidget(3, QFormLayout::FieldRole, comboBox_connection);
+
+        tabWidget->addTab(tab_2, QString());
+        tab_3 = new QWidget();
+        tab_3->setObjectName(QString::fromUtf8("tab_3"));
+        verticalLayout_2 = new QVBoxLayout(tab_3);
+        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
+        checkBox_modbus = new QCheckBox(tab_3);
+        checkBox_modbus->setObjectName(QString::fromUtf8("checkBox_modbus"));
+
+        verticalLayout_2->addWidget(checkBox_modbus);
+
+        checkBox_mqtt = new QCheckBox(tab_3);
+        checkBox_mqtt->setObjectName(QString::fromUtf8("checkBox_mqtt"));
+
+        verticalLayout_2->addWidget(checkBox_mqtt);
+
+        checkBox_ethernet = new QCheckBox(tab_3);
+        checkBox_ethernet->setObjectName(QString::fromUtf8("checkBox_ethernet"));
+
+        verticalLayout_2->addWidget(checkBox_ethernet);
+
+        checkBox_profinet = new QCheckBox(tab_3);
+        checkBox_profinet->setObjectName(QString::fromUtf8("checkBox_profinet"));
+
+        verticalLayout_2->addWidget(checkBox_profinet);
+
+        tabWidget->addTab(tab_3, QString());
+
+        verticalLayout->addWidget(tabWidget);
+
+        buttonBox = new QDialogButtonBox(verticalLayoutWidget);
+        buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
+        buttonBox->setOrientation(Qt::Horizontal);
+        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
+
+        verticalLayout->addWidget(buttonBox);
+
+
+        retranslateUi(CommunicationDialog);
+        QObject::connect(buttonBox, SIGNAL(accepted()), CommunicationDialog, SLOT(accept()));
+        QObject::connect(buttonBox, SIGNAL(rejected()), CommunicationDialog, SLOT(reject()));
+
+        tabWidget->setCurrentIndex(0);
+
+
+        QMetaObject::connectSlotsByName(CommunicationDialog);
+    } // setupUi
+
+    void retranslateUi(QDialog *CommunicationDialog)
+    {
+        CommunicationDialog->setWindowTitle(QCoreApplication::translate("CommunicationDialog", "\351\200\232\344\277\241\351\205\215\347\275\256", nullptr));
+        label->setText(QCoreApplication::translate("CommunicationDialog", "\347\253\257\345\217\243:", nullptr));
+        label_2->setText(QCoreApplication::translate("CommunicationDialog", "\346\263\242\347\211\271\347\216\207:", nullptr));
+        comboBox_baud->setItemText(0, QCoreApplication::translate("CommunicationDialog", "9600", nullptr));
+        comboBox_baud->setItemText(1, QCoreApplication::translate("CommunicationDialog", "19200", nullptr));
+        comboBox_baud->setItemText(2, QCoreApplication::translate("CommunicationDialog", "38400", nullptr));
+        comboBox_baud->setItemText(3, QCoreApplication::translate("CommunicationDialog", "115200", nullptr));
+
+        label_3->setText(QCoreApplication::translate("CommunicationDialog", "\346\225\260\346\215\256\344\275\215:", nullptr));
+        comboBox_data->setItemText(0, QCoreApplication::translate("CommunicationDialog", "8", nullptr));
+
+        label_4->setText(QCoreApplication::translate("CommunicationDialog", "\345\201\234\346\255\242\344\275\215:", nullptr));
+        comboBox_stop->setItemText(0, QCoreApplication::translate("CommunicationDialog", "1", nullptr));
+        comboBox_stop->setItemText(1, QCoreApplication::translate("CommunicationDialog", "2", nullptr));
+
+        label_5->setText(QCoreApplication::translate("CommunicationDialog", "\346\240\241\351\252\214\344\275\215:", nullptr));
+        comboBox_parity->setItemText(0, QCoreApplication::translate("CommunicationDialog", "\346\227\240", nullptr));
+        comboBox_parity->setItemText(1, QCoreApplication::translate("CommunicationDialog", "\345\245\207\346\240\241\351\252\214", nullptr));
+        comboBox_parity->setItemText(2, QCoreApplication::translate("CommunicationDialog", "\345\201\266\346\240\241\351\252\214", nullptr));
+
+        tabWidget->setTabText(tabWidget->indexOf(tab), QCoreApplication::translate("CommunicationDialog", "\344\270\262\345\217\243\351\200\232\344\277\241", nullptr));
+        label_6->setText(QCoreApplication::translate("CommunicationDialog", "\345\215\217\350\256\256:", nullptr));
+        comboBox_protocol->setItemText(0, QCoreApplication::translate("CommunicationDialog", "TCP", nullptr));
+        comboBox_protocol->setItemText(1, QCoreApplication::translate("CommunicationDialog", "UDP", nullptr));
+
+        label_7->setText(QCoreApplication::translate("CommunicationDialog", "IP\345\234\260\345\235\200:", nullptr));
+        label_8->setText(QCoreApplication::translate("CommunicationDialog", "\347\253\257\345\217\243:", nullptr));
+        label_9->setText(QCoreApplication::translate("CommunicationDialog", "\350\277\236\346\216\245\347\261\273\345\236\213:", nullptr));
+        comboBox_connection->setItemText(0, QCoreApplication::translate("CommunicationDialog", "\345\256\242\346\210\267\347\253\257", nullptr));
+        comboBox_connection->setItemText(1, QCoreApplication::translate("CommunicationDialog", "\346\234\215\345\212\241\345\231\250", nullptr));
+
+        tabWidget->setTabText(tabWidget->indexOf(tab_2), QCoreApplication::translate("CommunicationDialog", "\347\275\221\347\273\234\351\200\232\344\277\241", nullptr));
+        checkBox_modbus->setText(QCoreApplication::translate("CommunicationDialog", "Modbus\351\200\232\344\277\241", nullptr));
+        checkBox_mqtt->setText(QCoreApplication::translate("CommunicationDialog", "MQTT\351\200\232\344\277\241", nullptr));
+        checkBox_ethernet->setText(QCoreApplication::translate("CommunicationDialog", "Ethernet/IP", nullptr));
+        checkBox_profinet->setText(QCoreApplication::translate("CommunicationDialog", "Profinet", nullptr));
+        tabWidget->setTabText(tabWidget->indexOf(tab_3), QCoreApplication::translate("CommunicationDialog", "\345\205\266\344\273\226\351\200\232\344\277\241", nullptr));
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class CommunicationDialog: public Ui_CommunicationDialog {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_COMMUNICATIONDIALOG_H

+ 138 - 0
src/ui_mainwindow.h

@@ -0,0 +1,138 @@
+/********************************************************************************
+** Form generated from reading UI file 'mainwindow.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_MAINWINDOW_H
+#define UI_MAINWINDOW_H
+
+#include <QtCore/QVariant>
+#include <QtWidgets/QAction>
+#include <QtWidgets/QApplication>
+#include <QtWidgets/QMainWindow>
+#include <QtWidgets/QStatusBar>
+#include <QtWidgets/QVBoxLayout>
+#include <QtWidgets/QWidget>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_MainWindow
+{
+public:
+    QAction *actionOpen;
+    QAction *actionSave;
+    QAction *actionExit;
+    QAction *actionCopy;
+    QAction *actionPaste;
+    QAction *actionProcess;
+    QAction *actionAnalyze;
+    QAction *actionAbout;
+    QAction *actionCaptureTool;
+    QAction *actionCaptureImage;
+    QAction *actionCommunication;
+    QAction *actionCameraManagement;
+    QAction *actionTouch;
+    QAction *actionAlgorithmProcess;
+    QAction *actionLoadDirectory;
+    QAction *actionReloadFile;
+    QWidget *centralwidget;
+    QVBoxLayout *verticalLayout;
+    QStatusBar *statusbar;
+
+    void setupUi(QMainWindow *MainWindow)
+    {
+        if (MainWindow->objectName().isEmpty())
+            MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
+        MainWindow->resize(1024, 768);
+        actionOpen = new QAction(MainWindow);
+        actionOpen->setObjectName(QString::fromUtf8("actionOpen"));
+        actionSave = new QAction(MainWindow);
+        actionSave->setObjectName(QString::fromUtf8("actionSave"));
+        actionExit = new QAction(MainWindow);
+        actionExit->setObjectName(QString::fromUtf8("actionExit"));
+        actionCopy = new QAction(MainWindow);
+        actionCopy->setObjectName(QString::fromUtf8("actionCopy"));
+        actionPaste = new QAction(MainWindow);
+        actionPaste->setObjectName(QString::fromUtf8("actionPaste"));
+        actionProcess = new QAction(MainWindow);
+        actionProcess->setObjectName(QString::fromUtf8("actionProcess"));
+        actionAnalyze = new QAction(MainWindow);
+        actionAnalyze->setObjectName(QString::fromUtf8("actionAnalyze"));
+        actionAbout = new QAction(MainWindow);
+        actionAbout->setObjectName(QString::fromUtf8("actionAbout"));
+        actionCaptureTool = new QAction(MainWindow);
+        actionCaptureTool->setObjectName(QString::fromUtf8("actionCaptureTool"));
+        actionCaptureImage = new QAction(MainWindow);
+        actionCaptureImage->setObjectName(QString::fromUtf8("actionCaptureImage"));
+        actionCommunication = new QAction(MainWindow);
+        actionCommunication->setObjectName(QString::fromUtf8("actionCommunication"));
+        QFont font;
+        font.setFamily(QString::fromUtf8("Arial"));
+        font.setPointSize(10);
+        actionCommunication->setFont(font);
+        actionCameraManagement = new QAction(MainWindow);
+        actionCameraManagement->setObjectName(QString::fromUtf8("actionCameraManagement"));
+        actionCameraManagement->setFont(font);
+        actionTouch = new QAction(MainWindow);
+        actionTouch->setObjectName(QString::fromUtf8("actionTouch"));
+        actionTouch->setFont(font);
+        actionAlgorithmProcess = new QAction(MainWindow);
+        actionAlgorithmProcess->setObjectName(QString::fromUtf8("actionAlgorithmProcess"));
+        actionAlgorithmProcess->setFont(font);
+        actionLoadDirectory = new QAction(MainWindow);
+        actionLoadDirectory->setObjectName(QString::fromUtf8("actionLoadDirectory"));
+        actionReloadFile = new QAction(MainWindow);
+        actionReloadFile->setObjectName(QString::fromUtf8("actionReloadFile"));
+        centralwidget = new QWidget(MainWindow);
+        centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
+        verticalLayout = new QVBoxLayout(centralwidget);
+        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
+        MainWindow->setCentralWidget(centralwidget);
+        statusbar = new QStatusBar(MainWindow);
+        statusbar->setObjectName(QString::fromUtf8("statusbar"));
+        MainWindow->setStatusBar(statusbar);
+
+        retranslateUi(MainWindow);
+
+        QMetaObject::connectSlotsByName(MainWindow);
+    } // setupUi
+
+    void retranslateUi(QMainWindow *MainWindow)
+    {
+        MainWindow->setWindowTitle(QCoreApplication::translate("MainWindow", "VisionForm - \350\247\206\350\247\211\351\200\232\347\224\250\347\225\214\351\235\242", nullptr));
+        actionOpen->setText(QCoreApplication::translate("MainWindow", "\346\211\223\345\274\200", nullptr));
+        actionSave->setText(QCoreApplication::translate("MainWindow", "\344\277\235\345\255\230", nullptr));
+        actionExit->setText(QCoreApplication::translate("MainWindow", "\351\200\200\345\207\272", nullptr));
+        actionCopy->setText(QCoreApplication::translate("MainWindow", "\345\244\215\345\210\266", nullptr));
+        actionPaste->setText(QCoreApplication::translate("MainWindow", "\347\262\230\350\264\264", nullptr));
+        actionProcess->setText(QCoreApplication::translate("MainWindow", "\345\244\204\347\220\206", nullptr));
+        actionAnalyze->setText(QCoreApplication::translate("MainWindow", "\345\210\206\346\236\220", nullptr));
+        actionAbout->setText(QCoreApplication::translate("MainWindow", "\345\205\263\344\272\216", nullptr));
+        actionCaptureTool->setText(QCoreApplication::translate("MainWindow", "\351\207\207\351\233\206\345\267\245\345\205\267", nullptr));
+        actionCaptureImage->setText(QCoreApplication::translate("MainWindow", "\351\207\207\351\233\206\345\233\276\347\211\207", nullptr));
+        actionCommunication->setText(QCoreApplication::translate("MainWindow", "\351\200\232\344\277\241", nullptr));
+        actionCameraManagement->setText(QCoreApplication::translate("MainWindow", "\347\233\270\346\234\272\347\256\241\347\220\206", nullptr));
+        actionTouch->setText(QCoreApplication::translate("MainWindow", "\345\205\250\345\261\200\350\247\246\345\217\221", nullptr));
+#if QT_CONFIG(tooltip)
+        actionTouch->setToolTip(QCoreApplication::translate("MainWindow", "\345\205\250\345\261\200\350\247\246\345\217\221", nullptr));
+#endif // QT_CONFIG(tooltip)
+        actionAlgorithmProcess->setText(QCoreApplication::translate("MainWindow", "\347\256\227\346\263\225\346\265\201\347\250\213", nullptr));
+        actionLoadDirectory->setText(QCoreApplication::translate("MainWindow", "\345\212\240\350\275\275\347\233\256\345\275\225", nullptr));
+        actionReloadFile->setText(QCoreApplication::translate("MainWindow", "\351\207\215\346\226\260\345\212\240\350\275\275", nullptr));
+#if QT_CONFIG(statustip)
+        statusbar->setStatusTip(QCoreApplication::translate("MainWindow", "\345\260\261\347\273\252", nullptr));
+#endif // QT_CONFIG(statustip)
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class MainWindow: public Ui_MainWindow {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_MAINWINDOW_H