| 1 | /******************************************************************************** |
| 2 | ** Form generated from reading UI file 'addressdialog.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_ADDRESSDIALOG_H |
| 10 | #define UI_ADDRESSDIALOG_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/QGridLayout> |
| 18 | #include <QtWidgets/QLabel> |
| 19 | #include <QtWidgets/QLineEdit> |
| 20 | #include <QtWidgets/QVBoxLayout> |
| 21 | |
| 22 | QT_BEGIN_NAMESPACE |
| 23 | |
| 24 | class Ui_AddressDialog |
| 25 | { |
| 26 | public: |
| 27 | QVBoxLayout *verticalLayout; |
| 28 | QGridLayout *gridLayout; |
| 29 | QLabel *label; |
| 30 | QComboBox *addressSelector; |
| 31 | QLabel *label_2; |
| 32 | QLineEdit *portSelector; |
| 33 | QDialogButtonBox *buttonBox; |
| 34 | |
| 35 | void setupUi(QDialog *AddressDialog) |
| 36 | { |
| 37 | if (AddressDialog->objectName().isEmpty()) |
| 38 | AddressDialog->setObjectName(QString::fromUtf8(str: "AddressDialog" )); |
| 39 | AddressDialog->resize(w: 548, h: 143); |
| 40 | verticalLayout = new QVBoxLayout(AddressDialog); |
| 41 | verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); |
| 42 | gridLayout = new QGridLayout(); |
| 43 | gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout" )); |
| 44 | label = new QLabel(AddressDialog); |
| 45 | label->setObjectName(QString::fromUtf8(str: "label" )); |
| 46 | |
| 47 | gridLayout->addWidget(label, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
| 48 | |
| 49 | addressSelector = new QComboBox(AddressDialog); |
| 50 | addressSelector->setObjectName(QString::fromUtf8(str: "addressSelector" )); |
| 51 | QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); |
| 52 | sizePolicy.setHorizontalStretch(0); |
| 53 | sizePolicy.setVerticalStretch(0); |
| 54 | sizePolicy.setHeightForWidth(addressSelector->sizePolicy().hasHeightForWidth()); |
| 55 | addressSelector->setSizePolicy(sizePolicy); |
| 56 | addressSelector->setMinimumSize(QSize(320, 0)); |
| 57 | addressSelector->setMaximumSize(QSize(320, 16777215)); |
| 58 | addressSelector->setEditable(true); |
| 59 | addressSelector->setFrame(false); |
| 60 | |
| 61 | gridLayout->addWidget(addressSelector, row: 0, column: 1, rowSpan: 1, columnSpan: 1); |
| 62 | |
| 63 | label_2 = new QLabel(AddressDialog); |
| 64 | label_2->setObjectName(QString::fromUtf8(str: "label_2" )); |
| 65 | |
| 66 | gridLayout->addWidget(label_2, row: 1, column: 0, rowSpan: 1, columnSpan: 1); |
| 67 | |
| 68 | portSelector = new QLineEdit(AddressDialog); |
| 69 | portSelector->setObjectName(QString::fromUtf8(str: "portSelector" )); |
| 70 | sizePolicy.setHeightForWidth(portSelector->sizePolicy().hasHeightForWidth()); |
| 71 | portSelector->setSizePolicy(sizePolicy); |
| 72 | portSelector->setMinimumSize(QSize(320, 0)); |
| 73 | portSelector->setMaximumSize(QSize(320, 16777215)); |
| 74 | |
| 75 | gridLayout->addWidget(portSelector, row: 1, column: 1, rowSpan: 1, columnSpan: 1); |
| 76 | |
| 77 | |
| 78 | verticalLayout->addLayout(layout: gridLayout); |
| 79 | |
| 80 | buttonBox = new QDialogButtonBox(AddressDialog); |
| 81 | buttonBox->setObjectName(QString::fromUtf8(str: "buttonBox" )); |
| 82 | buttonBox->setOrientation(Qt::Horizontal); |
| 83 | buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); |
| 84 | |
| 85 | verticalLayout->addWidget(buttonBox); |
| 86 | |
| 87 | |
| 88 | retranslateUi(AddressDialog); |
| 89 | QObject::connect(sender: buttonBox, SIGNAL(accepted()), receiver: AddressDialog, SLOT(accept())); |
| 90 | QObject::connect(sender: buttonBox, SIGNAL(rejected()), receiver: AddressDialog, SLOT(reject())); |
| 91 | |
| 92 | QMetaObject::connectSlotsByName(o: AddressDialog); |
| 93 | } // setupUi |
| 94 | |
| 95 | void retranslateUi(QDialog *AddressDialog) |
| 96 | { |
| 97 | AddressDialog->setWindowTitle(QCoreApplication::translate(context: "AddressDialog" , key: "Host info" , disambiguation: nullptr)); |
| 98 | label->setText(QCoreApplication::translate(context: "AddressDialog" , key: "Host name (server's address):" , disambiguation: nullptr)); |
| 99 | label_2->setText(QCoreApplication::translate(context: "AddressDialog" , key: "Server port:" , disambiguation: nullptr)); |
| 100 | } // retranslateUi |
| 101 | |
| 102 | }; |
| 103 | |
| 104 | namespace Ui { |
| 105 | class AddressDialog: public Ui_AddressDialog {}; |
| 106 | } // namespace Ui |
| 107 | |
| 108 | QT_END_NAMESPACE |
| 109 | |
| 110 | #endif // UI_ADDRESSDIALOG_H |
| 111 | |