1/********************************************************************************
2** Form generated from reading UI file 'videosettings.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_VIDEOSETTINGS_H
10#define UI_VIDEOSETTINGS_H
11
12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QComboBox>
15#include <QtWidgets/QDialog>
16#include <QtWidgets/QDialogButtonBox>
17#include <QtWidgets/QGridLayout>
18#include <QtWidgets/QGroupBox>
19#include <QtWidgets/QLabel>
20#include <QtWidgets/QScrollArea>
21#include <QtWidgets/QSlider>
22#include <QtWidgets/QSpacerItem>
23#include <QtWidgets/QWidget>
24
25QT_BEGIN_NAMESPACE
26
27class Ui_VideoSettingsUi
28{
29public:
30 QGridLayout *gridLayout_4;
31 QScrollArea *scrollArea;
32 QWidget *scrollAreaWidgetContents;
33 QGridLayout *gridLayout_3;
34 QGroupBox *groupBox;
35 QGridLayout *gridLayout;
36 QLabel *label_2;
37 QComboBox *audioCodecBox;
38 QLabel *label_5;
39 QComboBox *audioSampleRateBox;
40 QLabel *label_3;
41 QSlider *audioQualitySlider;
42 QGroupBox *groupBox_2;
43 QGridLayout *gridLayout_2;
44 QLabel *label_8;
45 QComboBox *videoResolutionBox;
46 QLabel *label_9;
47 QComboBox *videoFramerateBox;
48 QLabel *label_6;
49 QComboBox *videoCodecBox;
50 QLabel *label_7;
51 QSlider *videoQualitySlider;
52 QLabel *label_4;
53 QComboBox *containerFormatBox;
54 QSpacerItem *verticalSpacer;
55 QDialogButtonBox *buttonBox;
56
57 void setupUi(QDialog *VideoSettingsUi)
58 {
59 if (VideoSettingsUi->objectName().isEmpty())
60 VideoSettingsUi->setObjectName(QString::fromUtf8(str: "VideoSettingsUi"));
61 VideoSettingsUi->resize(w: 561, h: 369);
62 gridLayout_4 = new QGridLayout(VideoSettingsUi);
63 gridLayout_4->setObjectName(QString::fromUtf8(str: "gridLayout_4"));
64 scrollArea = new QScrollArea(VideoSettingsUi);
65 scrollArea->setObjectName(QString::fromUtf8(str: "scrollArea"));
66 scrollArea->setFrameShape(QFrame::NoFrame);
67 scrollArea->setWidgetResizable(true);
68 scrollAreaWidgetContents = new QWidget();
69 scrollAreaWidgetContents->setObjectName(QString::fromUtf8(str: "scrollAreaWidgetContents"));
70 scrollAreaWidgetContents->setGeometry(QRect(0, 0, 543, 250));
71 gridLayout_3 = new QGridLayout(scrollAreaWidgetContents);
72 gridLayout_3->setObjectName(QString::fromUtf8(str: "gridLayout_3"));
73 groupBox = new QGroupBox(scrollAreaWidgetContents);
74 groupBox->setObjectName(QString::fromUtf8(str: "groupBox"));
75 gridLayout = new QGridLayout(groupBox);
76 gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout"));
77 label_2 = new QLabel(groupBox);
78 label_2->setObjectName(QString::fromUtf8(str: "label_2"));
79
80 gridLayout->addWidget(label_2, row: 0, column: 0, rowSpan: 1, columnSpan: 2);
81
82 audioCodecBox = new QComboBox(groupBox);
83 audioCodecBox->setObjectName(QString::fromUtf8(str: "audioCodecBox"));
84
85 gridLayout->addWidget(audioCodecBox, row: 1, column: 0, rowSpan: 1, columnSpan: 2);
86
87 label_5 = new QLabel(groupBox);
88 label_5->setObjectName(QString::fromUtf8(str: "label_5"));
89
90 gridLayout->addWidget(label_5, row: 2, column: 0, rowSpan: 1, columnSpan: 2);
91
92 audioSampleRateBox = new QComboBox(groupBox);
93 audioSampleRateBox->setObjectName(QString::fromUtf8(str: "audioSampleRateBox"));
94
95 gridLayout->addWidget(audioSampleRateBox, row: 3, column: 0, rowSpan: 1, columnSpan: 2);
96
97 label_3 = new QLabel(groupBox);
98 label_3->setObjectName(QString::fromUtf8(str: "label_3"));
99
100 gridLayout->addWidget(label_3, row: 4, column: 0, rowSpan: 1, columnSpan: 1);
101
102 audioQualitySlider = new QSlider(groupBox);
103 audioQualitySlider->setObjectName(QString::fromUtf8(str: "audioQualitySlider"));
104 audioQualitySlider->setMaximum(4);
105 audioQualitySlider->setOrientation(Qt::Horizontal);
106
107 gridLayout->addWidget(audioQualitySlider, row: 4, column: 1, rowSpan: 1, columnSpan: 1);
108
109
110 gridLayout_3->addWidget(groupBox, row: 0, column: 0, rowSpan: 1, columnSpan: 1);
111
112 groupBox_2 = new QGroupBox(scrollAreaWidgetContents);
113 groupBox_2->setObjectName(QString::fromUtf8(str: "groupBox_2"));
114 gridLayout_2 = new QGridLayout(groupBox_2);
115 gridLayout_2->setObjectName(QString::fromUtf8(str: "gridLayout_2"));
116 label_8 = new QLabel(groupBox_2);
117 label_8->setObjectName(QString::fromUtf8(str: "label_8"));
118
119 gridLayout_2->addWidget(label_8, row: 0, column: 0, rowSpan: 1, columnSpan: 2);
120
121 videoResolutionBox = new QComboBox(groupBox_2);
122 videoResolutionBox->setObjectName(QString::fromUtf8(str: "videoResolutionBox"));
123
124 gridLayout_2->addWidget(videoResolutionBox, row: 1, column: 0, rowSpan: 1, columnSpan: 2);
125
126 label_9 = new QLabel(groupBox_2);
127 label_9->setObjectName(QString::fromUtf8(str: "label_9"));
128
129 gridLayout_2->addWidget(label_9, row: 2, column: 0, rowSpan: 1, columnSpan: 2);
130
131 videoFramerateBox = new QComboBox(groupBox_2);
132 videoFramerateBox->setObjectName(QString::fromUtf8(str: "videoFramerateBox"));
133
134 gridLayout_2->addWidget(videoFramerateBox, row: 3, column: 0, rowSpan: 1, columnSpan: 2);
135
136 label_6 = new QLabel(groupBox_2);
137 label_6->setObjectName(QString::fromUtf8(str: "label_6"));
138
139 gridLayout_2->addWidget(label_6, row: 4, column: 0, rowSpan: 1, columnSpan: 2);
140
141 videoCodecBox = new QComboBox(groupBox_2);
142 videoCodecBox->setObjectName(QString::fromUtf8(str: "videoCodecBox"));
143
144 gridLayout_2->addWidget(videoCodecBox, row: 5, column: 0, rowSpan: 1, columnSpan: 2);
145
146 label_7 = new QLabel(groupBox_2);
147 label_7->setObjectName(QString::fromUtf8(str: "label_7"));
148
149 gridLayout_2->addWidget(label_7, row: 6, column: 0, rowSpan: 1, columnSpan: 1);
150
151 videoQualitySlider = new QSlider(groupBox_2);
152 videoQualitySlider->setObjectName(QString::fromUtf8(str: "videoQualitySlider"));
153 videoQualitySlider->setMaximum(4);
154 videoQualitySlider->setOrientation(Qt::Horizontal);
155
156 gridLayout_2->addWidget(videoQualitySlider, row: 6, column: 1, rowSpan: 1, columnSpan: 1);
157
158
159 gridLayout_3->addWidget(groupBox_2, row: 0, column: 1, rowSpan: 3, columnSpan: 1);
160
161 label_4 = new QLabel(scrollAreaWidgetContents);
162 label_4->setObjectName(QString::fromUtf8(str: "label_4"));
163
164 gridLayout_3->addWidget(label_4, row: 1, column: 0, rowSpan: 1, columnSpan: 1);
165
166 containerFormatBox = new QComboBox(scrollAreaWidgetContents);
167 containerFormatBox->setObjectName(QString::fromUtf8(str: "containerFormatBox"));
168
169 gridLayout_3->addWidget(containerFormatBox, row: 2, column: 0, rowSpan: 1, columnSpan: 1);
170
171 scrollArea->setWidget(scrollAreaWidgetContents);
172
173 gridLayout_4->addWidget(scrollArea, row: 0, column: 0, rowSpan: 1, columnSpan: 1);
174
175 verticalSpacer = new QSpacerItem(20, 14, QSizePolicy::Minimum, QSizePolicy::Expanding);
176
177 gridLayout_4->addItem(item: verticalSpacer, row: 1, column: 0, rowSpan: 1, columnSpan: 1);
178
179 buttonBox = new QDialogButtonBox(VideoSettingsUi);
180 buttonBox->setObjectName(QString::fromUtf8(str: "buttonBox"));
181 buttonBox->setOrientation(Qt::Horizontal);
182 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
183
184 gridLayout_4->addWidget(buttonBox, row: 2, column: 0, rowSpan: 1, columnSpan: 1);
185
186
187 retranslateUi(VideoSettingsUi);
188 QObject::connect(sender: buttonBox, SIGNAL(accepted()), receiver: VideoSettingsUi, SLOT(accept()));
189 QObject::connect(sender: buttonBox, SIGNAL(rejected()), receiver: VideoSettingsUi, SLOT(reject()));
190
191 QMetaObject::connectSlotsByName(o: VideoSettingsUi);
192 } // setupUi
193
194 void retranslateUi(QDialog *VideoSettingsUi)
195 {
196 VideoSettingsUi->setWindowTitle(QCoreApplication::translate(context: "VideoSettingsUi", key: "Video Settings", disambiguation: nullptr));
197 groupBox->setTitle(QCoreApplication::translate(context: "VideoSettingsUi", key: "Audio", disambiguation: nullptr));
198 label_2->setText(QCoreApplication::translate(context: "VideoSettingsUi", key: "Audio Codec:", disambiguation: nullptr));
199 label_5->setText(QCoreApplication::translate(context: "VideoSettingsUi", key: "Sample Rate:", disambiguation: nullptr));
200 label_3->setText(QCoreApplication::translate(context: "VideoSettingsUi", key: "Quality:", disambiguation: nullptr));
201 groupBox_2->setTitle(QCoreApplication::translate(context: "VideoSettingsUi", key: "Video", disambiguation: nullptr));
202 label_8->setText(QCoreApplication::translate(context: "VideoSettingsUi", key: "Resolution:", disambiguation: nullptr));
203 label_9->setText(QCoreApplication::translate(context: "VideoSettingsUi", key: "Framerate:", disambiguation: nullptr));
204 label_6->setText(QCoreApplication::translate(context: "VideoSettingsUi", key: "Video Codec:", disambiguation: nullptr));
205 label_7->setText(QCoreApplication::translate(context: "VideoSettingsUi", key: "Quality:", disambiguation: nullptr));
206 label_4->setText(QCoreApplication::translate(context: "VideoSettingsUi", key: "Container Format:", disambiguation: nullptr));
207 } // retranslateUi
208
209};
210
211namespace Ui {
212 class VideoSettingsUi: public Ui_VideoSettingsUi {};
213} // namespace Ui
214
215QT_END_NAMESPACE
216
217#endif // UI_VIDEOSETTINGS_H
218

source code of qtmultimedia/examples/multimediawidgets/camera/.uic/ui_videosettings.h