| 1 | /******************************************************************************** |
| 2 | ** Form generated from reading UI file 'service.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_SERVICE_H |
| 10 | #define UI_SERVICE_H |
| 11 | |
| 12 | #include <QtCore/QVariant> |
| 13 | #include <QtWidgets/QApplication> |
| 14 | #include <QtWidgets/QDialog> |
| 15 | #include <QtWidgets/QHBoxLayout> |
| 16 | #include <QtWidgets/QLabel> |
| 17 | #include <QtWidgets/QListWidget> |
| 18 | #include <QtWidgets/QPushButton> |
| 19 | #include <QtWidgets/QSpacerItem> |
| 20 | #include <QtWidgets/QVBoxLayout> |
| 21 | |
| 22 | QT_BEGIN_NAMESPACE |
| 23 | |
| 24 | class Ui_ServiceDiscovery |
| 25 | { |
| 26 | public: |
| 27 | QVBoxLayout *verticalLayout; |
| 28 | QListWidget *list; |
| 29 | QLabel *status; |
| 30 | QHBoxLayout *horizontalLayout; |
| 31 | QSpacerItem *horizontalSpacer; |
| 32 | QPushButton *close; |
| 33 | |
| 34 | void setupUi(QDialog *ServiceDiscovery) |
| 35 | { |
| 36 | if (ServiceDiscovery->objectName().isEmpty()) |
| 37 | ServiceDiscovery->setObjectName(QString::fromUtf8(str: "ServiceDiscovery" )); |
| 38 | ServiceDiscovery->resize(w: 400, h: 300); |
| 39 | verticalLayout = new QVBoxLayout(ServiceDiscovery); |
| 40 | verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); |
| 41 | list = new QListWidget(ServiceDiscovery); |
| 42 | list->setObjectName(QString::fromUtf8(str: "list" )); |
| 43 | |
| 44 | verticalLayout->addWidget(list); |
| 45 | |
| 46 | status = new QLabel(ServiceDiscovery); |
| 47 | status->setObjectName(QString::fromUtf8(str: "status" )); |
| 48 | |
| 49 | verticalLayout->addWidget(status); |
| 50 | |
| 51 | horizontalLayout = new QHBoxLayout(); |
| 52 | horizontalLayout->setObjectName(QString::fromUtf8(str: "horizontalLayout" )); |
| 53 | horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 54 | |
| 55 | horizontalLayout->addItem(horizontalSpacer); |
| 56 | |
| 57 | close = new QPushButton(ServiceDiscovery); |
| 58 | close->setObjectName(QString::fromUtf8(str: "close" )); |
| 59 | |
| 60 | horizontalLayout->addWidget(close); |
| 61 | |
| 62 | |
| 63 | verticalLayout->addLayout(layout: horizontalLayout); |
| 64 | |
| 65 | QWidget::setTabOrder(list, close); |
| 66 | |
| 67 | retranslateUi(ServiceDiscovery); |
| 68 | QObject::connect(sender: close, SIGNAL(clicked()), receiver: ServiceDiscovery, SLOT(accept())); |
| 69 | |
| 70 | QMetaObject::connectSlotsByName(o: ServiceDiscovery); |
| 71 | } // setupUi |
| 72 | |
| 73 | void retranslateUi(QDialog *ServiceDiscovery) |
| 74 | { |
| 75 | ServiceDiscovery->setWindowTitle(QCoreApplication::translate(context: "ServiceDiscovery" , key: "Available Services" , disambiguation: nullptr)); |
| 76 | status->setText(QCoreApplication::translate(context: "ServiceDiscovery" , key: "Querying..." , disambiguation: nullptr)); |
| 77 | close->setText(QCoreApplication::translate(context: "ServiceDiscovery" , key: "Close" , disambiguation: nullptr)); |
| 78 | } // retranslateUi |
| 79 | |
| 80 | }; |
| 81 | |
| 82 | namespace Ui { |
| 83 | class ServiceDiscovery: public Ui_ServiceDiscovery {}; |
| 84 | } // namespace Ui |
| 85 | |
| 86 | QT_END_NAMESPACE |
| 87 | |
| 88 | #endif // UI_SERVICE_H |
| 89 | |