|
|
@@ -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
|