| 1 | /******************************************************************************** | 
| 2 | ** Form generated from reading UI file 'chat.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_CHAT_H | 
| 10 | #define UI_CHAT_H | 
| 11 |  | 
| 12 | #include <QtCore/QVariant> | 
| 13 | #include <QtWidgets/QApplication> | 
| 14 | #include <QtWidgets/QDialog> | 
| 15 | #include <QtWidgets/QGroupBox> | 
| 16 | #include <QtWidgets/QHBoxLayout> | 
| 17 | #include <QtWidgets/QLineEdit> | 
| 18 | #include <QtWidgets/QPushButton> | 
| 19 | #include <QtWidgets/QRadioButton> | 
| 20 | #include <QtWidgets/QSpacerItem> | 
| 21 | #include <QtWidgets/QTextEdit> | 
| 22 | #include <QtWidgets/QVBoxLayout> | 
| 23 |  | 
| 24 | QT_BEGIN_NAMESPACE | 
| 25 |  | 
| 26 | class Ui_Chat | 
| 27 | { | 
| 28 | public: | 
| 29 |     QVBoxLayout *verticalLayout; | 
| 30 |     QGroupBox *localAdapterBox; | 
| 31 |     QHBoxLayout *horizontalLayout_3; | 
| 32 |     QRadioButton *firstAdapter; | 
| 33 |     QRadioButton *secondAdapter; | 
| 34 |     QTextEdit *chat; | 
| 35 |     QHBoxLayout *horizontalLayout; | 
| 36 |     QLineEdit *sendText; | 
| 37 |     QPushButton *sendButton; | 
| 38 |     QHBoxLayout *horizontalLayout_2; | 
| 39 |     QSpacerItem *horizontalSpacer; | 
| 40 |     QPushButton *connectButton; | 
| 41 |     QPushButton *quitButton; | 
| 42 |  | 
| 43 |     void setupUi(QDialog *Chat) | 
| 44 |     { | 
| 45 |         if (Chat->objectName().isEmpty()) | 
| 46 |             Chat->setObjectName(QString::fromUtf8(str: "Chat" )); | 
| 47 |         Chat->resize(w: 400, h: 300); | 
| 48 |         verticalLayout = new QVBoxLayout(Chat); | 
| 49 |         verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); | 
| 50 |         localAdapterBox = new QGroupBox(Chat); | 
| 51 |         localAdapterBox->setObjectName(QString::fromUtf8(str: "localAdapterBox" )); | 
| 52 |         localAdapterBox->setCheckable(false); | 
| 53 |         horizontalLayout_3 = new QHBoxLayout(localAdapterBox); | 
| 54 |         horizontalLayout_3->setObjectName(QString::fromUtf8(str: "horizontalLayout_3" )); | 
| 55 |         firstAdapter = new QRadioButton(localAdapterBox); | 
| 56 |         firstAdapter->setObjectName(QString::fromUtf8(str: "firstAdapter" )); | 
| 57 |  | 
| 58 |         horizontalLayout_3->addWidget(firstAdapter); | 
| 59 |  | 
| 60 |         secondAdapter = new QRadioButton(localAdapterBox); | 
| 61 |         secondAdapter->setObjectName(QString::fromUtf8(str: "secondAdapter" )); | 
| 62 |  | 
| 63 |         horizontalLayout_3->addWidget(secondAdapter); | 
| 64 |  | 
| 65 |  | 
| 66 |         verticalLayout->addWidget(localAdapterBox); | 
| 67 |  | 
| 68 |         chat = new QTextEdit(Chat); | 
| 69 |         chat->setObjectName(QString::fromUtf8(str: "chat" )); | 
| 70 |         chat->setFocusPolicy(Qt::NoFocus); | 
| 71 |  | 
| 72 |         verticalLayout->addWidget(chat); | 
| 73 |  | 
| 74 |         horizontalLayout = new QHBoxLayout(); | 
| 75 |         horizontalLayout->setObjectName(QString::fromUtf8(str: "horizontalLayout" )); | 
| 76 |         sendText = new QLineEdit(Chat); | 
| 77 |         sendText->setObjectName(QString::fromUtf8(str: "sendText" )); | 
| 78 |  | 
| 79 |         horizontalLayout->addWidget(sendText); | 
| 80 |  | 
| 81 |         sendButton = new QPushButton(Chat); | 
| 82 |         sendButton->setObjectName(QString::fromUtf8(str: "sendButton" )); | 
| 83 |  | 
| 84 |         horizontalLayout->addWidget(sendButton); | 
| 85 |  | 
| 86 |  | 
| 87 |         verticalLayout->addLayout(layout: horizontalLayout); | 
| 88 |  | 
| 89 |         horizontalLayout_2 = new QHBoxLayout(); | 
| 90 |         horizontalLayout_2->setObjectName(QString::fromUtf8(str: "horizontalLayout_2" )); | 
| 91 |         horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); | 
| 92 |  | 
| 93 |         horizontalLayout_2->addItem(horizontalSpacer); | 
| 94 |  | 
| 95 |         connectButton = new QPushButton(Chat); | 
| 96 |         connectButton->setObjectName(QString::fromUtf8(str: "connectButton" )); | 
| 97 |  | 
| 98 |         horizontalLayout_2->addWidget(connectButton); | 
| 99 |  | 
| 100 |  | 
| 101 |         verticalLayout->addLayout(layout: horizontalLayout_2); | 
| 102 |  | 
| 103 |         quitButton = new QPushButton(Chat); | 
| 104 |         quitButton->setObjectName(QString::fromUtf8(str: "quitButton" )); | 
| 105 |  | 
| 106 |         verticalLayout->addWidget(quitButton); | 
| 107 |  | 
| 108 |  | 
| 109 |         retranslateUi(Chat); | 
| 110 |  | 
| 111 |         sendButton->setDefault(true); | 
| 112 |  | 
| 113 |  | 
| 114 |         QMetaObject::connectSlotsByName(o: Chat); | 
| 115 |     } // setupUi | 
| 116 |  | 
| 117 |     void retranslateUi(QDialog *Chat) | 
| 118 |     { | 
| 119 |         Chat->setWindowTitle(QCoreApplication::translate(context: "Chat" , key: "Bluetooth Chat" , disambiguation: nullptr)); | 
| 120 |         localAdapterBox->setTitle(QCoreApplication::translate(context: "Chat" , key: "Local Bluetooth Adapter" , disambiguation: nullptr)); | 
| 121 |         firstAdapter->setText(QCoreApplication::translate(context: "Chat" , key: "Default" , disambiguation: nullptr)); | 
| 122 |         secondAdapter->setText(QString()); | 
| 123 |         sendButton->setText(QCoreApplication::translate(context: "Chat" , key: "Send" , disambiguation: nullptr)); | 
| 124 |         connectButton->setText(QCoreApplication::translate(context: "Chat" , key: "Connect" , disambiguation: nullptr)); | 
| 125 |         quitButton->setText(QCoreApplication::translate(context: "Chat" , key: "Quit" , disambiguation: nullptr)); | 
| 126 |     } // retranslateUi | 
| 127 |  | 
| 128 | }; | 
| 129 |  | 
| 130 | namespace Ui { | 
| 131 |     class Chat: public Ui_Chat {}; | 
| 132 | } // namespace Ui | 
| 133 |  | 
| 134 | QT_END_NAMESPACE | 
| 135 |  | 
| 136 | #endif // UI_CHAT_H | 
| 137 |  |