1/********************************************************************************
2** Form generated from reading UI file 'audiodevicesbase.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_AUDIODEVICESBASE_H
10#define UI_AUDIODEVICESBASE_H
11
12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QComboBox>
15#include <QtWidgets/QGridLayout>
16#include <QtWidgets/QHeaderView>
17#include <QtWidgets/QLabel>
18#include <QtWidgets/QLineEdit>
19#include <QtWidgets/QMainWindow>
20#include <QtWidgets/QPushButton>
21#include <QtWidgets/QScrollArea>
22#include <QtWidgets/QStatusBar>
23#include <QtWidgets/QTabWidget>
24#include <QtWidgets/QTableWidget>
25#include <QtWidgets/QVBoxLayout>
26#include <QtWidgets/QWidget>
27
28QT_BEGIN_NAMESPACE
29
30class Ui_AudioDevicesBase
31{
32public:
33 QWidget *centralwidget;
34 QVBoxLayout *verticalLayout;
35 QScrollArea *scrollArea;
36 QWidget *scrollAreaWidgetContents;
37 QGridLayout *gridLayout_4;
38 QGridLayout *gridLayout_2;
39 QLabel *modeLabel;
40 QLabel *deviceLabel;
41 QComboBox *modeBox;
42 QComboBox *deviceBox;
43 QTabWidget *tabWidget;
44 QWidget *testFormatTab;
45 QGridLayout *gridLayout;
46 QLabel *actualLabel;
47 QLabel *nearestLabel;
48 QComboBox *sampleRateBox;
49 QLineEdit *nearestSampleRate;
50 QComboBox *channelsBox;
51 QLineEdit *nearestChannel;
52 QComboBox *sampleSizesBox;
53 QLineEdit *nearestSampleSize;
54 QComboBox *endianBox;
55 QLineEdit *nearestEndian;
56 QPushButton *testButton;
57 QLabel *testResult;
58 QLabel *actualFreqLabel;
59 QLabel *actualChannelLabel;
60 QLabel *actualSampleSizeLabel;
61 QLabel *actualEndianLabel;
62 QLabel *label;
63 QLabel *actualCodecLabel;
64 QLineEdit *nearestCodec;
65 QComboBox *codecsBox;
66 QLabel *actualSampleTypeLabel;
67 QComboBox *sampleTypesBox;
68 QLineEdit *nearestSampleType;
69 QWidget *tab;
70 QVBoxLayout *verticalLayout_2;
71 QPushButton *populateTableButton;
72 QTableWidget *allFormatsTable;
73 QStatusBar *statusbar;
74
75 void setupUi(QMainWindow *AudioDevicesBase)
76 {
77 if (AudioDevicesBase->objectName().isEmpty())
78 AudioDevicesBase->setObjectName(QString::fromUtf8(str: "AudioDevicesBase"));
79 AudioDevicesBase->resize(w: 679, h: 598);
80 centralwidget = new QWidget(AudioDevicesBase);
81 centralwidget->setObjectName(QString::fromUtf8(str: "centralwidget"));
82 verticalLayout = new QVBoxLayout(centralwidget);
83 verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout"));
84 scrollArea = new QScrollArea(centralwidget);
85 scrollArea->setObjectName(QString::fromUtf8(str: "scrollArea"));
86 QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
87 sizePolicy.setHorizontalStretch(0);
88 sizePolicy.setVerticalStretch(0);
89 sizePolicy.setHeightForWidth(scrollArea->sizePolicy().hasHeightForWidth());
90 scrollArea->setSizePolicy(sizePolicy);
91 scrollArea->setWidgetResizable(true);
92 scrollAreaWidgetContents = new QWidget();
93 scrollAreaWidgetContents->setObjectName(QString::fromUtf8(str: "scrollAreaWidgetContents"));
94 scrollAreaWidgetContents->setGeometry(QRect(0, 0, 659, 558));
95 gridLayout_4 = new QGridLayout(scrollAreaWidgetContents);
96 gridLayout_4->setObjectName(QString::fromUtf8(str: "gridLayout_4"));
97 gridLayout_2 = new QGridLayout();
98 gridLayout_2->setObjectName(QString::fromUtf8(str: "gridLayout_2"));
99 modeLabel = new QLabel(scrollAreaWidgetContents);
100 modeLabel->setObjectName(QString::fromUtf8(str: "modeLabel"));
101
102 gridLayout_2->addWidget(modeLabel, row: 0, column: 0, rowSpan: 1, columnSpan: 1);
103
104 deviceLabel = new QLabel(scrollAreaWidgetContents);
105 deviceLabel->setObjectName(QString::fromUtf8(str: "deviceLabel"));
106
107 gridLayout_2->addWidget(deviceLabel, row: 0, column: 1, rowSpan: 1, columnSpan: 1);
108
109 modeBox = new QComboBox(scrollAreaWidgetContents);
110 modeBox->addItem(atext: QString());
111 modeBox->addItem(atext: QString());
112 modeBox->setObjectName(QString::fromUtf8(str: "modeBox"));
113
114 gridLayout_2->addWidget(modeBox, row: 1, column: 0, rowSpan: 1, columnSpan: 1);
115
116 deviceBox = new QComboBox(scrollAreaWidgetContents);
117 deviceBox->setObjectName(QString::fromUtf8(str: "deviceBox"));
118
119 gridLayout_2->addWidget(deviceBox, row: 1, column: 1, rowSpan: 1, columnSpan: 1);
120
121 tabWidget = new QTabWidget(scrollAreaWidgetContents);
122 tabWidget->setObjectName(QString::fromUtf8(str: "tabWidget"));
123 testFormatTab = new QWidget();
124 testFormatTab->setObjectName(QString::fromUtf8(str: "testFormatTab"));
125 gridLayout = new QGridLayout(testFormatTab);
126 gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout"));
127 actualLabel = new QLabel(testFormatTab);
128 actualLabel->setObjectName(QString::fromUtf8(str: "actualLabel"));
129 QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed);
130 sizePolicy1.setHorizontalStretch(0);
131 sizePolicy1.setVerticalStretch(0);
132 sizePolicy1.setHeightForWidth(actualLabel->sizePolicy().hasHeightForWidth());
133 actualLabel->setSizePolicy(sizePolicy1);
134 actualLabel->setFrameShape(QFrame::NoFrame);
135 actualLabel->setFrameShadow(QFrame::Plain);
136 actualLabel->setTextFormat(Qt::RichText);
137 actualLabel->setAlignment(Qt::AlignCenter);
138
139 gridLayout->addWidget(actualLabel, row: 0, column: 1, rowSpan: 1, columnSpan: 1);
140
141 nearestLabel = new QLabel(testFormatTab);
142 nearestLabel->setObjectName(QString::fromUtf8(str: "nearestLabel"));
143 sizePolicy1.setHeightForWidth(nearestLabel->sizePolicy().hasHeightForWidth());
144 nearestLabel->setSizePolicy(sizePolicy1);
145 nearestLabel->setFrameShape(QFrame::NoFrame);
146 nearestLabel->setFrameShadow(QFrame::Plain);
147 nearestLabel->setTextFormat(Qt::RichText);
148 nearestLabel->setAlignment(Qt::AlignCenter);
149
150 gridLayout->addWidget(nearestLabel, row: 0, column: 2, rowSpan: 1, columnSpan: 1);
151
152 sampleRateBox = new QComboBox(testFormatTab);
153 sampleRateBox->setObjectName(QString::fromUtf8(str: "sampleRateBox"));
154 QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Fixed);
155 sizePolicy2.setHorizontalStretch(0);
156 sizePolicy2.setVerticalStretch(0);
157 sizePolicy2.setHeightForWidth(sampleRateBox->sizePolicy().hasHeightForWidth());
158 sampleRateBox->setSizePolicy(sizePolicy2);
159
160 gridLayout->addWidget(sampleRateBox, row: 3, column: 1, rowSpan: 1, columnSpan: 1);
161
162 nearestSampleRate = new QLineEdit(testFormatTab);
163 nearestSampleRate->setObjectName(QString::fromUtf8(str: "nearestSampleRate"));
164 nearestSampleRate->setEnabled(false);
165
166 gridLayout->addWidget(nearestSampleRate, row: 3, column: 2, rowSpan: 1, columnSpan: 1);
167
168 channelsBox = new QComboBox(testFormatTab);
169 channelsBox->setObjectName(QString::fromUtf8(str: "channelsBox"));
170
171 gridLayout->addWidget(channelsBox, row: 5, column: 1, rowSpan: 1, columnSpan: 1);
172
173 nearestChannel = new QLineEdit(testFormatTab);
174 nearestChannel->setObjectName(QString::fromUtf8(str: "nearestChannel"));
175 nearestChannel->setEnabled(false);
176
177 gridLayout->addWidget(nearestChannel, row: 5, column: 2, rowSpan: 1, columnSpan: 1);
178
179 sampleSizesBox = new QComboBox(testFormatTab);
180 sampleSizesBox->setObjectName(QString::fromUtf8(str: "sampleSizesBox"));
181
182 gridLayout->addWidget(sampleSizesBox, row: 9, column: 1, rowSpan: 1, columnSpan: 1);
183
184 nearestSampleSize = new QLineEdit(testFormatTab);
185 nearestSampleSize->setObjectName(QString::fromUtf8(str: "nearestSampleSize"));
186 nearestSampleSize->setEnabled(false);
187
188 gridLayout->addWidget(nearestSampleSize, row: 9, column: 2, rowSpan: 1, columnSpan: 1);
189
190 endianBox = new QComboBox(testFormatTab);
191 endianBox->setObjectName(QString::fromUtf8(str: "endianBox"));
192
193 gridLayout->addWidget(endianBox, row: 14, column: 1, rowSpan: 1, columnSpan: 1);
194
195 nearestEndian = new QLineEdit(testFormatTab);
196 nearestEndian->setObjectName(QString::fromUtf8(str: "nearestEndian"));
197 nearestEndian->setEnabled(false);
198
199 gridLayout->addWidget(nearestEndian, row: 14, column: 2, rowSpan: 1, columnSpan: 1);
200
201 testButton = new QPushButton(testFormatTab);
202 testButton->setObjectName(QString::fromUtf8(str: "testButton"));
203
204 gridLayout->addWidget(testButton, row: 15, column: 1, rowSpan: 1, columnSpan: 1);
205
206 testResult = new QLabel(testFormatTab);
207 testResult->setObjectName(QString::fromUtf8(str: "testResult"));
208
209 gridLayout->addWidget(testResult, row: 15, column: 2, rowSpan: 1, columnSpan: 1);
210
211 actualFreqLabel = new QLabel(testFormatTab);
212 actualFreqLabel->setObjectName(QString::fromUtf8(str: "actualFreqLabel"));
213
214 gridLayout->addWidget(actualFreqLabel, row: 3, column: 0, rowSpan: 1, columnSpan: 1);
215
216 actualChannelLabel = new QLabel(testFormatTab);
217 actualChannelLabel->setObjectName(QString::fromUtf8(str: "actualChannelLabel"));
218
219 gridLayout->addWidget(actualChannelLabel, row: 5, column: 0, rowSpan: 1, columnSpan: 1);
220
221 actualSampleSizeLabel = new QLabel(testFormatTab);
222 actualSampleSizeLabel->setObjectName(QString::fromUtf8(str: "actualSampleSizeLabel"));
223
224 gridLayout->addWidget(actualSampleSizeLabel, row: 9, column: 0, rowSpan: 1, columnSpan: 1);
225
226 actualEndianLabel = new QLabel(testFormatTab);
227 actualEndianLabel->setObjectName(QString::fromUtf8(str: "actualEndianLabel"));
228
229 gridLayout->addWidget(actualEndianLabel, row: 14, column: 0, rowSpan: 1, columnSpan: 1);
230
231 label = new QLabel(testFormatTab);
232 label->setObjectName(QString::fromUtf8(str: "label"));
233 sizePolicy1.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
234 label->setSizePolicy(sizePolicy1);
235 label->setWordWrap(true);
236
237 gridLayout->addWidget(label, row: 16, column: 0, rowSpan: 1, columnSpan: 3);
238
239 actualCodecLabel = new QLabel(testFormatTab);
240 actualCodecLabel->setObjectName(QString::fromUtf8(str: "actualCodecLabel"));
241
242 gridLayout->addWidget(actualCodecLabel, row: 2, column: 0, rowSpan: 1, columnSpan: 1);
243
244 nearestCodec = new QLineEdit(testFormatTab);
245 nearestCodec->setObjectName(QString::fromUtf8(str: "nearestCodec"));
246 nearestCodec->setEnabled(false);
247
248 gridLayout->addWidget(nearestCodec, row: 2, column: 2, rowSpan: 1, columnSpan: 1);
249
250 codecsBox = new QComboBox(testFormatTab);
251 codecsBox->setObjectName(QString::fromUtf8(str: "codecsBox"));
252
253 gridLayout->addWidget(codecsBox, row: 2, column: 1, rowSpan: 1, columnSpan: 1);
254
255 actualSampleTypeLabel = new QLabel(testFormatTab);
256 actualSampleTypeLabel->setObjectName(QString::fromUtf8(str: "actualSampleTypeLabel"));
257
258 gridLayout->addWidget(actualSampleTypeLabel, row: 6, column: 0, rowSpan: 1, columnSpan: 1);
259
260 sampleTypesBox = new QComboBox(testFormatTab);
261 sampleTypesBox->setObjectName(QString::fromUtf8(str: "sampleTypesBox"));
262
263 gridLayout->addWidget(sampleTypesBox, row: 6, column: 1, rowSpan: 1, columnSpan: 1);
264
265 nearestSampleType = new QLineEdit(testFormatTab);
266 nearestSampleType->setObjectName(QString::fromUtf8(str: "nearestSampleType"));
267 nearestSampleType->setEnabled(false);
268
269 gridLayout->addWidget(nearestSampleType, row: 6, column: 2, rowSpan: 1, columnSpan: 1);
270
271 tabWidget->addTab(widget: testFormatTab, QString());
272 tab = new QWidget();
273 tab->setObjectName(QString::fromUtf8(str: "tab"));
274 verticalLayout_2 = new QVBoxLayout(tab);
275 verticalLayout_2->setObjectName(QString::fromUtf8(str: "verticalLayout_2"));
276 populateTableButton = new QPushButton(tab);
277 populateTableButton->setObjectName(QString::fromUtf8(str: "populateTableButton"));
278
279 verticalLayout_2->addWidget(populateTableButton);
280
281 allFormatsTable = new QTableWidget(tab);
282 if (allFormatsTable->columnCount() < 6)
283 allFormatsTable->setColumnCount(6);
284 QTableWidgetItem *__qtablewidgetitem = new QTableWidgetItem();
285 __qtablewidgetitem->setTextAlignment(Qt::AlignHCenter|Qt::AlignVCenter|Qt::AlignCenter);
286 allFormatsTable->setHorizontalHeaderItem(column: 0, item: __qtablewidgetitem);
287 QTableWidgetItem *__qtablewidgetitem1 = new QTableWidgetItem();
288 __qtablewidgetitem1->setTextAlignment(Qt::AlignHCenter|Qt::AlignVCenter|Qt::AlignCenter);
289 allFormatsTable->setHorizontalHeaderItem(column: 1, item: __qtablewidgetitem1);
290 QTableWidgetItem *__qtablewidgetitem2 = new QTableWidgetItem();
291 __qtablewidgetitem2->setTextAlignment(Qt::AlignHCenter|Qt::AlignVCenter|Qt::AlignCenter);
292 allFormatsTable->setHorizontalHeaderItem(column: 2, item: __qtablewidgetitem2);
293 QTableWidgetItem *__qtablewidgetitem3 = new QTableWidgetItem();
294 __qtablewidgetitem3->setTextAlignment(Qt::AlignHCenter|Qt::AlignVCenter|Qt::AlignCenter);
295 allFormatsTable->setHorizontalHeaderItem(column: 3, item: __qtablewidgetitem3);
296 QTableWidgetItem *__qtablewidgetitem4 = new QTableWidgetItem();
297 __qtablewidgetitem4->setTextAlignment(Qt::AlignHCenter|Qt::AlignVCenter|Qt::AlignCenter);
298 allFormatsTable->setHorizontalHeaderItem(column: 4, item: __qtablewidgetitem4);
299 QTableWidgetItem *__qtablewidgetitem5 = new QTableWidgetItem();
300 __qtablewidgetitem5->setTextAlignment(Qt::AlignHCenter|Qt::AlignVCenter|Qt::AlignCenter);
301 allFormatsTable->setHorizontalHeaderItem(column: 5, item: __qtablewidgetitem5);
302 allFormatsTable->setObjectName(QString::fromUtf8(str: "allFormatsTable"));
303 allFormatsTable->setEditTriggers(QAbstractItemView::NoEditTriggers);
304 allFormatsTable->setDragDropOverwriteMode(false);
305 allFormatsTable->setSelectionMode(QAbstractItemView::NoSelection);
306 allFormatsTable->setSelectionBehavior(QAbstractItemView::SelectItems);
307 allFormatsTable->setTextElideMode(Qt::ElideNone);
308 allFormatsTable->setSortingEnabled(false);
309 allFormatsTable->setWordWrap(false);
310 allFormatsTable->setCornerButtonEnabled(false);
311 allFormatsTable->horizontalHeader()->setHighlightSections(false);
312 allFormatsTable->verticalHeader()->setVisible(false);
313 allFormatsTable->verticalHeader()->setHighlightSections(false);
314
315 verticalLayout_2->addWidget(allFormatsTable);
316
317 tabWidget->addTab(widget: tab, QString());
318
319 gridLayout_2->addWidget(tabWidget, row: 2, column: 0, rowSpan: 1, columnSpan: 2);
320
321
322 gridLayout_4->addLayout(gridLayout_2, row: 0, column: 0, rowSpan: 1, columnSpan: 1);
323
324 scrollArea->setWidget(scrollAreaWidgetContents);
325
326 verticalLayout->addWidget(scrollArea);
327
328 AudioDevicesBase->setCentralWidget(centralwidget);
329 statusbar = new QStatusBar(AudioDevicesBase);
330 statusbar->setObjectName(QString::fromUtf8(str: "statusbar"));
331 AudioDevicesBase->setStatusBar(statusbar);
332
333 retranslateUi(AudioDevicesBase);
334
335 tabWidget->setCurrentIndex(0);
336
337
338 QMetaObject::connectSlotsByName(o: AudioDevicesBase);
339 } // setupUi
340
341 void retranslateUi(QMainWindow *AudioDevicesBase)
342 {
343 AudioDevicesBase->setWindowTitle(QCoreApplication::translate(context: "AudioDevicesBase", key: "Audio Devices", disambiguation: nullptr));
344 modeLabel->setText(QCoreApplication::translate(context: "AudioDevicesBase", key: "Mode", disambiguation: nullptr));
345 deviceLabel->setText(QCoreApplication::translate(context: "AudioDevicesBase", key: "Device", disambiguation: nullptr));
346 modeBox->setItemText(index: 0, text: QCoreApplication::translate(context: "AudioDevicesBase", key: "Input", disambiguation: nullptr));
347 modeBox->setItemText(index: 1, text: QCoreApplication::translate(context: "AudioDevicesBase", key: "Output", disambiguation: nullptr));
348
349 actualLabel->setText(QCoreApplication::translate(context: "AudioDevicesBase", key: "<i>Actual Settings</i>", disambiguation: nullptr));
350 nearestLabel->setText(QCoreApplication::translate(context: "AudioDevicesBase", key: "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
351"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
352"p, li { white-space: pre-wrap; }\n"
353"</style></head><body style=\" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
354"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Nearest Settings</span></p></body></html>", disambiguation: nullptr));
355 testButton->setText(QCoreApplication::translate(context: "AudioDevicesBase", key: "Test", disambiguation: nullptr));
356 testResult->setText(QString());
357 actualFreqLabel->setText(QCoreApplication::translate(context: "AudioDevicesBase", key: "Frequency (Hz)", disambiguation: nullptr));
358 actualChannelLabel->setText(QCoreApplication::translate(context: "AudioDevicesBase", key: "Channels", disambiguation: nullptr));
359 actualSampleSizeLabel->setText(QCoreApplication::translate(context: "AudioDevicesBase", key: "Sample size (bits)", disambiguation: nullptr));
360 actualEndianLabel->setText(QCoreApplication::translate(context: "AudioDevicesBase", key: "Endianness", disambiguation: nullptr));
361 label->setText(QCoreApplication::translate(context: "AudioDevicesBase", key: "Note: an invalid codec 'audio/test' exists in order to allow an invalid format to be constructed, and therefore to trigger a 'nearest format' calculation.", disambiguation: nullptr));
362 actualCodecLabel->setText(QCoreApplication::translate(context: "AudioDevicesBase", key: "Codec", disambiguation: nullptr));
363 actualSampleTypeLabel->setText(QCoreApplication::translate(context: "AudioDevicesBase", key: "SampleType", disambiguation: nullptr));
364 tabWidget->setTabText(index: tabWidget->indexOf(widget: testFormatTab), text: QCoreApplication::translate(context: "AudioDevicesBase", key: "Test format", disambiguation: nullptr));
365 populateTableButton->setText(QCoreApplication::translate(context: "AudioDevicesBase", key: "Populate table", disambiguation: nullptr));
366 QTableWidgetItem *___qtablewidgetitem = allFormatsTable->horizontalHeaderItem(column: 0);
367 ___qtablewidgetitem->setText(QCoreApplication::translate(context: "AudioDevicesBase", key: "Codec", disambiguation: nullptr));
368 QTableWidgetItem *___qtablewidgetitem1 = allFormatsTable->horizontalHeaderItem(column: 1);
369 ___qtablewidgetitem1->setText(QCoreApplication::translate(context: "AudioDevicesBase", key: "Frequency (Hz)", disambiguation: nullptr));
370 QTableWidgetItem *___qtablewidgetitem2 = allFormatsTable->horizontalHeaderItem(column: 2);
371 ___qtablewidgetitem2->setText(QCoreApplication::translate(context: "AudioDevicesBase", key: "Channels", disambiguation: nullptr));
372 QTableWidgetItem *___qtablewidgetitem3 = allFormatsTable->horizontalHeaderItem(column: 3);
373 ___qtablewidgetitem3->setText(QCoreApplication::translate(context: "AudioDevicesBase", key: "Sample type", disambiguation: nullptr));
374 QTableWidgetItem *___qtablewidgetitem4 = allFormatsTable->horizontalHeaderItem(column: 4);
375 ___qtablewidgetitem4->setText(QCoreApplication::translate(context: "AudioDevicesBase", key: "Sample size (bits)", disambiguation: nullptr));
376 QTableWidgetItem *___qtablewidgetitem5 = allFormatsTable->horizontalHeaderItem(column: 5);
377 ___qtablewidgetitem5->setText(QCoreApplication::translate(context: "AudioDevicesBase", key: "Endianness", disambiguation: nullptr));
378 tabWidget->setTabText(index: tabWidget->indexOf(widget: tab), text: QCoreApplication::translate(context: "AudioDevicesBase", key: "All formats", disambiguation: nullptr));
379 } // retranslateUi
380
381};
382
383namespace Ui {
384 class AudioDevicesBase: public Ui_AudioDevicesBase {};
385} // namespace Ui
386
387QT_END_NAMESPACE
388
389#endif // UI_AUDIODEVICESBASE_H
390

source code of qtmultimedia/examples/multimedia/audiodevices/.uic/ui_audiodevicesbase.h