1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'nicselector.ui' |
3 | ** |
4 | ** Created by: Qt User Interface Compiler version 5.15.9 |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! |
7 | ********************************************************************************/ |
8 | |
9 | #ifndef UI_NICSELECTOR_H |
10 | #define UI_NICSELECTOR_H |
11 | |
12 | #include <QtCore/QVariant> |
13 | #include <QtWidgets/QApplication> |
14 | #include <QtWidgets/QComboBox> |
15 | #include <QtWidgets/QDialog> |
16 | #include <QtWidgets/QDialogButtonBox> |
17 | #include <QtWidgets/QLabel> |
18 | #include <QtWidgets/QLineEdit> |
19 | #include <QtWidgets/QSpacerItem> |
20 | #include <QtWidgets/QVBoxLayout> |
21 | |
22 | QT_BEGIN_NAMESPACE |
23 | |
24 | class Ui_NicSelector |
25 | { |
26 | public: |
27 | QVBoxLayout *verticalLayout_3; |
28 | QVBoxLayout *verticalLayout; |
29 | QLabel *label; |
30 | QComboBox *ipSelector; |
31 | QSpacerItem *verticalSpacer; |
32 | QVBoxLayout *verticalLayout_2; |
33 | QLabel *label_2; |
34 | QLineEdit *portSelector; |
35 | QSpacerItem *verticalSpacer_2; |
36 | QDialogButtonBox *buttonBox; |
37 | |
38 | void setupUi(QDialog *NicSelector) |
39 | { |
40 | if (NicSelector->objectName().isEmpty()) |
41 | NicSelector->setObjectName(QString::fromUtf8(str: "NicSelector" )); |
42 | NicSelector->resize(w: 373, h: 213); |
43 | verticalLayout_3 = new QVBoxLayout(NicSelector); |
44 | verticalLayout_3->setObjectName(QString::fromUtf8(str: "verticalLayout_3" )); |
45 | verticalLayout = new QVBoxLayout(); |
46 | verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); |
47 | verticalLayout->setSizeConstraint(QLayout::SetFixedSize); |
48 | label = new QLabel(NicSelector); |
49 | label->setObjectName(QString::fromUtf8(str: "label" )); |
50 | |
51 | verticalLayout->addWidget(label); |
52 | |
53 | ipSelector = new QComboBox(NicSelector); |
54 | ipSelector->setObjectName(QString::fromUtf8(str: "ipSelector" )); |
55 | ipSelector->setMinimumSize(QSize(250, 0)); |
56 | |
57 | verticalLayout->addWidget(ipSelector); |
58 | |
59 | verticalSpacer = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Fixed); |
60 | |
61 | verticalLayout->addItem(verticalSpacer); |
62 | |
63 | |
64 | verticalLayout_3->addLayout(layout: verticalLayout); |
65 | |
66 | verticalLayout_2 = new QVBoxLayout(); |
67 | verticalLayout_2->setObjectName(QString::fromUtf8(str: "verticalLayout_2" )); |
68 | verticalLayout_2->setSizeConstraint(QLayout::SetFixedSize); |
69 | label_2 = new QLabel(NicSelector); |
70 | label_2->setObjectName(QString::fromUtf8(str: "label_2" )); |
71 | |
72 | verticalLayout_2->addWidget(label_2); |
73 | |
74 | portSelector = new QLineEdit(NicSelector); |
75 | portSelector->setObjectName(QString::fromUtf8(str: "portSelector" )); |
76 | QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); |
77 | sizePolicy.setHorizontalStretch(0); |
78 | sizePolicy.setVerticalStretch(0); |
79 | sizePolicy.setHeightForWidth(portSelector->sizePolicy().hasHeightForWidth()); |
80 | portSelector->setSizePolicy(sizePolicy); |
81 | |
82 | verticalLayout_2->addWidget(portSelector); |
83 | |
84 | verticalSpacer_2 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Fixed); |
85 | |
86 | verticalLayout_2->addItem(verticalSpacer_2); |
87 | |
88 | |
89 | verticalLayout_3->addLayout(layout: verticalLayout_2); |
90 | |
91 | buttonBox = new QDialogButtonBox(NicSelector); |
92 | buttonBox->setObjectName(QString::fromUtf8(str: "buttonBox" )); |
93 | buttonBox->setOrientation(Qt::Horizontal); |
94 | buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); |
95 | |
96 | verticalLayout_3->addWidget(buttonBox); |
97 | |
98 | |
99 | retranslateUi(NicSelector); |
100 | QObject::connect(sender: buttonBox, SIGNAL(accepted()), receiver: NicSelector, SLOT(accept())); |
101 | QObject::connect(sender: buttonBox, SIGNAL(rejected()), receiver: NicSelector, SLOT(reject())); |
102 | |
103 | QMetaObject::connectSlotsByName(o: NicSelector); |
104 | } // setupUi |
105 | |
106 | void retranslateUi(QDialog *NicSelector) |
107 | { |
108 | NicSelector->setWindowTitle(QCoreApplication::translate(context: "NicSelector" , key: "IP and port" , disambiguation: nullptr)); |
109 | label->setText(QCoreApplication::translate(context: "NicSelector" , key: "Listen on address:" , disambiguation: nullptr)); |
110 | label_2->setText(QCoreApplication::translate(context: "NicSelector" , key: "Port:" , disambiguation: nullptr)); |
111 | } // retranslateUi |
112 | |
113 | }; |
114 | |
115 | namespace Ui { |
116 | class NicSelector: public Ui_NicSelector {}; |
117 | } // namespace Ui |
118 | |
119 | QT_END_NAMESPACE |
120 | |
121 | #endif // UI_NICSELECTOR_H |
122 | |