1/********************************************************************************
2** Form generated from reading UI file 'audiorecorder.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_AUDIORECORDER_H
10#define UI_AUDIORECORDER_H
11
12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QComboBox>
15#include <QtWidgets/QGridLayout>
16#include <QtWidgets/QGroupBox>
17#include <QtWidgets/QLabel>
18#include <QtWidgets/QMainWindow>
19#include <QtWidgets/QPushButton>
20#include <QtWidgets/QRadioButton>
21#include <QtWidgets/QSlider>
22#include <QtWidgets/QSpacerItem>
23#include <QtWidgets/QStatusBar>
24#include <QtWidgets/QVBoxLayout>
25#include <QtWidgets/QWidget>
26
27QT_BEGIN_NAMESPACE
28
29class Ui_AudioRecorder
30{
31public:
32 QWidget *centralwidget;
33 QGridLayout *gridLayout_3;
34 QGridLayout *gridLayout_2;
35 QLabel *label_4;
36 QComboBox *audioDeviceBox;
37 QLabel *label_2;
38 QLabel *label;
39 QLabel *label_3;
40 QComboBox *containerBox;
41 QComboBox *sampleRateBox;
42 QComboBox *audioCodecBox;
43 QLabel *label_5;
44 QComboBox *channelsBox;
45 QGroupBox *groupBox;
46 QGridLayout *gridLayout;
47 QRadioButton *constantQualityRadioButton;
48 QSpacerItem *horizontalSpacer_2;
49 QSlider *qualitySlider;
50 QRadioButton *constantBitrateRadioButton;
51 QSpacerItem *horizontalSpacer;
52 QComboBox *bitrateBox;
53 QPushButton *outputButton;
54 QPushButton *recordButton;
55 QPushButton *pauseButton;
56 QLabel *levelLabel;
57 QVBoxLayout *levelsLayout;
58 QStatusBar *statusbar;
59
60 void setupUi(QMainWindow *AudioRecorder)
61 {
62 if (AudioRecorder->objectName().isEmpty())
63 AudioRecorder->setObjectName(QString::fromUtf8(str: "AudioRecorder"));
64 AudioRecorder->resize(w: 297, h: 374);
65 centralwidget = new QWidget(AudioRecorder);
66 centralwidget->setObjectName(QString::fromUtf8(str: "centralwidget"));
67 gridLayout_3 = new QGridLayout(centralwidget);
68 gridLayout_3->setObjectName(QString::fromUtf8(str: "gridLayout_3"));
69 gridLayout_2 = new QGridLayout();
70 gridLayout_2->setObjectName(QString::fromUtf8(str: "gridLayout_2"));
71 label_4 = new QLabel(centralwidget);
72 label_4->setObjectName(QString::fromUtf8(str: "label_4"));
73
74 gridLayout_2->addWidget(label_4, row: 3, column: 0, rowSpan: 1, columnSpan: 1);
75
76 audioDeviceBox = new QComboBox(centralwidget);
77 audioDeviceBox->setObjectName(QString::fromUtf8(str: "audioDeviceBox"));
78
79 gridLayout_2->addWidget(audioDeviceBox, row: 0, column: 1, rowSpan: 1, columnSpan: 1);
80
81 label_2 = new QLabel(centralwidget);
82 label_2->setObjectName(QString::fromUtf8(str: "label_2"));
83
84 gridLayout_2->addWidget(label_2, row: 1, column: 0, rowSpan: 1, columnSpan: 1);
85
86 label = new QLabel(centralwidget);
87 label->setObjectName(QString::fromUtf8(str: "label"));
88
89 gridLayout_2->addWidget(label, row: 0, column: 0, rowSpan: 1, columnSpan: 1);
90
91 label_3 = new QLabel(centralwidget);
92 label_3->setObjectName(QString::fromUtf8(str: "label_3"));
93
94 gridLayout_2->addWidget(label_3, row: 2, column: 0, rowSpan: 1, columnSpan: 1);
95
96 containerBox = new QComboBox(centralwidget);
97 containerBox->setObjectName(QString::fromUtf8(str: "containerBox"));
98
99 gridLayout_2->addWidget(containerBox, row: 2, column: 1, rowSpan: 1, columnSpan: 1);
100
101 sampleRateBox = new QComboBox(centralwidget);
102 sampleRateBox->setObjectName(QString::fromUtf8(str: "sampleRateBox"));
103
104 gridLayout_2->addWidget(sampleRateBox, row: 3, column: 1, rowSpan: 1, columnSpan: 1);
105
106 audioCodecBox = new QComboBox(centralwidget);
107 audioCodecBox->setObjectName(QString::fromUtf8(str: "audioCodecBox"));
108
109 gridLayout_2->addWidget(audioCodecBox, row: 1, column: 1, rowSpan: 1, columnSpan: 1);
110
111 label_5 = new QLabel(centralwidget);
112 label_5->setObjectName(QString::fromUtf8(str: "label_5"));
113
114 gridLayout_2->addWidget(label_5, row: 4, column: 0, rowSpan: 1, columnSpan: 1);
115
116 channelsBox = new QComboBox(centralwidget);
117 channelsBox->setObjectName(QString::fromUtf8(str: "channelsBox"));
118
119 gridLayout_2->addWidget(channelsBox, row: 4, column: 1, rowSpan: 1, columnSpan: 1);
120
121
122 gridLayout_3->addLayout(gridLayout_2, row: 0, column: 0, rowSpan: 1, columnSpan: 3);
123
124 groupBox = new QGroupBox(centralwidget);
125 groupBox->setObjectName(QString::fromUtf8(str: "groupBox"));
126 gridLayout = new QGridLayout(groupBox);
127 gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout"));
128 constantQualityRadioButton = new QRadioButton(groupBox);
129 constantQualityRadioButton->setObjectName(QString::fromUtf8(str: "constantQualityRadioButton"));
130 constantQualityRadioButton->setChecked(true);
131
132 gridLayout->addWidget(constantQualityRadioButton, row: 0, column: 0, rowSpan: 1, columnSpan: 2);
133
134 horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
135
136 gridLayout->addItem(item: horizontalSpacer_2, row: 1, column: 0, rowSpan: 1, columnSpan: 1);
137
138 qualitySlider = new QSlider(groupBox);
139 qualitySlider->setObjectName(QString::fromUtf8(str: "qualitySlider"));
140 qualitySlider->setOrientation(Qt::Horizontal);
141
142 gridLayout->addWidget(qualitySlider, row: 1, column: 1, rowSpan: 1, columnSpan: 1);
143
144 constantBitrateRadioButton = new QRadioButton(groupBox);
145 constantBitrateRadioButton->setObjectName(QString::fromUtf8(str: "constantBitrateRadioButton"));
146
147 gridLayout->addWidget(constantBitrateRadioButton, row: 2, column: 0, rowSpan: 1, columnSpan: 2);
148
149 horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
150
151 gridLayout->addItem(item: horizontalSpacer, row: 3, column: 0, rowSpan: 1, columnSpan: 1);
152
153 bitrateBox = new QComboBox(groupBox);
154 bitrateBox->setObjectName(QString::fromUtf8(str: "bitrateBox"));
155 bitrateBox->setEnabled(false);
156
157 gridLayout->addWidget(bitrateBox, row: 3, column: 1, rowSpan: 1, columnSpan: 1);
158
159
160 gridLayout_3->addWidget(groupBox, row: 1, column: 0, rowSpan: 1, columnSpan: 3);
161
162 outputButton = new QPushButton(centralwidget);
163 outputButton->setObjectName(QString::fromUtf8(str: "outputButton"));
164
165 gridLayout_3->addWidget(outputButton, row: 2, column: 0, rowSpan: 1, columnSpan: 1);
166
167 recordButton = new QPushButton(centralwidget);
168 recordButton->setObjectName(QString::fromUtf8(str: "recordButton"));
169
170 gridLayout_3->addWidget(recordButton, row: 2, column: 1, rowSpan: 1, columnSpan: 1);
171
172 pauseButton = new QPushButton(centralwidget);
173 pauseButton->setObjectName(QString::fromUtf8(str: "pauseButton"));
174 pauseButton->setEnabled(false);
175
176 gridLayout_3->addWidget(pauseButton, row: 2, column: 2, rowSpan: 1, columnSpan: 1);
177
178 levelLabel = new QLabel(centralwidget);
179 levelLabel->setObjectName(QString::fromUtf8(str: "levelLabel"));
180
181 gridLayout_3->addWidget(levelLabel, row: 3, column: 0, rowSpan: 1, columnSpan: 1);
182
183 levelsLayout = new QVBoxLayout();
184 levelsLayout->setObjectName(QString::fromUtf8(str: "levelsLayout"));
185
186 gridLayout_3->addLayout(levelsLayout, row: 3, column: 1, rowSpan: 1, columnSpan: 2);
187
188 AudioRecorder->setCentralWidget(centralwidget);
189 statusbar = new QStatusBar(AudioRecorder);
190 statusbar->setObjectName(QString::fromUtf8(str: "statusbar"));
191 AudioRecorder->setStatusBar(statusbar);
192
193 retranslateUi(AudioRecorder);
194 QObject::connect(sender: constantQualityRadioButton, SIGNAL(toggled(bool)), receiver: qualitySlider, SLOT(setEnabled(bool)));
195 QObject::connect(sender: constantBitrateRadioButton, SIGNAL(toggled(bool)), receiver: bitrateBox, SLOT(setEnabled(bool)));
196 QObject::connect(sender: outputButton, SIGNAL(clicked()), receiver: AudioRecorder, SLOT(setOutputLocation()));
197 QObject::connect(sender: recordButton, SIGNAL(clicked()), receiver: AudioRecorder, SLOT(toggleRecord()));
198 QObject::connect(sender: pauseButton, SIGNAL(clicked()), receiver: AudioRecorder, SLOT(togglePause()));
199
200 QMetaObject::connectSlotsByName(o: AudioRecorder);
201 } // setupUi
202
203 void retranslateUi(QMainWindow *AudioRecorder)
204 {
205 AudioRecorder->setWindowTitle(QCoreApplication::translate(context: "AudioRecorder", key: "MainWindow", disambiguation: nullptr));
206 label_4->setText(QCoreApplication::translate(context: "AudioRecorder", key: "Sample rate:", disambiguation: nullptr));
207 label_2->setText(QCoreApplication::translate(context: "AudioRecorder", key: "Audio Codec:", disambiguation: nullptr));
208 label->setText(QCoreApplication::translate(context: "AudioRecorder", key: "Input Device:", disambiguation: nullptr));
209 label_3->setText(QCoreApplication::translate(context: "AudioRecorder", key: "File Container:", disambiguation: nullptr));
210 label_5->setText(QCoreApplication::translate(context: "AudioRecorder", key: "Channels:", disambiguation: nullptr));
211 groupBox->setTitle(QCoreApplication::translate(context: "AudioRecorder", key: "Encoding Mode:", disambiguation: nullptr));
212 constantQualityRadioButton->setText(QCoreApplication::translate(context: "AudioRecorder", key: "Constant Quality:", disambiguation: nullptr));
213 constantBitrateRadioButton->setText(QCoreApplication::translate(context: "AudioRecorder", key: "Constant Bitrate:", disambiguation: nullptr));
214 outputButton->setText(QCoreApplication::translate(context: "AudioRecorder", key: "Output...", disambiguation: nullptr));
215 recordButton->setText(QCoreApplication::translate(context: "AudioRecorder", key: "Record", disambiguation: nullptr));
216 pauseButton->setText(QCoreApplication::translate(context: "AudioRecorder", key: "Pause", disambiguation: nullptr));
217 levelLabel->setText(QCoreApplication::translate(context: "AudioRecorder", key: "Audio Level:", disambiguation: nullptr));
218 } // retranslateUi
219
220};
221
222namespace Ui {
223 class AudioRecorder: public Ui_AudioRecorder {};
224} // namespace Ui
225
226QT_END_NAMESPACE
227
228#endif // UI_AUDIORECORDER_H
229

source code of qtmultimedia/examples/multimedia/audiorecorder/.uic/ui_audiorecorder.h