|
@@ -23,18 +23,18 @@
|
|
|
#include <QtWidgets/QSpacerItem>
|
|
|
#include <QtWidgets/QSpinBox>
|
|
|
#include <QtWidgets/QVBoxLayout>
|
|
|
-#include <QtWidgets/QWidget>
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
|
class Ui_OamNetworkParam
|
|
|
{
|
|
|
public:
|
|
|
- QGridLayout *gridLayout_2;
|
|
|
- QSpacerItem *verticalSpacer;
|
|
|
- QVBoxLayout *verticalLayout_2;
|
|
|
+ QGridLayout *gridLayout_3;
|
|
|
+ QSpacerItem *horizontalSpacer;
|
|
|
+ QSpacerItem *horizontalSpacer_2;
|
|
|
+ QVBoxLayout *verticalLayout_3;
|
|
|
QGroupBox *groupBox;
|
|
|
- QWidget *widget;
|
|
|
+ QGridLayout *gridLayout_2;
|
|
|
QVBoxLayout *verticalLayout;
|
|
|
QGridLayout *gridLayout;
|
|
|
QCheckBox *checkBoxSwitch;
|
|
@@ -59,9 +59,13 @@ public:
|
|
|
QPushButton *pushButtonQuery;
|
|
|
QPushButton *pushButtonConfig;
|
|
|
QPushButton *pushButtonUpload;
|
|
|
+ QVBoxLayout *verticalLayout_2;
|
|
|
QLabel *label_22;
|
|
|
- QSpacerItem *horizontalSpacer;
|
|
|
- QSpacerItem *horizontalSpacer_2;
|
|
|
+ QLabel *label;
|
|
|
+ QLabel *label_2;
|
|
|
+ QLabel *label_8;
|
|
|
+ QLabel *label_9;
|
|
|
+ QSpacerItem *verticalSpacer;
|
|
|
QSpacerItem *verticalSpacer_2;
|
|
|
|
|
|
void setupUi(QDialog *OamNetworkParam)
|
|
@@ -70,114 +74,118 @@ public:
|
|
|
OamNetworkParam->setObjectName("OamNetworkParam");
|
|
|
OamNetworkParam->resize(1024, 700);
|
|
|
OamNetworkParam->setMinimumSize(QSize(800, 0));
|
|
|
- gridLayout_2 = new QGridLayout(OamNetworkParam);
|
|
|
- gridLayout_2->setObjectName("gridLayout_2");
|
|
|
- verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
|
|
+ gridLayout_3 = new QGridLayout(OamNetworkParam);
|
|
|
+ gridLayout_3->setObjectName("gridLayout_3");
|
|
|
+ horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
|
|
- gridLayout_2->addItem(verticalSpacer, 0, 1, 1, 1);
|
|
|
+ gridLayout_3->addItem(horizontalSpacer, 1, 0, 1, 1);
|
|
|
|
|
|
- verticalLayout_2 = new QVBoxLayout();
|
|
|
- verticalLayout_2->setObjectName("verticalLayout_2");
|
|
|
+ horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
+
|
|
|
+ gridLayout_3->addItem(horizontalSpacer_2, 1, 2, 1, 1);
|
|
|
+
|
|
|
+ verticalLayout_3 = new QVBoxLayout();
|
|
|
+ verticalLayout_3->setSpacing(20);
|
|
|
+ verticalLayout_3->setObjectName("verticalLayout_3");
|
|
|
groupBox = new QGroupBox(OamNetworkParam);
|
|
|
groupBox->setObjectName("groupBox");
|
|
|
- groupBox->setMinimumSize(QSize(770, 285));
|
|
|
- groupBox->setMaximumSize(QSize(680, 300));
|
|
|
- widget = new QWidget(groupBox);
|
|
|
- widget->setObjectName("widget");
|
|
|
- widget->setGeometry(QRect(12, 16, 750, 254));
|
|
|
- verticalLayout = new QVBoxLayout(widget);
|
|
|
+ groupBox->setMinimumSize(QSize(590, 285));
|
|
|
+ groupBox->setMaximumSize(QSize(16777215, 300));
|
|
|
+ gridLayout_2 = new QGridLayout(groupBox);
|
|
|
+ gridLayout_2->setObjectName("gridLayout_2");
|
|
|
+ verticalLayout = new QVBoxLayout();
|
|
|
verticalLayout->setSpacing(20);
|
|
|
verticalLayout->setObjectName("verticalLayout");
|
|
|
- verticalLayout->setContentsMargins(0, 0, 0, 0);
|
|
|
gridLayout = new QGridLayout();
|
|
|
gridLayout->setObjectName("gridLayout");
|
|
|
gridLayout->setHorizontalSpacing(10);
|
|
|
gridLayout->setVerticalSpacing(15);
|
|
|
- checkBoxSwitch = new QCheckBox(widget);
|
|
|
+ checkBoxSwitch = new QCheckBox(groupBox);
|
|
|
checkBoxSwitch->setObjectName("checkBoxSwitch");
|
|
|
|
|
|
gridLayout->addWidget(checkBoxSwitch, 0, 0, 1, 1);
|
|
|
|
|
|
- label_7 = new QLabel(widget);
|
|
|
+ label_7 = new QLabel(groupBox);
|
|
|
label_7->setObjectName("label_7");
|
|
|
|
|
|
gridLayout->addWidget(label_7, 0, 1, 1, 1);
|
|
|
|
|
|
- comboBoxSwitch = new QComboBox(widget);
|
|
|
+ comboBoxSwitch = new QComboBox(groupBox);
|
|
|
comboBoxSwitch->setObjectName("comboBoxSwitch");
|
|
|
- comboBoxSwitch->setMinimumSize(QSize(500, 28));
|
|
|
+ comboBoxSwitch->setMinimumSize(QSize(500, 26));
|
|
|
|
|
|
gridLayout->addWidget(comboBoxSwitch, 0, 2, 1, 1);
|
|
|
|
|
|
- checkBoxWifiName = new QCheckBox(widget);
|
|
|
+ checkBoxWifiName = new QCheckBox(groupBox);
|
|
|
checkBoxWifiName->setObjectName("checkBoxWifiName");
|
|
|
|
|
|
gridLayout->addWidget(checkBoxWifiName, 1, 0, 1, 1);
|
|
|
|
|
|
- label_3 = new QLabel(widget);
|
|
|
+ label_3 = new QLabel(groupBox);
|
|
|
label_3->setObjectName("label_3");
|
|
|
|
|
|
gridLayout->addWidget(label_3, 1, 1, 1, 1);
|
|
|
|
|
|
- lineEditWifiName = new QLineEdit(widget);
|
|
|
+ lineEditWifiName = new QLineEdit(groupBox);
|
|
|
lineEditWifiName->setObjectName("lineEditWifiName");
|
|
|
- lineEditWifiName->setMinimumSize(QSize(620, 28));
|
|
|
- lineEditWifiName->setMaximumSize(QSize(500, 16777215));
|
|
|
+ lineEditWifiName->setMinimumSize(QSize(500, 26));
|
|
|
+ lineEditWifiName->setMaximumSize(QSize(16777215, 16777215));
|
|
|
lineEditWifiName->setMaxLength(32);
|
|
|
|
|
|
gridLayout->addWidget(lineEditWifiName, 1, 2, 1, 1);
|
|
|
|
|
|
- checkBoxWifiPwd = new QCheckBox(widget);
|
|
|
+ checkBoxWifiPwd = new QCheckBox(groupBox);
|
|
|
checkBoxWifiPwd->setObjectName("checkBoxWifiPwd");
|
|
|
|
|
|
gridLayout->addWidget(checkBoxWifiPwd, 2, 0, 1, 1);
|
|
|
|
|
|
- label_4 = new QLabel(widget);
|
|
|
+ label_4 = new QLabel(groupBox);
|
|
|
label_4->setObjectName("label_4");
|
|
|
|
|
|
gridLayout->addWidget(label_4, 2, 1, 1, 1);
|
|
|
|
|
|
- lineEditWifiPwd = new QLineEdit(widget);
|
|
|
+ lineEditWifiPwd = new QLineEdit(groupBox);
|
|
|
lineEditWifiPwd->setObjectName("lineEditWifiPwd");
|
|
|
- lineEditWifiPwd->setMinimumSize(QSize(620, 28));
|
|
|
- lineEditWifiPwd->setMaximumSize(QSize(500, 16777215));
|
|
|
+ lineEditWifiPwd->setMinimumSize(QSize(500, 26));
|
|
|
+ lineEditWifiPwd->setMaximumSize(QSize(16777215, 16777215));
|
|
|
lineEditWifiPwd->setMaxLength(32);
|
|
|
|
|
|
gridLayout->addWidget(lineEditWifiPwd, 2, 2, 1, 1);
|
|
|
|
|
|
- checkBoxServiceIp = new QCheckBox(widget);
|
|
|
+ checkBoxServiceIp = new QCheckBox(groupBox);
|
|
|
checkBoxServiceIp->setObjectName("checkBoxServiceIp");
|
|
|
|
|
|
gridLayout->addWidget(checkBoxServiceIp, 3, 0, 1, 1);
|
|
|
|
|
|
- label_6 = new QLabel(widget);
|
|
|
+ label_6 = new QLabel(groupBox);
|
|
|
label_6->setObjectName("label_6");
|
|
|
|
|
|
gridLayout->addWidget(label_6, 3, 1, 1, 1);
|
|
|
|
|
|
- lineEditServiceIp = new QLineEdit(widget);
|
|
|
+ lineEditServiceIp = new QLineEdit(groupBox);
|
|
|
lineEditServiceIp->setObjectName("lineEditServiceIp");
|
|
|
- lineEditServiceIp->setMinimumSize(QSize(620, 28));
|
|
|
- lineEditServiceIp->setMaximumSize(QSize(500, 16777215));
|
|
|
+ lineEditServiceIp->setMinimumSize(QSize(500, 26));
|
|
|
+ lineEditServiceIp->setMaximumSize(QSize(16777215, 16777215));
|
|
|
lineEditServiceIp->setMaxLength(32);
|
|
|
|
|
|
gridLayout->addWidget(lineEditServiceIp, 3, 2, 1, 1);
|
|
|
|
|
|
- checkBoxServicePort = new QCheckBox(widget);
|
|
|
+ checkBoxServicePort = new QCheckBox(groupBox);
|
|
|
checkBoxServicePort->setObjectName("checkBoxServicePort");
|
|
|
|
|
|
gridLayout->addWidget(checkBoxServicePort, 4, 0, 1, 1);
|
|
|
|
|
|
- label_5 = new QLabel(widget);
|
|
|
+ label_5 = new QLabel(groupBox);
|
|
|
label_5->setObjectName("label_5");
|
|
|
|
|
|
gridLayout->addWidget(label_5, 4, 1, 1, 1);
|
|
|
|
|
|
- spinBoxServicePort = new QSpinBox(widget);
|
|
|
+ spinBoxServicePort = new QSpinBox(groupBox);
|
|
|
spinBoxServicePort->setObjectName("spinBoxServicePort");
|
|
|
- spinBoxServicePort->setMinimumSize(QSize(620, 28));
|
|
|
+ spinBoxServicePort->setMinimumSize(QSize(500, 26));
|
|
|
spinBoxServicePort->setMaximumSize(QSize(500, 16777215));
|
|
|
spinBoxServicePort->setMaximum(65535);
|
|
|
+ spinBoxServicePort->setValue(8972);
|
|
|
|
|
|
gridLayout->addWidget(spinBoxServicePort, 4, 2, 1, 1);
|
|
|
|
|
@@ -186,32 +194,32 @@ public:
|
|
|
|
|
|
horizontalLayout = new QHBoxLayout();
|
|
|
horizontalLayout->setObjectName("horizontalLayout");
|
|
|
- pushButtonAllSel = new QPushButton(widget);
|
|
|
+ pushButtonAllSel = new QPushButton(groupBox);
|
|
|
pushButtonAllSel->setObjectName("pushButtonAllSel");
|
|
|
|
|
|
horizontalLayout->addWidget(pushButtonAllSel);
|
|
|
|
|
|
- pushButtonAllNoSel = new QPushButton(widget);
|
|
|
+ pushButtonAllNoSel = new QPushButton(groupBox);
|
|
|
pushButtonAllNoSel->setObjectName("pushButtonAllNoSel");
|
|
|
|
|
|
horizontalLayout->addWidget(pushButtonAllNoSel);
|
|
|
|
|
|
- pushButtonClear = new QPushButton(widget);
|
|
|
+ pushButtonClear = new QPushButton(groupBox);
|
|
|
pushButtonClear->setObjectName("pushButtonClear");
|
|
|
|
|
|
horizontalLayout->addWidget(pushButtonClear);
|
|
|
|
|
|
- pushButtonQuery = new QPushButton(widget);
|
|
|
+ pushButtonQuery = new QPushButton(groupBox);
|
|
|
pushButtonQuery->setObjectName("pushButtonQuery");
|
|
|
|
|
|
horizontalLayout->addWidget(pushButtonQuery);
|
|
|
|
|
|
- pushButtonConfig = new QPushButton(widget);
|
|
|
+ pushButtonConfig = new QPushButton(groupBox);
|
|
|
pushButtonConfig->setObjectName("pushButtonConfig");
|
|
|
|
|
|
horizontalLayout->addWidget(pushButtonConfig);
|
|
|
|
|
|
- pushButtonUpload = new QPushButton(widget);
|
|
|
+ pushButtonUpload = new QPushButton(groupBox);
|
|
|
pushButtonUpload->setObjectName("pushButtonUpload");
|
|
|
|
|
|
horizontalLayout->addWidget(pushButtonUpload);
|
|
@@ -220,27 +228,52 @@ public:
|
|
|
verticalLayout->addLayout(horizontalLayout);
|
|
|
|
|
|
|
|
|
- verticalLayout_2->addWidget(groupBox);
|
|
|
+ gridLayout_2->addLayout(verticalLayout, 0, 0, 1, 1);
|
|
|
+
|
|
|
|
|
|
+ verticalLayout_3->addWidget(groupBox);
|
|
|
+
|
|
|
+ verticalLayout_2 = new QVBoxLayout();
|
|
|
+ verticalLayout_2->setSpacing(15);
|
|
|
+ verticalLayout_2->setObjectName("verticalLayout_2");
|
|
|
label_22 = new QLabel(OamNetworkParam);
|
|
|
label_22->setObjectName("label_22");
|
|
|
|
|
|
verticalLayout_2->addWidget(label_22);
|
|
|
|
|
|
+ label = new QLabel(OamNetworkParam);
|
|
|
+ label->setObjectName("label");
|
|
|
|
|
|
- gridLayout_2->addLayout(verticalLayout_2, 1, 1, 1, 1);
|
|
|
+ verticalLayout_2->addWidget(label);
|
|
|
|
|
|
- horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
+ label_2 = new QLabel(OamNetworkParam);
|
|
|
+ label_2->setObjectName("label_2");
|
|
|
|
|
|
- gridLayout_2->addItem(horizontalSpacer, 1, 2, 1, 1);
|
|
|
+ verticalLayout_2->addWidget(label_2);
|
|
|
|
|
|
- horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
+ label_8 = new QLabel(OamNetworkParam);
|
|
|
+ label_8->setObjectName("label_8");
|
|
|
+
|
|
|
+ verticalLayout_2->addWidget(label_8);
|
|
|
+
|
|
|
+ label_9 = new QLabel(OamNetworkParam);
|
|
|
+ label_9->setObjectName("label_9");
|
|
|
+
|
|
|
+ verticalLayout_2->addWidget(label_9);
|
|
|
+
|
|
|
+
|
|
|
+ verticalLayout_3->addLayout(verticalLayout_2);
|
|
|
+
|
|
|
+
|
|
|
+ gridLayout_3->addLayout(verticalLayout_3, 1, 1, 1, 1);
|
|
|
+
|
|
|
+ verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
|
|
|
|
|
- gridLayout_2->addItem(horizontalSpacer_2, 1, 0, 1, 1);
|
|
|
+ gridLayout_3->addItem(verticalSpacer, 2, 1, 1, 1);
|
|
|
|
|
|
verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
|
|
|
|
|
- gridLayout_2->addItem(verticalSpacer_2, 2, 1, 1, 1);
|
|
|
+ gridLayout_3->addItem(verticalSpacer_2, 0, 1, 1, 1);
|
|
|
|
|
|
|
|
|
retranslateUi(OamNetworkParam);
|
|
@@ -259,16 +292,21 @@ public:
|
|
|
checkBoxWifiPwd->setText(QString());
|
|
|
label_4->setText(QCoreApplication::translate("OamNetworkParam", "WiFi \345\257\206\347\240\201", nullptr));
|
|
|
checkBoxServiceIp->setText(QString());
|
|
|
- label_6->setText(QCoreApplication::translate("OamNetworkParam", "\347\275\221\347\256\241\344\270\255\345\277\203IP", nullptr));
|
|
|
+ label_6->setText(QCoreApplication::translate("OamNetworkParam", "socket\345\234\260\345\235\200", nullptr));
|
|
|
+ lineEditServiceIp->setPlaceholderText(QCoreApplication::translate("OamNetworkParam", "www.xxx.cn\346\210\226\350\200\205xxx.xxx.xxx.xxx", nullptr));
|
|
|
checkBoxServicePort->setText(QString());
|
|
|
- label_5->setText(QCoreApplication::translate("OamNetworkParam", "\347\275\221\347\256\241\344\270\255\345\277\203\347\253\257\345\217\243", nullptr));
|
|
|
+ label_5->setText(QCoreApplication::translate("OamNetworkParam", "socket\347\253\257\345\217\243", nullptr));
|
|
|
pushButtonAllSel->setText(QCoreApplication::translate("OamNetworkParam", "\345\205\250\351\200\211", nullptr));
|
|
|
pushButtonAllNoSel->setText(QCoreApplication::translate("OamNetworkParam", "\345\205\250\344\270\215\351\200\211", nullptr));
|
|
|
pushButtonClear->setText(QCoreApplication::translate("OamNetworkParam", "\346\270\205\347\251\272", nullptr));
|
|
|
pushButtonQuery->setText(QCoreApplication::translate("OamNetworkParam", "\346\237\245\350\257\242", nullptr));
|
|
|
pushButtonConfig->setText(QCoreApplication::translate("OamNetworkParam", "\350\256\276\347\275\256", nullptr));
|
|
|
pushButtonUpload->setText(QCoreApplication::translate("OamNetworkParam", "\344\270\212\344\274\240\346\225\260\346\215\256", nullptr));
|
|
|
- label_22->setText(QCoreApplication::translate("OamNetworkParam", "\346\263\250\346\204\217\357\274\232\342\200\234\344\270\212\344\274\240\346\225\260\346\215\256\342\200\235\346\230\257\345\260\206\346\225\260\346\215\256\344\270\212\344\274\240\350\207\263\347\256\241\347\220\206\344\270\255\345\277\203", nullptr));
|
|
|
+ label_22->setText(QCoreApplication::translate("OamNetworkParam", "\346\263\250\346\204\217\357\274\232", nullptr));
|
|
|
+ label->setText(QCoreApplication::translate("OamNetworkParam", "1\343\200\201\347\275\221\347\256\241\344\275\277\350\203\275\350\213\245\351\200\211\346\213\251\346\211\223\345\274\200\357\274\214\345\210\231\345\217\257\350\277\234\347\250\213\347\256\241\347\220\206\350\256\276\345\244\207\345\217\202\346\225\260\357\274\214\345\214\205\346\213\254\350\275\257\344\273\266\345\215\207\347\272\247", nullptr));
|
|
|
+ label_2->setText(QCoreApplication::translate("OamNetworkParam", "2\343\200\201socket\345\234\260\345\235\200\357\274\214\345\215\263socket\346\234\215\345\212\241\345\231\250\350\256\277\351\227\256\345\234\260\345\235\200\357\274\214\345\217\257\344\273\245\346\230\257\345\237\237\345\220\215\344\271\237\345\217\257\344\273\245\346\230\257ip\345\234\260\345\235\200", nullptr));
|
|
|
+ label_8->setText(QCoreApplication::translate("OamNetworkParam", "3\343\200\201socket\347\253\257\345\217\243\357\274\214\345\215\263socket\346\234\215\345\212\241\345\231\250\347\233\221\345\220\254\347\253\257\345\217\243", nullptr));
|
|
|
+ label_9->setText(QCoreApplication::translate("OamNetworkParam", "4\343\200\201\344\270\212\344\274\240\346\225\260\346\215\256\357\274\214\345\215\263\345\260\206\346\225\260\346\215\256\344\270\212\344\274\240\350\207\263\347\256\241\347\220\206\344\270\255\345\277\203", nullptr));
|
|
|
} // retranslateUi
|
|
|
|
|
|
};
|