1/********************************************************************************
2** Form generated from reading UI file 'audiorecorder.ui'
3**
4** Created by: Qt User Interface Compiler version 5.14.0
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("AudioRecorder"));
64 AudioRecorder->resize(297, 374);
65 centralwidget = new QWidget(AudioRecorder);
66 centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
67 gridLayout_3 = new QGridLayout(centralwidget);
68 gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
69 gridLayout_2 = new QGridLayout();
70 gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
71 label_4 = new QLabel(centralwidget);
72 label_4->setObjectName(QString::fromUtf8("label_4"));
73
74 gridLayout_2->addWidget(label_4, 3, 0, 1, 1);
75
76 audioDeviceBox = new QComboBox(centralwidget);
77 audioDeviceBox->setObjectName(QString::fromUtf8("audioDeviceBox"));
78
79 gridLayout_2->addWidget(audioDeviceBox, 0, 1, 1, 1);
80
81 label_2 = new QLabel(centralwidget);
82 label_2->setObjectName(QString::fromUtf8("label_2"));
83
84 gridLayout_2->addWidget(label_2, 1, 0, 1, 1);
85
86 label = new QLabel(centralwidget);
87 label->setObjectName(QString::fromUtf8("label"));
88
89 gridLayout_2->addWidget(label, 0, 0, 1, 1);
90
91 label_3 = new QLabel(centralwidget);
92 label_3->setObjectName(QString::fromUtf8("label_3"));
93
94 gridLayout_2->addWidget(label_3, 2, 0, 1, 1);
95
96 containerBox = new QComboBox(centralwidget);
97 containerBox->setObjectName(QString::fromUtf8("containerBox"));
98
99 gridLayout_2->addWidget(containerBox, 2, 1, 1, 1);
100
101 sampleRateBox = new QComboBox(centralwidget);
102 sampleRateBox->setObjectName(QString::fromUtf8("sampleRateBox"));
103
104 gridLayout_2->addWidget(sampleRateBox, 3, 1, 1, 1);
105
106 audioCodecBox = new QComboBox(centralwidget);
107 audioCodecBox->setObjectName(QString::fromUtf8("audioCodecBox"));
108
109 gridLayout_2->addWidget(audioCodecBox, 1, 1, 1, 1);
110
111 label_5 = new QLabel(centralwidget);
112 label_5->setObjectName(QString::fromUtf8("label_5"));
113
114 gridLayout_2->addWidget(label_5, 4, 0, 1, 1);
115
116 channelsBox = new QComboBox(centralwidget);
117 channelsBox->setObjectName(QString::fromUtf8("channelsBox"));
118
119 gridLayout_2->addWidget(channelsBox, 4, 1, 1, 1);
120
121
122 gridLayout_3->addLayout(gridLayout_2, 0, 0, 1, 3);
123
124 groupBox = new QGroupBox(centralwidget);
125 groupBox->setObjectName(QString::fromUtf8("groupBox"));
126 gridLayout = new QGridLayout(groupBox);
127 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
128 constantQualityRadioButton = new QRadioButton(groupBox);
129 constantQualityRadioButton->setObjectName(QString::fromUtf8("constantQualityRadioButton"));
130 constantQualityRadioButton->setChecked(true);
131
132 gridLayout->addWidget(constantQualityRadioButton, 0, 0, 1, 2);
133
134 horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
135
136 gridLayout->addItem(horizontalSpacer_2, 1, 0, 1, 1);
137
138 qualitySlider = new QSlider(groupBox);
139 qualitySlider->setObjectName(QString::fromUtf8("qualitySlider"));
140 qualitySlider->setOrientation(Qt::Horizontal);
141
142 gridLayout->addWidget(qualitySlider, 1, 1, 1, 1);
143
144 constantBitrateRadioButton = new QRadioButton(groupBox);
145 constantBitrateRadioButton->setObjectName(QString::fromUtf8("constantBitrateRadioButton"));
146
147 gridLayout->addWidget(constantBitrateRadioButton, 2, 0, 1, 2);
148
149 horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
150
151 gridLayout->addItem(horizontalSpacer, 3, 0, 1, 1);
152
153 bitrateBox = new QComboBox(groupBox);
154 bitrateBox->setObjectName(QString::fromUtf8("bitrateBox"));
155 bitrateBox->setEnabled(false);
156
157 gridLayout->addWidget(bitrateBox, 3, 1, 1, 1);
158
159
160 gridLayout_3->addWidget(groupBox, 1, 0, 1, 3);
161
162 outputButton = new QPushButton(centralwidget);
163 outputButton->setObjectName(QString::fromUtf8("outputButton"));
164
165 gridLayout_3->addWidget(outputButton, 2, 0, 1, 1);
166
167 recordButton = new QPushButton(centralwidget);
168 recordButton->setObjectName(QString::fromUtf8("recordButton"));
169
170 gridLayout_3->addWidget(recordButton, 2, 1, 1, 1);
171
172 pauseButton = new QPushButton(centralwidget);
173 pauseButton->setObjectName(QString::fromUtf8("pauseButton"));
174 pauseButton->setEnabled(false);
175
176 gridLayout_3->addWidget(pauseButton, 2, 2, 1, 1);
177
178 levelLabel = new QLabel(centralwidget);
179 levelLabel->setObjectName(QString::fromUtf8("levelLabel"));
180
181 gridLayout_3->addWidget(levelLabel, 3, 0, 1, 1);
182
183 levelsLayout = new QVBoxLayout();
184 levelsLayout->setObjectName(QString::fromUtf8("levelsLayout"));
185
186 gridLayout_3->addLayout(levelsLayout, 3, 1, 1, 2);
187
188 AudioRecorder->setCentralWidget(centralwidget);
189 statusbar = new QStatusBar(AudioRecorder);
190 statusbar->setObjectName(QString::fromUtf8("statusbar"));
191 AudioRecorder->setStatusBar(statusbar);
192
193 retranslateUi(AudioRecorder);
194 QObject::connect(constantQualityRadioButton, SIGNAL(toggled(bool)), qualitySlider, SLOT(setEnabled(bool)));
195 QObject::connect(constantBitrateRadioButton, SIGNAL(toggled(bool)), bitrateBox, SLOT(setEnabled(bool)));
196 QObject::connect(outputButton, SIGNAL(clicked()), AudioRecorder, SLOT(setOutputLocation()));
197 QObject::connect(recordButton, SIGNAL(clicked()), AudioRecorder, SLOT(toggleRecord()));
198 QObject::connect(pauseButton, SIGNAL(clicked()), AudioRecorder, SLOT(togglePause()));
199
200 QMetaObject::connectSlotsByName(AudioRecorder);
201 } // setupUi
202
203 void retranslateUi(QMainWindow *AudioRecorder)
204 {
205 AudioRecorder->setWindowTitle(QCoreApplication::translate("AudioRecorder", "MainWindow", nullptr));
206 label_4->setText(QCoreApplication::translate("AudioRecorder", "Sample rate:", nullptr));
207 label_2->setText(QCoreApplication::translate("AudioRecorder", "Audio Codec:", nullptr));
208 label->setText(QCoreApplication::translate("AudioRecorder", "Input Device:", nullptr));
209 label_3->setText(QCoreApplication::translate("AudioRecorder", "File Container:", nullptr));
210 label_5->setText(QCoreApplication::translate("AudioRecorder", "Channels:", nullptr));
211 groupBox->setTitle(QCoreApplication::translate("AudioRecorder", "Encoding Mode:", nullptr));
212 constantQualityRadioButton->setText(QCoreApplication::translate("AudioRecorder", "Constant Quality:", nullptr));
213 constantBitrateRadioButton->setText(QCoreApplication::translate("AudioRecorder", "Constant Bitrate:", nullptr));
214 outputButton->setText(QCoreApplication::translate("AudioRecorder", "Output...", nullptr));
215 recordButton->setText(QCoreApplication::translate("AudioRecorder", "Record", nullptr));
216 pauseButton->setText(QCoreApplication::translate("AudioRecorder", "Pause", nullptr));
217 levelLabel->setText(QCoreApplication::translate("AudioRecorder", "Audio Level:", 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