9 #ifndef UI_GUI_PROXYPREFERENCES_H 10 #define UI_GUI_PROXYPREFERENCES_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QCheckBox> 15 #include <QtWidgets/QFrame> 16 #include <QtWidgets/QGridLayout> 17 #include <QtWidgets/QHBoxLayout> 18 #include <QtWidgets/QLabel> 19 #include <QtWidgets/QLineEdit> 20 #include <QtWidgets/QPushButton> 21 #include <QtWidgets/QSpacerItem> 22 #include <QtWidgets/QSpinBox> 23 #include <QtWidgets/QWidget> 30 QGridLayout *gridLayout;
32 QSpacerItem *verticalSpacer;
37 QLineEdit *leUsername;
38 QCheckBox *cbSavePassword;
39 QLineEdit *lePassword;
43 QHBoxLayout *horizontalLayout;
45 QSpacerItem *horizontalSpacer;
46 QPushButton *btnAutosearch;
54 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
56 labHost->setObjectName(QString::fromUtf8(
"labHost"));
58 gridLayout->addWidget(labHost, 2, 0, 1, 1);
60 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
62 gridLayout->addItem(verticalSpacer, 9, 1, 1, 1);
65 leHost->setObjectName(QString::fromUtf8(
"leHost"));
67 gridLayout->addWidget(leHost, 2, 1, 1, 1);
70 labUsername->setObjectName(QString::fromUtf8(
"labUsername"));
72 gridLayout->addWidget(labUsername, 5, 0, 1, 1);
75 line->setObjectName(QString::fromUtf8(
"line"));
76 line->setFrameShape(QFrame::HLine);
77 line->setFrameShadow(QFrame::Sunken);
79 gridLayout->addWidget(line, 1, 0, 1, 2);
82 sbPort->setObjectName(QString::fromUtf8(
"sbPort"));
83 sbPort->setMaximum(65536);
84 sbPort->setValue(3128);
86 gridLayout->addWidget(sbPort, 3, 1, 1, 1);
89 leUsername->setObjectName(QString::fromUtf8(
"leUsername"));
91 gridLayout->addWidget(leUsername, 5, 1, 1, 1);
94 cbSavePassword->setObjectName(QString::fromUtf8(
"cbSavePassword"));
96 gridLayout->addWidget(cbSavePassword, 7, 1, 1, 1);
99 lePassword->setObjectName(QString::fromUtf8(
"lePassword"));
100 lePassword->setEchoMode(QLineEdit::Password);
102 gridLayout->addWidget(lePassword, 6, 1, 1, 1);
105 labPort->setObjectName(QString::fromUtf8(
"labPort"));
107 gridLayout->addWidget(labPort, 3, 0, 1, 1);
110 labPassword->setObjectName(QString::fromUtf8(
"labPassword"));
112 gridLayout->addWidget(labPassword, 6, 0, 1, 1);
115 line_2->setObjectName(QString::fromUtf8(
"line_2"));
116 line_2->setFrameShape(QFrame::HLine);
117 line_2->setFrameShadow(QFrame::Sunken);
119 gridLayout->addWidget(line_2, 4, 0, 1, 2);
121 horizontalLayout =
new QHBoxLayout();
122 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
124 cbActive->setObjectName(QString::fromUtf8(
"cbActive"));
126 horizontalLayout->addWidget(cbActive);
128 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
130 horizontalLayout->addItem(horizontalSpacer);
133 btnAutosearch->setObjectName(QString::fromUtf8(
"btnAutosearch"));
135 horizontalLayout->addWidget(btnAutosearch);
138 gridLayout->addLayout(horizontalLayout, 0, 0, 1, 2);
140 QWidget::setTabOrder(leHost, sbPort);
141 QWidget::setTabOrder(sbPort, leUsername);
142 QWidget::setTabOrder(leUsername, lePassword);
143 QWidget::setTabOrder(lePassword, cbSavePassword);
153 labHost->setText(QCoreApplication::translate(
"GUI_ProxyPreferences",
"Host",
nullptr));
154 labUsername->setText(QCoreApplication::translate(
"GUI_ProxyPreferences",
"Username",
nullptr));
155 cbSavePassword->setText(QCoreApplication::translate(
"GUI_ProxyPreferences",
"Save username/password",
nullptr));
156 labPort->setText(QCoreApplication::translate(
"GUI_ProxyPreferences",
"Port",
nullptr));
157 labPassword->setText(QCoreApplication::translate(
"GUI_ProxyPreferences",
"Password",
nullptr));
158 cbActive->setText(QCoreApplication::translate(
"GUI_ProxyPreferences",
"Active",
nullptr));
159 btnAutosearch->setText(QCoreApplication::translate(
"GUI_ProxyPreferences",
"Automatic search",
nullptr));
170 #endif // UI_GUI_PROXYPREFERENCES_H Definition: GUI_ProxyPreferences.h:28
Definition: ui_GUI_ProxyPreferences.h:165
Definition: ui_GUI_ProxyPreferences.h:27