Classified ads
ui_manualConnectionDialog.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'manualConnectionDialog.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.9.1
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_MANUALCONNECTIONDIALOG_H
10 #define UI_MANUALCONNECTIONDIALOG_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QDialog>
17 #include <QtWidgets/QDialogButtonBox>
18 #include <QtWidgets/QGridLayout>
19 #include <QtWidgets/QHBoxLayout>
20 #include <QtWidgets/QHeaderView>
21 #include <QtWidgets/QLabel>
22 #include <QtWidgets/QLineEdit>
23 #include <QtWidgets/QSpinBox>
24 #include <QtWidgets/QVBoxLayout>
25 
26 QT_BEGIN_NAMESPACE
27 
29 {
30 public:
31  QGridLayout *gridLayout;
32  QVBoxLayout *verticalLayout;
33  QHBoxLayout *portLayout;
34  QLabel *portLabel;
35  QSpinBox *portEdit;
36  QHBoxLayout *addrLayout;
37  QLabel *addressLabel;
38  QLineEdit *addressEdit;
39  QDialogButtonBox *connectionDlgButtonBox;
40 
41  void setupUi(QDialog *manualConnectionDialog)
42  {
43  if (manualConnectionDialog->objectName().isEmpty())
44  manualConnectionDialog->setObjectName(QStringLiteral("manualConnectionDialog"));
45  manualConnectionDialog->resize(507, 164);
46  QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::MinimumExpanding);
47  sizePolicy.setHorizontalStretch(0);
48  sizePolicy.setVerticalStretch(0);
49  sizePolicy.setHeightForWidth(manualConnectionDialog->sizePolicy().hasHeightForWidth());
50  manualConnectionDialog->setSizePolicy(sizePolicy);
51  manualConnectionDialog->setMinimumSize(QSize(0, 0));
52  manualConnectionDialog->setSizeGripEnabled(true);
53  gridLayout = new QGridLayout(manualConnectionDialog);
54  gridLayout->setObjectName(QStringLiteral("gridLayout"));
55  verticalLayout = new QVBoxLayout();
56  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
57  verticalLayout->setSizeConstraint(QLayout::SetDefaultConstraint);
58  verticalLayout->setContentsMargins(-1, -1, -1, 0);
59  portLayout = new QHBoxLayout();
60  portLayout->setObjectName(QStringLiteral("portLayout"));
61  portLayout->setContentsMargins(-1, 0, -1, -1);
62  portLabel = new QLabel(manualConnectionDialog);
63  portLabel->setObjectName(QStringLiteral("portLabel"));
64 
65  portLayout->addWidget(portLabel);
66 
67  portEdit = new QSpinBox(manualConnectionDialog);
68  portEdit->setObjectName(QStringLiteral("portEdit"));
69  portEdit->setMaximumSize(QSize(100, 16777215));
70  portEdit->setMinimum(1);
71  portEdit->setMaximum(65535);
72 
73  portLayout->addWidget(portEdit);
74 
75 
76  verticalLayout->addLayout(portLayout);
77 
78  addrLayout = new QHBoxLayout();
79  addrLayout->setObjectName(QStringLiteral("addrLayout"));
80  addrLayout->setContentsMargins(-1, 0, -1, -1);
81  addressLabel = new QLabel(manualConnectionDialog);
82  addressLabel->setObjectName(QStringLiteral("addressLabel"));
83 
84  addrLayout->addWidget(addressLabel);
85 
86  addressEdit = new QLineEdit(manualConnectionDialog);
87  addressEdit->setObjectName(QStringLiteral("addressEdit"));
88  addressEdit->setMinimumSize(QSize(250, 0));
89 
90  addrLayout->addWidget(addressEdit);
91 
92 
93  verticalLayout->addLayout(addrLayout);
94 
95 
96  gridLayout->addLayout(verticalLayout, 0, 0, 1, 1);
97 
98  connectionDlgButtonBox = new QDialogButtonBox(manualConnectionDialog);
99  connectionDlgButtonBox->setObjectName(QStringLiteral("connectionDlgButtonBox"));
100  connectionDlgButtonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
101 
102  gridLayout->addWidget(connectionDlgButtonBox, 1, 0, 1, 1);
103 
104  QWidget::setTabOrder(portEdit, addressEdit);
105  QWidget::setTabOrder(addressEdit, connectionDlgButtonBox);
106 
107  retranslateUi(manualConnectionDialog);
108  QObject::connect(connectionDlgButtonBox, SIGNAL(rejected()), manualConnectionDialog, SLOT(reject()));
109 
110  QMetaObject::connectSlotsByName(manualConnectionDialog);
111  } // setupUi
112 
113  void retranslateUi(QDialog *manualConnectionDialog)
114  {
115  manualConnectionDialog->setWindowTitle(QApplication::translate("manualConnectionDialog", "Manually add node to connection queue", Q_NULLPTR));
116  portLabel->setText(QApplication::translate("manualConnectionDialog", "Remote node listen port", Q_NULLPTR));
117  addressLabel->setText(QApplication::translate("manualConnectionDialog", "Remote node network address", Q_NULLPTR));
118 #ifndef QT_NO_TOOLTIP
119  addressEdit->setToolTip(QApplication::translate("manualConnectionDialog", "IPv4, IPv6 or DNS name", Q_NULLPTR));
120 #endif // QT_NO_TOOLTIP
121  } // retranslateUi
122 
123 };
124 
125 namespace Ui {
127 } // namespace Ui
128 
129 QT_END_NAMESPACE
130 
131 #endif // UI_MANUALCONNECTIONDIALOG_H
QLabel * portLabel
Definition: ui_manualConnectionDialog.h:34
Definition: ui_aboutDialog.h:161
QHBoxLayout * addrLayout
Definition: ui_manualConnectionDialog.h:36
Definition: ui_manualConnectionDialog.h:126
QHBoxLayout * portLayout
Definition: ui_manualConnectionDialog.h:33
void setupUi(QDialog *manualConnectionDialog)
Definition: ui_manualConnectionDialog.h:41
QDialogButtonBox * connectionDlgButtonBox
Definition: ui_manualConnectionDialog.h:39
QLabel * addressLabel
Definition: ui_manualConnectionDialog.h:37
QLineEdit * addressEdit
Definition: ui_manualConnectionDialog.h:38
QVBoxLayout * verticalLayout
Definition: ui_manualConnectionDialog.h:32
QSpinBox * portEdit
Definition: ui_manualConnectionDialog.h:35
void retranslateUi(QDialog *manualConnectionDialog)
Definition: ui_manualConnectionDialog.h:113
QGridLayout * gridLayout
Definition: ui_manualConnectionDialog.h:31
Definition: ui_manualConnectionDialog.h:28