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/QLabel> 18 #include <QtWidgets/QLineEdit> 19 #include <QtWidgets/QPushButton> 20 #include <QtWidgets/QSpacerItem> 21 #include <QtWidgets/QSpinBox> 22 #include <QtWidgets/QWidget> 29 QGridLayout *gridLayout;
32 QCheckBox *cb_save_pw;
34 QLineEdit *le_username;
37 QSpacerItem *verticalSpacer;
40 QLineEdit *le_password;
42 QPushButton *btn_autosearch;
50 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
52 le_host->setObjectName(QString::fromUtf8(
"le_host"));
54 gridLayout->addWidget(le_host, 2, 1, 1, 1);
57 lab_port->setObjectName(QString::fromUtf8(
"lab_port"));
59 gridLayout->addWidget(lab_port, 3, 0, 1, 1);
62 cb_save_pw->setObjectName(QString::fromUtf8(
"cb_save_pw"));
64 gridLayout->addWidget(cb_save_pw, 6, 1, 1, 1);
67 sb_port->setObjectName(QString::fromUtf8(
"sb_port"));
68 sb_port->setMaximum(65536);
69 sb_port->setValue(3128);
71 gridLayout->addWidget(sb_port, 3, 1, 1, 1);
74 le_username->setObjectName(QString::fromUtf8(
"le_username"));
76 gridLayout->addWidget(le_username, 4, 1, 1, 1);
79 line->setObjectName(QString::fromUtf8(
"line"));
80 line->setFrameShape(QFrame::HLine);
81 line->setFrameShadow(QFrame::Sunken);
83 gridLayout->addWidget(line, 1, 0, 1, 2);
86 cb_active->setObjectName(QString::fromUtf8(
"cb_active"));
88 gridLayout->addWidget(cb_active, 0, 0, 1, 1);
90 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
92 gridLayout->addItem(verticalSpacer, 8, 1, 1, 1);
95 lab_host->setObjectName(QString::fromUtf8(
"lab_host"));
97 gridLayout->addWidget(lab_host, 2, 0, 1, 1);
100 lab_password->setObjectName(QString::fromUtf8(
"lab_password"));
102 gridLayout->addWidget(lab_password, 5, 0, 1, 1);
105 le_password->setObjectName(QString::fromUtf8(
"le_password"));
106 le_password->setEchoMode(QLineEdit::Password);
108 gridLayout->addWidget(le_password, 5, 1, 1, 1);
111 lab_username->setObjectName(QString::fromUtf8(
"lab_username"));
113 gridLayout->addWidget(lab_username, 4, 0, 1, 1);
116 btn_autosearch->setObjectName(QString::fromUtf8(
"btn_autosearch"));
118 gridLayout->addWidget(btn_autosearch, 7, 1, 1, 1);
120 QWidget::setTabOrder(cb_active, le_host);
121 QWidget::setTabOrder(le_host, sb_port);
122 QWidget::setTabOrder(sb_port, le_username);
123 QWidget::setTabOrder(le_username, le_password);
124 QWidget::setTabOrder(le_password, cb_save_pw);
125 QWidget::setTabOrder(cb_save_pw, btn_autosearch);
135 lab_port->setText(QApplication::translate(
"GUI_ProxyPreferences",
"Port",
nullptr));
136 cb_save_pw->setText(QApplication::translate(
"GUI_ProxyPreferences",
"Save username/password",
nullptr));
137 cb_active->setText(QApplication::translate(
"GUI_ProxyPreferences",
"Active",
nullptr));
138 lab_host->setText(QApplication::translate(
"GUI_ProxyPreferences",
"Host",
nullptr));
139 lab_password->setText(QApplication::translate(
"GUI_ProxyPreferences",
"Password",
nullptr));
140 lab_username->setText(QApplication::translate(
"GUI_ProxyPreferences",
"Username",
nullptr));
141 btn_autosearch->setText(QApplication::translate(
"GUI_ProxyPreferences",
"Automatic search",
nullptr));
152 #endif // UI_GUI_PROXYPREFERENCES_H Definition: GUI_ProxyPreferences.h:28
Definition: ui_GUI_ProxyPreferences.h:147
Definition: ui_GUI_ProxyPreferences.h:26