1/********************************************************************************
2** Form generated from reading UI file 'device.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_DEVICE_H
10#define UI_DEVICE_H
11
12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QCheckBox>
15#include <QtWidgets/QDialog>
16#include <QtWidgets/QGroupBox>
17#include <QtWidgets/QHBoxLayout>
18#include <QtWidgets/QListWidget>
19#include <QtWidgets/QPushButton>
20#include <QtWidgets/QVBoxLayout>
21
22QT_BEGIN_NAMESPACE
23
24class Ui_DeviceDiscovery
25{
26public:
27 QVBoxLayout *verticalLayout;
28 QListWidget *list;
29 QGroupBox *groupBox;
30 QHBoxLayout *horizontalLayout_2;
31 QCheckBox *power;
32 QCheckBox *discoverable;
33 QCheckBox *inquiryType;
34 QHBoxLayout *horizontalLayout;
35 QPushButton *scan;
36 QPushButton *clear;
37 QPushButton *quit;
38
39 void setupUi(QDialog *DeviceDiscovery)
40 {
41 if (DeviceDiscovery->objectName().isEmpty())
42 DeviceDiscovery->setObjectName(QString::fromUtf8(str: "DeviceDiscovery"));
43 DeviceDiscovery->resize(w: 400, h: 411);
44 verticalLayout = new QVBoxLayout(DeviceDiscovery);
45 verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout"));
46 list = new QListWidget(DeviceDiscovery);
47 list->setObjectName(QString::fromUtf8(str: "list"));
48
49 verticalLayout->addWidget(list);
50
51 groupBox = new QGroupBox(DeviceDiscovery);
52 groupBox->setObjectName(QString::fromUtf8(str: "groupBox"));
53 horizontalLayout_2 = new QHBoxLayout(groupBox);
54 horizontalLayout_2->setObjectName(QString::fromUtf8(str: "horizontalLayout_2"));
55 power = new QCheckBox(groupBox);
56 power->setObjectName(QString::fromUtf8(str: "power"));
57 power->setChecked(true);
58
59 horizontalLayout_2->addWidget(power);
60
61 discoverable = new QCheckBox(groupBox);
62 discoverable->setObjectName(QString::fromUtf8(str: "discoverable"));
63 discoverable->setChecked(true);
64
65 horizontalLayout_2->addWidget(discoverable);
66
67
68 verticalLayout->addWidget(groupBox);
69
70 inquiryType = new QCheckBox(DeviceDiscovery);
71 inquiryType->setObjectName(QString::fromUtf8(str: "inquiryType"));
72 inquiryType->setChecked(true);
73
74 verticalLayout->addWidget(inquiryType);
75
76 horizontalLayout = new QHBoxLayout();
77 horizontalLayout->setObjectName(QString::fromUtf8(str: "horizontalLayout"));
78 scan = new QPushButton(DeviceDiscovery);
79 scan->setObjectName(QString::fromUtf8(str: "scan"));
80
81 horizontalLayout->addWidget(scan);
82
83 clear = new QPushButton(DeviceDiscovery);
84 clear->setObjectName(QString::fromUtf8(str: "clear"));
85
86 horizontalLayout->addWidget(clear);
87
88 quit = new QPushButton(DeviceDiscovery);
89 quit->setObjectName(QString::fromUtf8(str: "quit"));
90
91 horizontalLayout->addWidget(quit);
92
93
94 verticalLayout->addLayout(layout: horizontalLayout);
95
96
97 retranslateUi(DeviceDiscovery);
98 QObject::connect(sender: quit, SIGNAL(clicked()), receiver: DeviceDiscovery, SLOT(accept()));
99 QObject::connect(sender: clear, SIGNAL(clicked()), receiver: list, SLOT(clear()));
100
101 QMetaObject::connectSlotsByName(o: DeviceDiscovery);
102 } // setupUi
103
104 void retranslateUi(QDialog *DeviceDiscovery)
105 {
106 DeviceDiscovery->setWindowTitle(QCoreApplication::translate(context: "DeviceDiscovery", key: "Bluetooth Scanner", disambiguation: nullptr));
107 groupBox->setTitle(QCoreApplication::translate(context: "DeviceDiscovery", key: "Local Device", disambiguation: nullptr));
108 power->setText(QCoreApplication::translate(context: "DeviceDiscovery", key: "Bluetooth Powered On", disambiguation: nullptr));
109 discoverable->setText(QCoreApplication::translate(context: "DeviceDiscovery", key: "Discoverable", disambiguation: nullptr));
110 inquiryType->setText(QCoreApplication::translate(context: "DeviceDiscovery", key: "General Unlimited Inquiry", disambiguation: nullptr));
111 scan->setText(QCoreApplication::translate(context: "DeviceDiscovery", key: "Scan", disambiguation: nullptr));
112 clear->setText(QCoreApplication::translate(context: "DeviceDiscovery", key: "Clear", disambiguation: nullptr));
113 quit->setText(QCoreApplication::translate(context: "DeviceDiscovery", key: "Quit", disambiguation: nullptr));
114 } // retranslateUi
115
116};
117
118namespace Ui {
119 class DeviceDiscovery: public Ui_DeviceDiscovery {};
120} // namespace Ui
121
122QT_END_NAMESPACE
123
124#endif // UI_DEVICE_H
125

source code of qtconnectivity/examples/bluetooth/btscanner/.uic/ui_device.h