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