598 lines
27 KiB
Plaintext
598 lines
27 KiB
Plaintext
/********************************************************************************
|
|
** Form generated from reading UI file 'NetworkManager.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 4.8.5
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef UI_NETWORKMANAGER_H
|
|
#define UI_NETWORKMANAGER_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtGui/QAction>
|
|
#include <QtGui/QApplication>
|
|
#include <QtGui/QButtonGroup>
|
|
#include <QtGui/QCheckBox>
|
|
#include <QtGui/QComboBox>
|
|
#include <QtGui/QGridLayout>
|
|
#include <QtGui/QHBoxLayout>
|
|
#include <QtGui/QHeaderView>
|
|
#include <QtGui/QLabel>
|
|
#include <QtGui/QLineEdit>
|
|
#include <QtGui/QPushButton>
|
|
#include <QtGui/QRadioButton>
|
|
#include <QtGui/QSpinBox>
|
|
#include <QtGui/QVBoxLayout>
|
|
#include <QtGui/QWidget>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_NetworkManager
|
|
{
|
|
public:
|
|
QVBoxLayout *verticalLayout;
|
|
QGridLayout *gridLayout;
|
|
QLabel *textSSID;
|
|
QHBoxLayout *horiLayoutLanMask;
|
|
QSpinBox *spinBoxLanMask3;
|
|
QSpinBox *spinBoxLanMask2;
|
|
QSpinBox *spinBoxLanMask1;
|
|
QSpinBox *spinBoxLanMask0;
|
|
QLabel *labelWiFi;
|
|
QLabel *labelLanMask;
|
|
QLabel *labelLanGW;
|
|
QLabel *labelLanIP;
|
|
QLabel *textIPAdrr;
|
|
QLabel *IPAddrLabel;
|
|
QLabel *statusLabel;
|
|
QPushButton *pushButtonSetCancel;
|
|
QRadioButton *radioButtonGetDataEnable;
|
|
QHBoxLayout *horiLayoutLanIP;
|
|
QSpinBox *spinBoxLanIP3;
|
|
QSpinBox *spinBoxLanIP2;
|
|
QSpinBox *spinBoxLanIP1;
|
|
QSpinBox *spinBoxLanIP0;
|
|
QLabel *SSIDLabel;
|
|
QLabel *labelLan;
|
|
QLabel *textStatus;
|
|
QPushButton *pushButtonSetIP;
|
|
QPushButton *pushButtonDisconnect;
|
|
QHBoxLayout *horizontalLayout;
|
|
QSpinBox *spinBoxLanGW3;
|
|
QSpinBox *spinBoxLanGW2;
|
|
QSpinBox *spinBoxLanGW1;
|
|
QSpinBox *spinBoxLanGW0;
|
|
QGridLayout *wirelessGridLayout;
|
|
QComboBox *authSelect;
|
|
QLineEdit *passwordEdit;
|
|
QLabel *label;
|
|
QLabel *EncryptionLabel;
|
|
QLabel *label_2;
|
|
QComboBox *EncryptionSelect;
|
|
QLineEdit *server_port_lineEdit;
|
|
QLabel *label_4;
|
|
QLabel *pskLabel;
|
|
QComboBox *scanSSIDSelect;
|
|
QComboBox *networkSelect;
|
|
QPushButton *pushButtonConnect;
|
|
QLabel *passwordLabel;
|
|
QPushButton *pushButtonScan;
|
|
QPushButton *pushButtonRemove;
|
|
QLabel *authenticationLabel;
|
|
QLineEdit *pskEdit;
|
|
QPushButton *GetJsonpushButton;
|
|
QLabel *scanSSIDLabel;
|
|
QLabel *networkLabel;
|
|
QLineEdit *deviceID_lineEdit;
|
|
QLineEdit *SeverIP_lineEdit;
|
|
QPushButton *pushButtonAddNetworkd;
|
|
QLabel *messege_info_label;
|
|
QRadioButton *TestradioButton;
|
|
QPushButton *applicate_pushButton;
|
|
QCheckBox *checkBoxRemoveDigitCode;
|
|
QCheckBox *checkBoxRemoveCode;
|
|
|
|
void setupUi(QWidget *NetworkManager)
|
|
{
|
|
if (NetworkManager->objectName().isEmpty())
|
|
NetworkManager->setObjectName(QString::fromUtf8("NetworkManager"));
|
|
NetworkManager->setEnabled(true);
|
|
NetworkManager->resize(800, 600);
|
|
verticalLayout = new QVBoxLayout(NetworkManager);
|
|
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
|
gridLayout = new QGridLayout();
|
|
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
|
gridLayout->setSizeConstraint(QLayout::SetDefaultConstraint);
|
|
gridLayout->setContentsMargins(-1, -1, -1, 0);
|
|
textSSID = new QLabel(NetworkManager);
|
|
textSSID->setObjectName(QString::fromUtf8("textSSID"));
|
|
QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
|
|
sizePolicy.setHorizontalStretch(0);
|
|
sizePolicy.setVerticalStretch(0);
|
|
sizePolicy.setHeightForWidth(textSSID->sizePolicy().hasHeightForWidth());
|
|
textSSID->setSizePolicy(sizePolicy);
|
|
textSSID->setMinimumSize(QSize(0, 0));
|
|
|
|
gridLayout->addWidget(textSSID, 3, 2, 1, 1);
|
|
|
|
horiLayoutLanMask = new QHBoxLayout();
|
|
horiLayoutLanMask->setObjectName(QString::fromUtf8("horiLayoutLanMask"));
|
|
spinBoxLanMask3 = new QSpinBox(NetworkManager);
|
|
spinBoxLanMask3->setObjectName(QString::fromUtf8("spinBoxLanMask3"));
|
|
spinBoxLanMask3->setMinimumSize(QSize(0, 37));
|
|
spinBoxLanMask3->setMaximum(255);
|
|
spinBoxLanMask3->setValue(255);
|
|
|
|
horiLayoutLanMask->addWidget(spinBoxLanMask3);
|
|
|
|
spinBoxLanMask2 = new QSpinBox(NetworkManager);
|
|
spinBoxLanMask2->setObjectName(QString::fromUtf8("spinBoxLanMask2"));
|
|
QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Preferred);
|
|
sizePolicy1.setHorizontalStretch(0);
|
|
sizePolicy1.setVerticalStretch(0);
|
|
sizePolicy1.setHeightForWidth(spinBoxLanMask2->sizePolicy().hasHeightForWidth());
|
|
spinBoxLanMask2->setSizePolicy(sizePolicy1);
|
|
spinBoxLanMask2->setMaximum(255);
|
|
spinBoxLanMask2->setValue(255);
|
|
|
|
horiLayoutLanMask->addWidget(spinBoxLanMask2);
|
|
|
|
spinBoxLanMask1 = new QSpinBox(NetworkManager);
|
|
spinBoxLanMask1->setObjectName(QString::fromUtf8("spinBoxLanMask1"));
|
|
sizePolicy1.setHeightForWidth(spinBoxLanMask1->sizePolicy().hasHeightForWidth());
|
|
spinBoxLanMask1->setSizePolicy(sizePolicy1);
|
|
spinBoxLanMask1->setMinimum(0);
|
|
spinBoxLanMask1->setMaximum(255);
|
|
spinBoxLanMask1->setValue(255);
|
|
|
|
horiLayoutLanMask->addWidget(spinBoxLanMask1);
|
|
|
|
spinBoxLanMask0 = new QSpinBox(NetworkManager);
|
|
spinBoxLanMask0->setObjectName(QString::fromUtf8("spinBoxLanMask0"));
|
|
sizePolicy1.setHeightForWidth(spinBoxLanMask0->sizePolicy().hasHeightForWidth());
|
|
spinBoxLanMask0->setSizePolicy(sizePolicy1);
|
|
spinBoxLanMask0->setMinimum(0);
|
|
spinBoxLanMask0->setMaximum(255);
|
|
spinBoxLanMask0->setValue(0);
|
|
|
|
horiLayoutLanMask->addWidget(spinBoxLanMask0);
|
|
|
|
|
|
gridLayout->addLayout(horiLayoutLanMask, 1, 2, 1, 1);
|
|
|
|
labelWiFi = new QLabel(NetworkManager);
|
|
labelWiFi->setObjectName(QString::fromUtf8("labelWiFi"));
|
|
|
|
gridLayout->addWidget(labelWiFi, 3, 0, 1, 1);
|
|
|
|
labelLanMask = new QLabel(NetworkManager);
|
|
labelLanMask->setObjectName(QString::fromUtf8("labelLanMask"));
|
|
|
|
gridLayout->addWidget(labelLanMask, 1, 1, 1, 1);
|
|
|
|
labelLanGW = new QLabel(NetworkManager);
|
|
labelLanGW->setObjectName(QString::fromUtf8("labelLanGW"));
|
|
|
|
gridLayout->addWidget(labelLanGW, 2, 1, 1, 1);
|
|
|
|
labelLanIP = new QLabel(NetworkManager);
|
|
labelLanIP->setObjectName(QString::fromUtf8("labelLanIP"));
|
|
|
|
gridLayout->addWidget(labelLanIP, 0, 1, 1, 1);
|
|
|
|
textIPAdrr = new QLabel(NetworkManager);
|
|
textIPAdrr->setObjectName(QString::fromUtf8("textIPAdrr"));
|
|
|
|
gridLayout->addWidget(textIPAdrr, 4, 2, 1, 1);
|
|
|
|
IPAddrLabel = new QLabel(NetworkManager);
|
|
IPAddrLabel->setObjectName(QString::fromUtf8("IPAddrLabel"));
|
|
|
|
gridLayout->addWidget(IPAddrLabel, 4, 1, 1, 1);
|
|
|
|
statusLabel = new QLabel(NetworkManager);
|
|
statusLabel->setObjectName(QString::fromUtf8("statusLabel"));
|
|
QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Fixed);
|
|
sizePolicy2.setHorizontalStretch(0);
|
|
sizePolicy2.setVerticalStretch(0);
|
|
sizePolicy2.setHeightForWidth(statusLabel->sizePolicy().hasHeightForWidth());
|
|
statusLabel->setSizePolicy(sizePolicy2);
|
|
|
|
gridLayout->addWidget(statusLabel, 5, 1, 1, 1);
|
|
|
|
pushButtonSetCancel = new QPushButton(NetworkManager);
|
|
pushButtonSetCancel->setObjectName(QString::fromUtf8("pushButtonSetCancel"));
|
|
pushButtonSetCancel->setMinimumSize(QSize(0, 37));
|
|
|
|
gridLayout->addWidget(pushButtonSetCancel, 1, 3, 1, 1);
|
|
|
|
radioButtonGetDataEnable = new QRadioButton(NetworkManager);
|
|
radioButtonGetDataEnable->setObjectName(QString::fromUtf8("radioButtonGetDataEnable"));
|
|
radioButtonGetDataEnable->setMouseTracking(true);
|
|
|
|
gridLayout->addWidget(radioButtonGetDataEnable, 4, 3, 1, 1);
|
|
|
|
horiLayoutLanIP = new QHBoxLayout();
|
|
horiLayoutLanIP->setObjectName(QString::fromUtf8("horiLayoutLanIP"));
|
|
spinBoxLanIP3 = new QSpinBox(NetworkManager);
|
|
spinBoxLanIP3->setObjectName(QString::fromUtf8("spinBoxLanIP3"));
|
|
QSizePolicy sizePolicy3(QSizePolicy::Minimum, QSizePolicy::Fixed);
|
|
sizePolicy3.setHorizontalStretch(0);
|
|
sizePolicy3.setVerticalStretch(0);
|
|
sizePolicy3.setHeightForWidth(spinBoxLanIP3->sizePolicy().hasHeightForWidth());
|
|
spinBoxLanIP3->setSizePolicy(sizePolicy3);
|
|
spinBoxLanIP3->setMinimumSize(QSize(0, 37));
|
|
spinBoxLanIP3->setMinimum(0);
|
|
spinBoxLanIP3->setMaximum(255);
|
|
spinBoxLanIP3->setValue(0);
|
|
|
|
horiLayoutLanIP->addWidget(spinBoxLanIP3);
|
|
|
|
spinBoxLanIP2 = new QSpinBox(NetworkManager);
|
|
spinBoxLanIP2->setObjectName(QString::fromUtf8("spinBoxLanIP2"));
|
|
sizePolicy1.setHeightForWidth(spinBoxLanIP2->sizePolicy().hasHeightForWidth());
|
|
spinBoxLanIP2->setSizePolicy(sizePolicy1);
|
|
spinBoxLanIP2->setMaximum(255);
|
|
spinBoxLanIP2->setValue(0);
|
|
|
|
horiLayoutLanIP->addWidget(spinBoxLanIP2);
|
|
|
|
spinBoxLanIP1 = new QSpinBox(NetworkManager);
|
|
spinBoxLanIP1->setObjectName(QString::fromUtf8("spinBoxLanIP1"));
|
|
sizePolicy1.setHeightForWidth(spinBoxLanIP1->sizePolicy().hasHeightForWidth());
|
|
spinBoxLanIP1->setSizePolicy(sizePolicy1);
|
|
spinBoxLanIP1->setMinimum(0);
|
|
spinBoxLanIP1->setMaximum(255);
|
|
spinBoxLanIP1->setValue(0);
|
|
|
|
horiLayoutLanIP->addWidget(spinBoxLanIP1);
|
|
|
|
spinBoxLanIP0 = new QSpinBox(NetworkManager);
|
|
spinBoxLanIP0->setObjectName(QString::fromUtf8("spinBoxLanIP0"));
|
|
sizePolicy1.setHeightForWidth(spinBoxLanIP0->sizePolicy().hasHeightForWidth());
|
|
spinBoxLanIP0->setSizePolicy(sizePolicy1);
|
|
spinBoxLanIP0->setMinimum(0);
|
|
spinBoxLanIP0->setMaximum(254);
|
|
spinBoxLanIP0->setSingleStep(1);
|
|
spinBoxLanIP0->setValue(0);
|
|
|
|
horiLayoutLanIP->addWidget(spinBoxLanIP0);
|
|
|
|
|
|
gridLayout->addLayout(horiLayoutLanIP, 0, 2, 1, 1);
|
|
|
|
SSIDLabel = new QLabel(NetworkManager);
|
|
SSIDLabel->setObjectName(QString::fromUtf8("SSIDLabel"));
|
|
|
|
gridLayout->addWidget(SSIDLabel, 3, 1, 1, 1);
|
|
|
|
labelLan = new QLabel(NetworkManager);
|
|
labelLan->setObjectName(QString::fromUtf8("labelLan"));
|
|
|
|
gridLayout->addWidget(labelLan, 1, 0, 1, 1);
|
|
|
|
textStatus = new QLabel(NetworkManager);
|
|
textStatus->setObjectName(QString::fromUtf8("textStatus"));
|
|
|
|
gridLayout->addWidget(textStatus, 5, 2, 1, 1);
|
|
|
|
pushButtonSetIP = new QPushButton(NetworkManager);
|
|
pushButtonSetIP->setObjectName(QString::fromUtf8("pushButtonSetIP"));
|
|
pushButtonSetIP->setMinimumSize(QSize(0, 37));
|
|
|
|
gridLayout->addWidget(pushButtonSetIP, 0, 3, 1, 1);
|
|
|
|
pushButtonDisconnect = new QPushButton(NetworkManager);
|
|
pushButtonDisconnect->setObjectName(QString::fromUtf8("pushButtonDisconnect"));
|
|
pushButtonDisconnect->setMinimumSize(QSize(0, 37));
|
|
|
|
gridLayout->addWidget(pushButtonDisconnect, 3, 3, 1, 1);
|
|
|
|
horizontalLayout = new QHBoxLayout();
|
|
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
|
spinBoxLanGW3 = new QSpinBox(NetworkManager);
|
|
spinBoxLanGW3->setObjectName(QString::fromUtf8("spinBoxLanGW3"));
|
|
spinBoxLanGW3->setMinimumSize(QSize(0, 37));
|
|
spinBoxLanGW3->setMaximum(255);
|
|
|
|
horizontalLayout->addWidget(spinBoxLanGW3);
|
|
|
|
spinBoxLanGW2 = new QSpinBox(NetworkManager);
|
|
spinBoxLanGW2->setObjectName(QString::fromUtf8("spinBoxLanGW2"));
|
|
sizePolicy3.setHeightForWidth(spinBoxLanGW2->sizePolicy().hasHeightForWidth());
|
|
spinBoxLanGW2->setSizePolicy(sizePolicy3);
|
|
spinBoxLanGW2->setMinimumSize(QSize(0, 37));
|
|
spinBoxLanGW2->setMaximum(255);
|
|
|
|
horizontalLayout->addWidget(spinBoxLanGW2);
|
|
|
|
spinBoxLanGW1 = new QSpinBox(NetworkManager);
|
|
spinBoxLanGW1->setObjectName(QString::fromUtf8("spinBoxLanGW1"));
|
|
sizePolicy3.setHeightForWidth(spinBoxLanGW1->sizePolicy().hasHeightForWidth());
|
|
spinBoxLanGW1->setSizePolicy(sizePolicy3);
|
|
spinBoxLanGW1->setMinimumSize(QSize(0, 37));
|
|
spinBoxLanGW1->setMaximum(255);
|
|
|
|
horizontalLayout->addWidget(spinBoxLanGW1);
|
|
|
|
spinBoxLanGW0 = new QSpinBox(NetworkManager);
|
|
spinBoxLanGW0->setObjectName(QString::fromUtf8("spinBoxLanGW0"));
|
|
sizePolicy3.setHeightForWidth(spinBoxLanGW0->sizePolicy().hasHeightForWidth());
|
|
spinBoxLanGW0->setSizePolicy(sizePolicy3);
|
|
spinBoxLanGW0->setMinimumSize(QSize(0, 37));
|
|
spinBoxLanGW0->setMaximum(255);
|
|
spinBoxLanGW0->setValue(1);
|
|
|
|
horizontalLayout->addWidget(spinBoxLanGW0);
|
|
|
|
|
|
gridLayout->addLayout(horizontalLayout, 2, 2, 1, 1);
|
|
|
|
|
|
verticalLayout->addLayout(gridLayout);
|
|
|
|
wirelessGridLayout = new QGridLayout();
|
|
wirelessGridLayout->setObjectName(QString::fromUtf8("wirelessGridLayout"));
|
|
authSelect = new QComboBox(NetworkManager);
|
|
authSelect->setObjectName(QString::fromUtf8("authSelect"));
|
|
authSelect->setMinimumSize(QSize(0, 37));
|
|
authSelect->setMaximumSize(QSize(200, 16777215));
|
|
|
|
wirelessGridLayout->addWidget(authSelect, 2, 1, 1, 1);
|
|
|
|
passwordEdit = new QLineEdit(NetworkManager);
|
|
passwordEdit->setObjectName(QString::fromUtf8("passwordEdit"));
|
|
passwordEdit->setMinimumSize(QSize(0, 37));
|
|
passwordEdit->setMaximumSize(QSize(200, 16777215));
|
|
passwordEdit->setEchoMode(QLineEdit::PasswordEchoOnEdit);
|
|
|
|
wirelessGridLayout->addWidget(passwordEdit, 5, 1, 1, 1);
|
|
|
|
label = new QLabel(NetworkManager);
|
|
label->setObjectName(QString::fromUtf8("label"));
|
|
|
|
wirelessGridLayout->addWidget(label, 2, 2, 1, 1);
|
|
|
|
EncryptionLabel = new QLabel(NetworkManager);
|
|
EncryptionLabel->setObjectName(QString::fromUtf8("EncryptionLabel"));
|
|
|
|
wirelessGridLayout->addWidget(EncryptionLabel, 3, 0, 1, 1);
|
|
|
|
label_2 = new QLabel(NetworkManager);
|
|
label_2->setObjectName(QString::fromUtf8("label_2"));
|
|
|
|
wirelessGridLayout->addWidget(label_2, 3, 2, 1, 1);
|
|
|
|
EncryptionSelect = new QComboBox(NetworkManager);
|
|
EncryptionSelect->setObjectName(QString::fromUtf8("EncryptionSelect"));
|
|
EncryptionSelect->setMinimumSize(QSize(0, 37));
|
|
EncryptionSelect->setMaximumSize(QSize(200, 16777215));
|
|
|
|
wirelessGridLayout->addWidget(EncryptionSelect, 3, 1, 1, 1);
|
|
|
|
server_port_lineEdit = new QLineEdit(NetworkManager);
|
|
server_port_lineEdit->setObjectName(QString::fromUtf8("server_port_lineEdit"));
|
|
sizePolicy.setHeightForWidth(server_port_lineEdit->sizePolicy().hasHeightForWidth());
|
|
server_port_lineEdit->setSizePolicy(sizePolicy);
|
|
|
|
wirelessGridLayout->addWidget(server_port_lineEdit, 4, 3, 1, 1);
|
|
|
|
label_4 = new QLabel(NetworkManager);
|
|
label_4->setObjectName(QString::fromUtf8("label_4"));
|
|
|
|
wirelessGridLayout->addWidget(label_4, 4, 2, 1, 1);
|
|
|
|
pskLabel = new QLabel(NetworkManager);
|
|
pskLabel->setObjectName(QString::fromUtf8("pskLabel"));
|
|
|
|
wirelessGridLayout->addWidget(pskLabel, 4, 0, 1, 1);
|
|
|
|
scanSSIDSelect = new QComboBox(NetworkManager);
|
|
scanSSIDSelect->setObjectName(QString::fromUtf8("scanSSIDSelect"));
|
|
scanSSIDSelect->setMinimumSize(QSize(0, 37));
|
|
scanSSIDSelect->setMaximumSize(QSize(200, 16777215));
|
|
|
|
wirelessGridLayout->addWidget(scanSSIDSelect, 1, 1, 1, 1);
|
|
|
|
networkSelect = new QComboBox(NetworkManager);
|
|
networkSelect->setObjectName(QString::fromUtf8("networkSelect"));
|
|
networkSelect->setMinimumSize(QSize(0, 37));
|
|
networkSelect->setMaximumSize(QSize(200, 16777215));
|
|
|
|
wirelessGridLayout->addWidget(networkSelect, 0, 1, 1, 1);
|
|
|
|
pushButtonConnect = new QPushButton(NetworkManager);
|
|
pushButtonConnect->setObjectName(QString::fromUtf8("pushButtonConnect"));
|
|
pushButtonConnect->setMinimumSize(QSize(0, 37));
|
|
|
|
wirelessGridLayout->addWidget(pushButtonConnect, 0, 2, 1, 1);
|
|
|
|
passwordLabel = new QLabel(NetworkManager);
|
|
passwordLabel->setObjectName(QString::fromUtf8("passwordLabel"));
|
|
|
|
wirelessGridLayout->addWidget(passwordLabel, 5, 0, 1, 1);
|
|
|
|
pushButtonScan = new QPushButton(NetworkManager);
|
|
pushButtonScan->setObjectName(QString::fromUtf8("pushButtonScan"));
|
|
pushButtonScan->setMinimumSize(QSize(0, 37));
|
|
|
|
wirelessGridLayout->addWidget(pushButtonScan, 6, 0, 1, 1);
|
|
|
|
pushButtonRemove = new QPushButton(NetworkManager);
|
|
pushButtonRemove->setObjectName(QString::fromUtf8("pushButtonRemove"));
|
|
pushButtonRemove->setMinimumSize(QSize(0, 37));
|
|
|
|
wirelessGridLayout->addWidget(pushButtonRemove, 0, 3, 1, 1);
|
|
|
|
authenticationLabel = new QLabel(NetworkManager);
|
|
authenticationLabel->setObjectName(QString::fromUtf8("authenticationLabel"));
|
|
|
|
wirelessGridLayout->addWidget(authenticationLabel, 2, 0, 1, 1);
|
|
|
|
pskEdit = new QLineEdit(NetworkManager);
|
|
pskEdit->setObjectName(QString::fromUtf8("pskEdit"));
|
|
pskEdit->setMinimumSize(QSize(0, 37));
|
|
pskEdit->setMaximumSize(QSize(200, 16777215));
|
|
pskEdit->setEchoMode(QLineEdit::PasswordEchoOnEdit);
|
|
|
|
wirelessGridLayout->addWidget(pskEdit, 4, 1, 1, 1);
|
|
|
|
GetJsonpushButton = new QPushButton(NetworkManager);
|
|
GetJsonpushButton->setObjectName(QString::fromUtf8("GetJsonpushButton"));
|
|
GetJsonpushButton->setMinimumSize(QSize(0, 37));
|
|
|
|
wirelessGridLayout->addWidget(GetJsonpushButton, 1, 2, 1, 1);
|
|
|
|
scanSSIDLabel = new QLabel(NetworkManager);
|
|
scanSSIDLabel->setObjectName(QString::fromUtf8("scanSSIDLabel"));
|
|
|
|
wirelessGridLayout->addWidget(scanSSIDLabel, 1, 0, 1, 1);
|
|
|
|
networkLabel = new QLabel(NetworkManager);
|
|
networkLabel->setObjectName(QString::fromUtf8("networkLabel"));
|
|
|
|
wirelessGridLayout->addWidget(networkLabel, 0, 0, 1, 1);
|
|
|
|
deviceID_lineEdit = new QLineEdit(NetworkManager);
|
|
deviceID_lineEdit->setObjectName(QString::fromUtf8("deviceID_lineEdit"));
|
|
sizePolicy.setHeightForWidth(deviceID_lineEdit->sizePolicy().hasHeightForWidth());
|
|
deviceID_lineEdit->setSizePolicy(sizePolicy);
|
|
|
|
wirelessGridLayout->addWidget(deviceID_lineEdit, 2, 3, 1, 1);
|
|
|
|
SeverIP_lineEdit = new QLineEdit(NetworkManager);
|
|
SeverIP_lineEdit->setObjectName(QString::fromUtf8("SeverIP_lineEdit"));
|
|
sizePolicy.setHeightForWidth(SeverIP_lineEdit->sizePolicy().hasHeightForWidth());
|
|
SeverIP_lineEdit->setSizePolicy(sizePolicy);
|
|
|
|
wirelessGridLayout->addWidget(SeverIP_lineEdit, 3, 3, 1, 1);
|
|
|
|
pushButtonAddNetworkd = new QPushButton(NetworkManager);
|
|
pushButtonAddNetworkd->setObjectName(QString::fromUtf8("pushButtonAddNetworkd"));
|
|
pushButtonAddNetworkd->setMinimumSize(QSize(0, 37));
|
|
pushButtonAddNetworkd->setMaximumSize(QSize(200, 16777215));
|
|
|
|
wirelessGridLayout->addWidget(pushButtonAddNetworkd, 6, 1, 1, 1);
|
|
|
|
messege_info_label = new QLabel(NetworkManager);
|
|
messege_info_label->setObjectName(QString::fromUtf8("messege_info_label"));
|
|
|
|
wirelessGridLayout->addWidget(messege_info_label, 1, 3, 1, 1);
|
|
|
|
TestradioButton = new QRadioButton(NetworkManager);
|
|
TestradioButton->setObjectName(QString::fromUtf8("TestradioButton"));
|
|
sizePolicy1.setHeightForWidth(TestradioButton->sizePolicy().hasHeightForWidth());
|
|
TestradioButton->setSizePolicy(sizePolicy1);
|
|
TestradioButton->setStyleSheet(QString::fromUtf8("QRadioButton::indicator\n"
|
|
"{\n"
|
|
" width: 30px;\n"
|
|
" height: 30px;\n"
|
|
"}\n"
|
|
"\n"
|
|
"\n"
|
|
"\n"
|
|
""));
|
|
TestradioButton->setAutoExclusive(false);
|
|
|
|
wirelessGridLayout->addWidget(TestradioButton, 5, 2, 1, 1);
|
|
|
|
applicate_pushButton = new QPushButton(NetworkManager);
|
|
applicate_pushButton->setObjectName(QString::fromUtf8("applicate_pushButton"));
|
|
applicate_pushButton->setMinimumSize(QSize(0, 37));
|
|
|
|
wirelessGridLayout->addWidget(applicate_pushButton, 6, 3, 1, 1);
|
|
|
|
checkBoxRemoveDigitCode = new QCheckBox(NetworkManager);
|
|
checkBoxRemoveDigitCode->setObjectName(QString::fromUtf8("checkBoxRemoveDigitCode"));
|
|
sizePolicy1.setHeightForWidth(checkBoxRemoveDigitCode->sizePolicy().hasHeightForWidth());
|
|
checkBoxRemoveDigitCode->setSizePolicy(sizePolicy1);
|
|
|
|
wirelessGridLayout->addWidget(checkBoxRemoveDigitCode, 5, 3, 1, 1);
|
|
|
|
checkBoxRemoveCode = new QCheckBox(NetworkManager);
|
|
checkBoxRemoveCode->setObjectName(QString::fromUtf8("checkBoxRemoveCode"));
|
|
sizePolicy1.setHeightForWidth(checkBoxRemoveCode->sizePolicy().hasHeightForWidth());
|
|
checkBoxRemoveCode->setSizePolicy(sizePolicy1);
|
|
|
|
wirelessGridLayout->addWidget(checkBoxRemoveCode, 6, 2, 1, 1);
|
|
|
|
|
|
verticalLayout->addLayout(wirelessGridLayout);
|
|
|
|
|
|
retranslateUi(NetworkManager);
|
|
|
|
QMetaObject::connectSlotsByName(NetworkManager);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QWidget *NetworkManager)
|
|
{
|
|
NetworkManager->setWindowTitle(QApplication::translate("NetworkManager", "Form", 0, QApplication::UnicodeUTF8));
|
|
textSSID->setText(QString());
|
|
labelWiFi->setText(QApplication::translate("NetworkManager", "WiFi:", 0, QApplication::UnicodeUTF8));
|
|
labelLanMask->setText(QApplication::translate("NetworkManager", "Mask:", 0, QApplication::UnicodeUTF8));
|
|
labelLanGW->setText(QApplication::translate("NetworkManager", "GW:", 0, QApplication::UnicodeUTF8));
|
|
labelLanIP->setText(QApplication::translate("NetworkManager", "IP:", 0, QApplication::UnicodeUTF8));
|
|
textIPAdrr->setText(QString());
|
|
IPAddrLabel->setText(QApplication::translate("NetworkManager", "IP:", 0, QApplication::UnicodeUTF8));
|
|
statusLabel->setText(QApplication::translate("NetworkManager", "Status:", 0, QApplication::UnicodeUTF8));
|
|
pushButtonSetCancel->setText(QApplication::translate("NetworkManager", "\345\217\226\346\266\210", 0, QApplication::UnicodeUTF8));
|
|
radioButtonGetDataEnable->setText(QApplication::translate("NetworkManager", "\344\270\273\350\216\267\345\217\226\346\225\260\346\215\256\346\214\211\351\222\256", 0, QApplication::UnicodeUTF8));
|
|
SSIDLabel->setText(QApplication::translate("NetworkManager", "SSID:", 0, QApplication::UnicodeUTF8));
|
|
labelLan->setText(QApplication::translate("NetworkManager", "\346\234\211\347\272\277LAN", 0, QApplication::UnicodeUTF8));
|
|
textStatus->setText(QString());
|
|
pushButtonSetIP->setText(QApplication::translate("NetworkManager", "\346\211\213\345\212\250\350\256\276\345\256\232", 0, QApplication::UnicodeUTF8));
|
|
pushButtonDisconnect->setText(QApplication::translate("NetworkManager", "Disconnect", 0, QApplication::UnicodeUTF8));
|
|
authSelect->clear();
|
|
authSelect->insertItems(0, QStringList()
|
|
<< QApplication::translate("NetworkManager", "Plaintext (open / no authentication)", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("NetworkManager", "Static WEP (no authentication)", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("NetworkManager", "Static WEP (Shared Key authentication)", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("NetworkManager", "IEEE 802.1X", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("NetworkManager", "WPA-Personal (PSK)", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("NetworkManager", "WPA-Enterprise (EAP)", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("NetworkManager", "WPA2-Personal (PSK)", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("NetworkManager", "WPA2-Enterprise (EAP)", 0, QApplication::UnicodeUTF8)
|
|
);
|
|
label->setText(QApplication::translate("NetworkManager", "\350\256\276\345\244\207\347\240\201:", 0, QApplication::UnicodeUTF8));
|
|
EncryptionLabel->setText(QApplication::translate("NetworkManager", "Encryption:", 0, QApplication::UnicodeUTF8));
|
|
label_2->setText(QApplication::translate("NetworkManager", "\346\234\215\345\212\241IP:", 0, QApplication::UnicodeUTF8));
|
|
EncryptionSelect->clear();
|
|
EncryptionSelect->insertItems(0, QStringList()
|
|
<< QApplication::translate("NetworkManager", "None", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("NetworkManager", "WEP", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("NetworkManager", "TKIP", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("NetworkManager", "CCMP", 0, QApplication::UnicodeUTF8)
|
|
);
|
|
server_port_lineEdit->setText(QApplication::translate("NetworkManager", "8754", 0, QApplication::UnicodeUTF8));
|
|
label_4->setText(QApplication::translate("NetworkManager", "\346\234\215\345\212\241\347\253\257\345\217\243:", 0, QApplication::UnicodeUTF8));
|
|
pskLabel->setText(QApplication::translate("NetworkManager", "PSK:", 0, QApplication::UnicodeUTF8));
|
|
pushButtonConnect->setText(QApplication::translate("NetworkManager", "Connect", 0, QApplication::UnicodeUTF8));
|
|
passwordLabel->setText(QApplication::translate("NetworkManager", "Password:", 0, QApplication::UnicodeUTF8));
|
|
pushButtonScan->setText(QApplication::translate("NetworkManager", "Scan", 0, QApplication::UnicodeUTF8));
|
|
pushButtonRemove->setText(QApplication::translate("NetworkManager", "Remove", 0, QApplication::UnicodeUTF8));
|
|
authenticationLabel->setText(QApplication::translate("NetworkManager", "auth:", 0, QApplication::UnicodeUTF8));
|
|
GetJsonpushButton->setText(QApplication::translate("NetworkManager", "\350\216\267\345\217\226\346\225\260\346\215\256", 0, QApplication::UnicodeUTF8));
|
|
scanSSIDLabel->setText(QApplication::translate("NetworkManager", "ScanSSID", 0, QApplication::UnicodeUTF8));
|
|
networkLabel->setText(QApplication::translate("NetworkManager", "Network:", 0, QApplication::UnicodeUTF8));
|
|
deviceID_lineEdit->setText(QApplication::translate("NetworkManager", "1", 0, QApplication::UnicodeUTF8));
|
|
SeverIP_lineEdit->setText(QApplication::translate("NetworkManager", "47.111.170.144", 0, QApplication::UnicodeUTF8));
|
|
pushButtonAddNetworkd->setText(QApplication::translate("NetworkManager", "AddNetwork", 0, QApplication::UnicodeUTF8));
|
|
messege_info_label->setText(QString());
|
|
TestradioButton->setText(QApplication::translate("NetworkManager", "\346\265\213\350\257\225", 0, QApplication::UnicodeUTF8));
|
|
applicate_pushButton->setText(QApplication::translate("NetworkManager", "\345\272\224\347\224\250\351\205\215\347\275\256", 0, QApplication::UnicodeUTF8));
|
|
checkBoxRemoveDigitCode->setText(QApplication::translate("NetworkManager", "\345\216\273\346\216\211\346\225\260\345\255\227\347\240\201", 0, QApplication::UnicodeUTF8));
|
|
checkBoxRemoveCode->setText(QApplication::translate("NetworkManager", "\345\216\273\346\216\211QR\347\240\201", 0, QApplication::UnicodeUTF8));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class NetworkManager: public Ui_NetworkManager {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_NETWORKMANAGER_H
|