CuteLogger
Fast and simple logging solution for Qt based applications
ui_customprofiledialog.h
1/********************************************************************************
2** Form generated from reading UI file 'customprofiledialog.ui'
3**
4** Created by: Qt User Interface Compiler version 6.9.0
5**
6** WARNING! All changes made in this file will be lost when recompiling UI file!
7********************************************************************************/
8
9#ifndef UI_CUSTOMPROFILEDIALOG_H
10#define UI_CUSTOMPROFILEDIALOG_H
11
12#include <QtCore/QVariant>
13#include <QtWidgets/QAbstractButton>
14#include <QtWidgets/QApplication>
15#include <QtWidgets/QComboBox>
16#include <QtWidgets/QDialog>
17#include <QtWidgets/QDialogButtonBox>
18#include <QtWidgets/QDoubleSpinBox>
19#include <QtWidgets/QGridLayout>
20#include <QtWidgets/QHBoxLayout>
21#include <QtWidgets/QLabel>
22#include <QtWidgets/QLineEdit>
23#include <QtWidgets/QSpacerItem>
24#include <QtWidgets/QSpinBox>
25#include <QtWidgets/QVBoxLayout>
26#include <QtWidgets/QWidget>
27
28QT_BEGIN_NAMESPACE
29
30class Ui_CustomProfileDialog
31{
32public:
33 QVBoxLayout *verticalLayout;
34 QWidget *widget;
35 QGridLayout *gridLayout_2;
36 QLabel *label_2;
37 QHBoxLayout *horizontalLayout_2;
38 QComboBox *colorspaceCombo;
39 QSpacerItem *horizontalSpacer;
40 QLabel *label_22;
41 QLineEdit *nameEdit;
42 QHBoxLayout *horizontalLayout_8;
43 QSpinBox *aspectNumSpinner;
44 QLabel *label_16;
45 QSpinBox *aspectDenSpinner;
46 QComboBox *aspectRatioComboBox;
47 QSpacerItem *horizontalSpacer_8;
48 QLabel *label;
49 QHBoxLayout *horizontalLayout_9;
50 QComboBox *scanModeCombo;
51 QSpacerItem *horizontalSpacer_9;
52 QLabel *label_13;
53 QHBoxLayout *horizontalLayout_7;
54 QSpinBox *widthSpinner;
55 QLabel *label_11;
56 QSpinBox *heightSpinner;
57 QComboBox *resolutionComboBox;
58 QSpacerItem *horizontalSpacer_7;
59 QLabel *label_10;
60 QHBoxLayout *horizontalLayout_16;
61 QDoubleSpinBox *fpsSpinner;
62 QComboBox *fpsComboBox;
63 QSpacerItem *horizontalSpacer_16;
64 QLabel *label_14;
65 QSpacerItem *verticalSpacer_2;
66 QLabel *label_3;
67 QDialogButtonBox *buttonBox;
68
69 void setupUi(QDialog *CustomProfileDialog)
70 {
71 if (CustomProfileDialog->objectName().isEmpty())
72 CustomProfileDialog->setObjectName("CustomProfileDialog");
73 CustomProfileDialog->resize(496, 322);
74 CustomProfileDialog->setModal(true);
75 verticalLayout = new QVBoxLayout(CustomProfileDialog);
76 verticalLayout->setObjectName("verticalLayout");
77 widget = new QWidget(CustomProfileDialog);
78 widget->setObjectName("widget");
79 gridLayout_2 = new QGridLayout(widget);
80 gridLayout_2->setObjectName("gridLayout_2");
81 gridLayout_2->setVerticalSpacing(3);
82 label_2 = new QLabel(widget);
83 label_2->setObjectName("label_2");
84 label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
85
86 gridLayout_2->addWidget(label_2, 7, 0, 1, 1);
87
88 horizontalLayout_2 = new QHBoxLayout();
89 horizontalLayout_2->setObjectName("horizontalLayout_2");
90 colorspaceCombo = new QComboBox(widget);
91 colorspaceCombo->addItem(QString::fromUtf8("ITU-R BT.601"));
92 colorspaceCombo->addItem(QString::fromUtf8("ITU-R BT.709"));
93 colorspaceCombo->addItem(QString());
94 colorspaceCombo->setObjectName("colorspaceCombo");
95
96 horizontalLayout_2->addWidget(colorspaceCombo);
97
98 horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
99
100 horizontalLayout_2->addItem(horizontalSpacer);
101
102
103 gridLayout_2->addLayout(horizontalLayout_2, 7, 1, 1, 2);
104
105 label_22 = new QLabel(widget);
106 label_22->setObjectName("label_22");
107 label_22->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
108
109 gridLayout_2->addWidget(label_22, 2, 0, 1, 1);
110
111 nameEdit = new QLineEdit(widget);
112 nameEdit->setObjectName("nameEdit");
113
114 gridLayout_2->addWidget(nameEdit, 0, 1, 1, 2);
115
116 horizontalLayout_8 = new QHBoxLayout();
117 horizontalLayout_8->setObjectName("horizontalLayout_8");
118 aspectNumSpinner = new QSpinBox(widget);
119 aspectNumSpinner->setObjectName("aspectNumSpinner");
120 aspectNumSpinner->setMinimum(1);
121 aspectNumSpinner->setMaximum(8192);
122 aspectNumSpinner->setValue(16);
123
124 horizontalLayout_8->addWidget(aspectNumSpinner);
125
126 label_16 = new QLabel(widget);
127 label_16->setObjectName("label_16");
128
129 horizontalLayout_8->addWidget(label_16);
130
131 aspectDenSpinner = new QSpinBox(widget);
132 aspectDenSpinner->setObjectName("aspectDenSpinner");
133 aspectDenSpinner->setMinimum(1);
134 aspectDenSpinner->setMaximum(8192);
135 aspectDenSpinner->setValue(9);
136
137 horizontalLayout_8->addWidget(aspectDenSpinner);
138
139 aspectRatioComboBox = new QComboBox(widget);
140 aspectRatioComboBox->addItem(QString::fromUtf8("16:9 (wide)"));
141 aspectRatioComboBox->addItem(QString::fromUtf8("4:3 (SD)"));
142 aspectRatioComboBox->addItem(QString::fromUtf8("9:16 (vertical)"));
143 aspectRatioComboBox->addItem(QString::fromUtf8("1:1 (square)"));
144 aspectRatioComboBox->addItem(QString::fromUtf8("1.90:1 (DCI)"));
145 aspectRatioComboBox->setObjectName("aspectRatioComboBox");
146 aspectRatioComboBox->setMaximumSize(QSize(20, 16777215));
147
148 horizontalLayout_8->addWidget(aspectRatioComboBox);
149
150 horizontalSpacer_8 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
151
152 horizontalLayout_8->addItem(horizontalSpacer_8);
153
154
155 gridLayout_2->addLayout(horizontalLayout_8, 3, 1, 1, 2);
156
157 label = new QLabel(widget);
158 label->setObjectName("label");
159 label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
160
161 gridLayout_2->addWidget(label, 0, 0, 1, 1);
162
163 horizontalLayout_9 = new QHBoxLayout();
164 horizontalLayout_9->setObjectName("horizontalLayout_9");
165 scanModeCombo = new QComboBox(widget);
166 scanModeCombo->addItem(QString());
167 scanModeCombo->addItem(QString());
168 scanModeCombo->setObjectName("scanModeCombo");
169
170 horizontalLayout_9->addWidget(scanModeCombo);
171
172 horizontalSpacer_9 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
173
174 horizontalLayout_9->addItem(horizontalSpacer_9);
175
176
177 gridLayout_2->addLayout(horizontalLayout_9, 6, 1, 1, 2);
178
179 label_13 = new QLabel(widget);
180 label_13->setObjectName("label_13");
181 label_13->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
182
183 gridLayout_2->addWidget(label_13, 3, 0, 1, 1);
184
185 horizontalLayout_7 = new QHBoxLayout();
186 horizontalLayout_7->setObjectName("horizontalLayout_7");
187 widthSpinner = new QSpinBox(widget);
188 widthSpinner->setObjectName("widthSpinner");
189 widthSpinner->setMinimum(16);
190 widthSpinner->setMaximum(8192);
191 widthSpinner->setSingleStep(2);
192 widthSpinner->setValue(1280);
193
194 horizontalLayout_7->addWidget(widthSpinner);
195
196 label_11 = new QLabel(widget);
197 label_11->setObjectName("label_11");
198
199 horizontalLayout_7->addWidget(label_11);
200
201 heightSpinner = new QSpinBox(widget);
202 heightSpinner->setObjectName("heightSpinner");
203 heightSpinner->setMinimum(1);
204 heightSpinner->setMaximum(8192);
205 heightSpinner->setSingleStep(2);
206 heightSpinner->setValue(720);
207
208 horizontalLayout_7->addWidget(heightSpinner);
209
210 resolutionComboBox = new QComboBox(widget);
211 resolutionComboBox->addItem(QString::fromUtf8("1280 x 720 (HD)"));
212 resolutionComboBox->addItem(QString::fromUtf8("1920 x 1080 (FHD)"));
213 resolutionComboBox->addItem(QString::fromUtf8("2048 x 1080 (DCI 2K)"));
214 resolutionComboBox->addItem(QString::fromUtf8("2560 x 1440 (QHD 2K)"));
215 resolutionComboBox->addItem(QString::fromUtf8("2704 x 1520 (2.7K)"));
216 resolutionComboBox->addItem(QString::fromUtf8("3840 x 2160 (UHD 4K)"));
217 resolutionComboBox->addItem(QString::fromUtf8("4096 x 2160 (DCI 4K)"));
218 resolutionComboBox->addItem(QString::fromUtf8("5120 x 2880 (5K)"));
219 resolutionComboBox->setObjectName("resolutionComboBox");
220 resolutionComboBox->setMaximumSize(QSize(20, 16777215));
221
222 horizontalLayout_7->addWidget(resolutionComboBox);
223
224 horizontalSpacer_7 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
225
226 horizontalLayout_7->addItem(horizontalSpacer_7);
227
228
229 gridLayout_2->addLayout(horizontalLayout_7, 2, 1, 1, 2);
230
231 label_10 = new QLabel(widget);
232 label_10->setObjectName("label_10");
233 label_10->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
234
235 gridLayout_2->addWidget(label_10, 5, 0, 1, 1);
236
237 horizontalLayout_16 = new QHBoxLayout();
238 horizontalLayout_16->setObjectName("horizontalLayout_16");
239 fpsSpinner = new QDoubleSpinBox(widget);
240 fpsSpinner->setObjectName("fpsSpinner");
241 fpsSpinner->setDecimals(6);
242 fpsSpinner->setMinimum(1.000000000000000);
243 fpsSpinner->setMaximum(1000.000000000000000);
244 fpsSpinner->setValue(25.000000000000000);
245
246 horizontalLayout_16->addWidget(fpsSpinner);
247
248 fpsComboBox = new QComboBox(widget);
249 fpsComboBox->addItem(QString::fromUtf8("23.976024"));
250 fpsComboBox->addItem(QString::fromUtf8("24"));
251 fpsComboBox->addItem(QString::fromUtf8("25"));
252 fpsComboBox->addItem(QString::fromUtf8("29.970030"));
253 fpsComboBox->addItem(QString::fromUtf8("30"));
254 fpsComboBox->addItem(QString::fromUtf8("48"));
255 fpsComboBox->addItem(QString::fromUtf8("50"));
256 fpsComboBox->addItem(QString::fromUtf8("59.940060"));
257 fpsComboBox->addItem(QString::fromUtf8("60"));
258 fpsComboBox->setObjectName("fpsComboBox");
259 fpsComboBox->setMaximumSize(QSize(20, 16777215));
260
261 horizontalLayout_16->addWidget(fpsComboBox);
262
263 horizontalSpacer_16 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
264
265 horizontalLayout_16->addItem(horizontalSpacer_16);
266
267
268 gridLayout_2->addLayout(horizontalLayout_16, 5, 1, 1, 2);
269
270 label_14 = new QLabel(widget);
271 label_14->setObjectName("label_14");
272 label_14->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
273
274 gridLayout_2->addWidget(label_14, 6, 0, 1, 1);
275
276 verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);
277
278 gridLayout_2->addItem(verticalSpacer_2, 10, 0, 1, 1);
279
280 label_3 = new QLabel(widget);
281 label_3->setObjectName("label_3");
282 QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::MinimumExpanding);
283 sizePolicy.setHorizontalStretch(0);
284 sizePolicy.setVerticalStretch(0);
285 sizePolicy.setHeightForWidth(label_3->sizePolicy().hasHeightForWidth());
286 label_3->setSizePolicy(sizePolicy);
287 label_3->setScaledContents(true);
288 label_3->setWordWrap(true);
289 label_3->setTextInteractionFlags(Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
290
291 gridLayout_2->addWidget(label_3, 1, 0, 1, 3);
292
293
294 verticalLayout->addWidget(widget);
295
296 buttonBox = new QDialogButtonBox(CustomProfileDialog);
297 buttonBox->setObjectName("buttonBox");
298 buttonBox->setOrientation(Qt::Horizontal);
299 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
300
301 verticalLayout->addWidget(buttonBox);
302
303#if QT_CONFIG(shortcut)
304 label_2->setBuddy(colorspaceCombo);
305 label_22->setBuddy(widthSpinner);
306 label->setBuddy(nameEdit);
307 label_13->setBuddy(aspectNumSpinner);
308 label_10->setBuddy(fpsSpinner);
309 label_14->setBuddy(scanModeCombo);
310#endif // QT_CONFIG(shortcut)
311 QWidget::setTabOrder(nameEdit, widthSpinner);
312 QWidget::setTabOrder(widthSpinner, heightSpinner);
313 QWidget::setTabOrder(heightSpinner, aspectNumSpinner);
314 QWidget::setTabOrder(aspectNumSpinner, aspectDenSpinner);
315 QWidget::setTabOrder(aspectDenSpinner, fpsSpinner);
316 QWidget::setTabOrder(fpsSpinner, scanModeCombo);
317 QWidget::setTabOrder(scanModeCombo, colorspaceCombo);
318 QWidget::setTabOrder(colorspaceCombo, buttonBox);
319
320 retranslateUi(CustomProfileDialog);
321 QObject::connect(buttonBox, &QDialogButtonBox::accepted, CustomProfileDialog, qOverload<>(&QDialog::accept));
322 QObject::connect(buttonBox, &QDialogButtonBox::rejected, CustomProfileDialog, qOverload<>(&QDialog::reject));
323
324 colorspaceCombo->setCurrentIndex(1);
325 scanModeCombo->setCurrentIndex(1);
326
327
328 QMetaObject::connectSlotsByName(CustomProfileDialog);
329 } // setupUi
330
331 void retranslateUi(QDialog *CustomProfileDialog)
332 {
333 CustomProfileDialog->setWindowTitle(QCoreApplication::translate("CustomProfileDialog", "Add Custom Video Mode", nullptr));
334 label_2->setText(QCoreApplication::translate("CustomProfileDialog", "Colorspace", nullptr));
335 colorspaceCombo->setItemText(2, QCoreApplication::translate("CustomProfileDialog", "ITU-R BT.2020", nullptr));
336
337 label_22->setText(QCoreApplication::translate("CustomProfileDialog", "Resolution", nullptr));
338 label_16->setText(QCoreApplication::translate("CustomProfileDialog", ":", nullptr));
339
340 label->setText(QCoreApplication::translate("CustomProfileDialog", "Name", nullptr));
341 scanModeCombo->setItemText(0, QCoreApplication::translate("CustomProfileDialog", "Interlaced", nullptr));
342 scanModeCombo->setItemText(1, QCoreApplication::translate("CustomProfileDialog", "Progressive", nullptr));
343
344 label_13->setText(QCoreApplication::translate("CustomProfileDialog", "Aspect ratio", nullptr));
345 label_11->setText(QCoreApplication::translate("CustomProfileDialog", "x", nullptr));
346
347 label_10->setText(QCoreApplication::translate("CustomProfileDialog", "Frames/sec", nullptr));
348
349 label_14->setText(QCoreApplication::translate("CustomProfileDialog", "Scan mode", nullptr));
350 label_3->setText(QCoreApplication::translate("CustomProfileDialog", "<small>(Leave Name blank to skip saving a preset and use a temporary or project-specific Video Mode.)</small>", nullptr));
351 } // retranslateUi
352
353};
354
355namespace Ui {
356 class CustomProfileDialog: public Ui_CustomProfileDialog {};
357} // namespace Ui
358
359QT_END_NAMESPACE
360
361#endif // UI_CUSTOMPROFILEDIALOG_H