1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'remoteselector.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_REMOTESELECTOR_H |
10 | #define UI_REMOTESELECTOR_H |
11 | |
12 | #include <QtCore/QVariant> |
13 | #include <QtWidgets/QApplication> |
14 | #include <QtWidgets/QDialog> |
15 | #include <QtWidgets/QGridLayout> |
16 | #include <QtWidgets/QHBoxLayout> |
17 | #include <QtWidgets/QHeaderView> |
18 | #include <QtWidgets/QLabel> |
19 | #include <QtWidgets/QLineEdit> |
20 | #include <QtWidgets/QPushButton> |
21 | #include <QtWidgets/QTableWidget> |
22 | #include <QtWidgets/QVBoxLayout> |
23 | |
24 | QT_BEGIN_NAMESPACE |
25 | |
26 | class Ui_RemoteSelector |
27 | { |
28 | public: |
29 | QVBoxLayout *verticalLayout; |
30 | QGridLayout *gridLayout; |
31 | QLineEdit *fileName; |
32 | QPushButton *fileSelectPB; |
33 | QPushButton *sendButton; |
34 | QHBoxLayout *horizontalLayout; |
35 | QLabel *busyWidget; |
36 | QLabel *status; |
37 | QLabel *pairingBusy; |
38 | QPushButton *stopButton; |
39 | QPushButton *refreshPB; |
40 | QTableWidget *remoteDevices; |
41 | |
42 | void setupUi(QDialog *RemoteSelector) |
43 | { |
44 | if (RemoteSelector->objectName().isEmpty()) |
45 | RemoteSelector->setObjectName(QString::fromUtf8(str: "RemoteSelector" )); |
46 | RemoteSelector->resize(w: 681, h: 394); |
47 | verticalLayout = new QVBoxLayout(RemoteSelector); |
48 | verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); |
49 | gridLayout = new QGridLayout(); |
50 | gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout" )); |
51 | gridLayout->setHorizontalSpacing(6); |
52 | fileName = new QLineEdit(RemoteSelector); |
53 | fileName->setObjectName(QString::fromUtf8(str: "fileName" )); |
54 | |
55 | gridLayout->addWidget(fileName, row: 7, column: 0, rowSpan: 1, columnSpan: 2); |
56 | |
57 | fileSelectPB = new QPushButton(RemoteSelector); |
58 | fileSelectPB->setObjectName(QString::fromUtf8(str: "fileSelectPB" )); |
59 | QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); |
60 | sizePolicy.setHorizontalStretch(0); |
61 | sizePolicy.setVerticalStretch(0); |
62 | sizePolicy.setHeightForWidth(fileSelectPB->sizePolicy().hasHeightForWidth()); |
63 | fileSelectPB->setSizePolicy(sizePolicy); |
64 | |
65 | gridLayout->addWidget(fileSelectPB, row: 7, column: 2, rowSpan: 1, columnSpan: 1); |
66 | |
67 | sendButton = new QPushButton(RemoteSelector); |
68 | sendButton->setObjectName(QString::fromUtf8(str: "sendButton" )); |
69 | sendButton->setEnabled(false); |
70 | |
71 | gridLayout->addWidget(sendButton, row: 8, column: 0, rowSpan: 1, columnSpan: 3); |
72 | |
73 | horizontalLayout = new QHBoxLayout(); |
74 | horizontalLayout->setObjectName(QString::fromUtf8(str: "horizontalLayout" )); |
75 | busyWidget = new QLabel(RemoteSelector); |
76 | busyWidget->setObjectName(QString::fromUtf8(str: "busyWidget" )); |
77 | sizePolicy.setHeightForWidth(busyWidget->sizePolicy().hasHeightForWidth()); |
78 | busyWidget->setSizePolicy(sizePolicy); |
79 | busyWidget->setMaximumSize(QSize(16, 16)); |
80 | busyWidget->setBaseSize(QSize(16, 16)); |
81 | |
82 | horizontalLayout->addWidget(busyWidget); |
83 | |
84 | status = new QLabel(RemoteSelector); |
85 | status->setObjectName(QString::fromUtf8(str: "status" )); |
86 | |
87 | horizontalLayout->addWidget(status); |
88 | |
89 | pairingBusy = new QLabel(RemoteSelector); |
90 | pairingBusy->setObjectName(QString::fromUtf8(str: "pairingBusy" )); |
91 | |
92 | horizontalLayout->addWidget(pairingBusy); |
93 | |
94 | stopButton = new QPushButton(RemoteSelector); |
95 | stopButton->setObjectName(QString::fromUtf8(str: "stopButton" )); |
96 | stopButton->setEnabled(false); |
97 | sizePolicy.setHeightForWidth(stopButton->sizePolicy().hasHeightForWidth()); |
98 | stopButton->setSizePolicy(sizePolicy); |
99 | |
100 | horizontalLayout->addWidget(stopButton); |
101 | |
102 | refreshPB = new QPushButton(RemoteSelector); |
103 | refreshPB->setObjectName(QString::fromUtf8(str: "refreshPB" )); |
104 | sizePolicy.setHeightForWidth(refreshPB->sizePolicy().hasHeightForWidth()); |
105 | refreshPB->setSizePolicy(sizePolicy); |
106 | |
107 | horizontalLayout->addWidget(refreshPB); |
108 | |
109 | |
110 | gridLayout->addLayout(horizontalLayout, row: 0, column: 0, rowSpan: 1, columnSpan: 3); |
111 | |
112 | remoteDevices = new QTableWidget(RemoteSelector); |
113 | if (remoteDevices->columnCount() < 5) |
114 | remoteDevices->setColumnCount(5); |
115 | QTableWidgetItem *__qtablewidgetitem = new QTableWidgetItem(); |
116 | remoteDevices->setHorizontalHeaderItem(column: 0, item: __qtablewidgetitem); |
117 | QTableWidgetItem *__qtablewidgetitem1 = new QTableWidgetItem(); |
118 | remoteDevices->setHorizontalHeaderItem(column: 1, item: __qtablewidgetitem1); |
119 | QTableWidgetItem *__qtablewidgetitem2 = new QTableWidgetItem(); |
120 | remoteDevices->setHorizontalHeaderItem(column: 2, item: __qtablewidgetitem2); |
121 | QTableWidgetItem *__qtablewidgetitem3 = new QTableWidgetItem(); |
122 | __qtablewidgetitem3->setTextAlignment(Qt::AlignHCenter|Qt::AlignVCenter|Qt::AlignCenter); |
123 | remoteDevices->setHorizontalHeaderItem(column: 3, item: __qtablewidgetitem3); |
124 | QTableWidgetItem *__qtablewidgetitem4 = new QTableWidgetItem(); |
125 | __qtablewidgetitem4->setTextAlignment(Qt::AlignHCenter|Qt::AlignVCenter|Qt::AlignCenter); |
126 | remoteDevices->setHorizontalHeaderItem(column: 4, item: __qtablewidgetitem4); |
127 | if (remoteDevices->rowCount() < 1) |
128 | remoteDevices->setRowCount(1); |
129 | QTableWidgetItem *__qtablewidgetitem5 = new QTableWidgetItem(); |
130 | remoteDevices->setVerticalHeaderItem(row: 0, item: __qtablewidgetitem5); |
131 | remoteDevices->setObjectName(QString::fromUtf8(str: "remoteDevices" )); |
132 | remoteDevices->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded); |
133 | remoteDevices->setEditTriggers(QAbstractItemView::NoEditTriggers); |
134 | remoteDevices->setProperty(name: "showDropIndicator" , value: QVariant(false)); |
135 | remoteDevices->setAlternatingRowColors(true); |
136 | remoteDevices->setSelectionMode(QAbstractItemView::SingleSelection); |
137 | remoteDevices->setSelectionBehavior(QAbstractItemView::SelectRows); |
138 | remoteDevices->setShowGrid(false); |
139 | remoteDevices->setWordWrap(false); |
140 | remoteDevices->setRowCount(1); |
141 | remoteDevices->horizontalHeader()->setCascadingSectionResizes(true); |
142 | remoteDevices->horizontalHeader()->setDefaultSectionSize(150); |
143 | remoteDevices->horizontalHeader()->setStretchLastSection(true); |
144 | remoteDevices->verticalHeader()->setVisible(false); |
145 | remoteDevices->verticalHeader()->setCascadingSectionResizes(false); |
146 | |
147 | gridLayout->addWidget(remoteDevices, row: 6, column: 0, rowSpan: 1, columnSpan: 3); |
148 | |
149 | |
150 | verticalLayout->addLayout(layout: gridLayout); |
151 | |
152 | |
153 | retranslateUi(RemoteSelector); |
154 | |
155 | QMetaObject::connectSlotsByName(o: RemoteSelector); |
156 | } // setupUi |
157 | |
158 | void retranslateUi(QDialog *RemoteSelector) |
159 | { |
160 | RemoteSelector->setWindowTitle(QCoreApplication::translate(context: "RemoteSelector" , key: "Available file transfer services" , disambiguation: nullptr)); |
161 | fileSelectPB->setText(QCoreApplication::translate(context: "RemoteSelector" , key: "Select File" , disambiguation: nullptr)); |
162 | sendButton->setText(QCoreApplication::translate(context: "RemoteSelector" , key: "Send" , disambiguation: nullptr)); |
163 | busyWidget->setText(QCoreApplication::translate(context: "RemoteSelector" , key: "TextLabel" , disambiguation: nullptr)); |
164 | status->setText(QCoreApplication::translate(context: "RemoteSelector" , key: "Scanning..." , disambiguation: nullptr)); |
165 | pairingBusy->setText(QCoreApplication::translate(context: "RemoteSelector" , key: "TextLabel" , disambiguation: nullptr)); |
166 | stopButton->setText(QCoreApplication::translate(context: "RemoteSelector" , key: "Stop" , disambiguation: nullptr)); |
167 | refreshPB->setText(QCoreApplication::translate(context: "RemoteSelector" , key: "Refresh" , disambiguation: nullptr)); |
168 | QTableWidgetItem *___qtablewidgetitem = remoteDevices->horizontalHeaderItem(column: 0); |
169 | ___qtablewidgetitem->setText(QCoreApplication::translate(context: "RemoteSelector" , key: "MAC Address" , disambiguation: nullptr)); |
170 | QTableWidgetItem *___qtablewidgetitem1 = remoteDevices->horizontalHeaderItem(column: 1); |
171 | ___qtablewidgetitem1->setText(QCoreApplication::translate(context: "RemoteSelector" , key: "Device Name" , disambiguation: nullptr)); |
172 | QTableWidgetItem *___qtablewidgetitem2 = remoteDevices->horizontalHeaderItem(column: 2); |
173 | ___qtablewidgetitem2->setText(QCoreApplication::translate(context: "RemoteSelector" , key: "Device Service" , disambiguation: nullptr)); |
174 | QTableWidgetItem *___qtablewidgetitem3 = remoteDevices->horizontalHeaderItem(column: 3); |
175 | ___qtablewidgetitem3->setText(QCoreApplication::translate(context: "RemoteSelector" , key: "Paired" , disambiguation: nullptr)); |
176 | QTableWidgetItem *___qtablewidgetitem4 = remoteDevices->horizontalHeaderItem(column: 4); |
177 | ___qtablewidgetitem4->setText(QCoreApplication::translate(context: "RemoteSelector" , key: "Authorized" , disambiguation: nullptr)); |
178 | QTableWidgetItem *___qtablewidgetitem5 = remoteDevices->verticalHeaderItem(row: 0); |
179 | ___qtablewidgetitem5->setText(QCoreApplication::translate(context: "RemoteSelector" , key: "Test" , disambiguation: nullptr)); |
180 | } // retranslateUi |
181 | |
182 | }; |
183 | |
184 | namespace Ui { |
185 | class RemoteSelector: public Ui_RemoteSelector {}; |
186 | } // namespace Ui |
187 | |
188 | QT_END_NAMESPACE |
189 | |
190 | #endif // UI_REMOTESELECTOR_H |
191 | |