CuteLogger
Fast and simple logging solution for Qt based applications
ui_transcodedialog.h
1/********************************************************************************
2** Form generated from reading UI file 'transcodedialog.ui'
3**
4** Created by: Qt User Interface Compiler version 6.11.0
5**
6** WARNING! All changes made in this file will be lost when recompiling UI file!
7********************************************************************************/
8
9#ifndef UI_TRANSCODEDIALOG_H
10#define UI_TRANSCODEDIALOG_H
11
12#include <QtCore/QVariant>
13#include <QtWidgets/QAbstractButton>
14#include <QtWidgets/QApplication>
15#include <QtWidgets/QCheckBox>
16#include <QtWidgets/QComboBox>
17#include <QtWidgets/QDialog>
18#include <QtWidgets/QDialogButtonBox>
19#include <QtWidgets/QFrame>
20#include <QtWidgets/QGridLayout>
21#include <QtWidgets/QHBoxLayout>
22#include <QtWidgets/QLabel>
23#include <QtWidgets/QSlider>
24#include <QtWidgets/QVBoxLayout>
25#include <QtWidgets/QWidget>
26#include "widgets/frameratewidget.h"
27
28QT_BEGIN_NAMESPACE
29
30class Ui_TranscodeDialog
31{
32public:
33 QVBoxLayout *verticalLayout;
34 QLabel *messageLabel;
35 QHBoxLayout *horizontalLayout;
36 QLabel *label;
37 QLabel *label_2;
38 QLabel *label_3;
39 QSlider *horizontalSlider;
40 QHBoxLayout *horizontalLayout_2;
41 QLabel *label_4;
42 QLabel *label_5;
43 QLabel *label_6;
44 QLabel *formatLabel;
45 QCheckBox *checkBox;
46 QWidget *advancedWidget;
47 QVBoxLayout *verticalLayout_2;
48 QGridLayout *gridLayout;
49 FrameRateWidget *fpsWidget;
50 QCheckBox *convert709CheckBox;
51 QCheckBox *subclipCheckBox;
52 QCheckBox *advancedCheckBox;
53 QComboBox *frcComboBox;
54 QFrame *line;
55 QCheckBox *fpsCheckBox;
56 QLabel *sampleRateLabel;
57 QLabel *fpsLabel;
58 QCheckBox *deinterlaceCheckBox;
59 QLabel *frcLabel;
60 QComboBox *sampleRateComboBox;
61 QDialogButtonBox *buttonBox;
62
63 void setupUi(QDialog *TranscodeDialog)
64 {
65 if (TranscodeDialog->objectName().isEmpty())
66 TranscodeDialog->setObjectName("TranscodeDialog");
67 TranscodeDialog->setWindowModality(Qt::WindowModality::WindowModal);
68 TranscodeDialog->resize(492, 575);
69#if QT_CONFIG(whatsthis)
70 TranscodeDialog->setWhatsThis(QString::fromUtf8("https://forum.shotcut.org/t/convert-to-edit-friendly-dialog/47720"));
71#endif // QT_CONFIG(whatsthis)
72 verticalLayout = new QVBoxLayout(TranscodeDialog);
73 verticalLayout->setObjectName("verticalLayout");
74 verticalLayout->setSizeConstraint(QLayout::SizeConstraint::SetFixedSize);
75 messageLabel = new QLabel(TranscodeDialog);
76 messageLabel->setObjectName("messageLabel");
77 messageLabel->setText(QString::fromUtf8("messageLabel"));
78 messageLabel->setAlignment(Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignTop);
79 messageLabel->setWordWrap(true);
80
81 verticalLayout->addWidget(messageLabel);
82
83 horizontalLayout = new QHBoxLayout();
84 horizontalLayout->setObjectName("horizontalLayout");
85 label = new QLabel(TranscodeDialog);
86 label->setObjectName("label");
87 label->setAlignment(Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignVCenter);
88
89 horizontalLayout->addWidget(label);
90
91 label_2 = new QLabel(TranscodeDialog);
92 label_2->setObjectName("label_2");
93 label_2->setAlignment(Qt::AlignmentFlag::AlignCenter);
94
95 horizontalLayout->addWidget(label_2);
96
97 label_3 = new QLabel(TranscodeDialog);
98 label_3->setObjectName("label_3");
99 label_3->setAlignment(Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter);
100
101 horizontalLayout->addWidget(label_3);
102
103
104 verticalLayout->addLayout(horizontalLayout);
105
106 horizontalSlider = new QSlider(TranscodeDialog);
107 horizontalSlider->setObjectName("horizontalSlider");
108 horizontalSlider->setMaximum(2);
109 horizontalSlider->setPageStep(1);
110 horizontalSlider->setValue(0);
111 horizontalSlider->setSliderPosition(0);
112 horizontalSlider->setOrientation(Qt::Orientation::Horizontal);
113 horizontalSlider->setTickPosition(QSlider::TickPosition::TicksBothSides);
114
115 verticalLayout->addWidget(horizontalSlider);
116
117 horizontalLayout_2 = new QHBoxLayout();
118 horizontalLayout_2->setObjectName("horizontalLayout_2");
119 label_4 = new QLabel(TranscodeDialog);
120 label_4->setObjectName("label_4");
121 label_4->setAlignment(Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignVCenter);
122
123 horizontalLayout_2->addWidget(label_4);
124
125 label_5 = new QLabel(TranscodeDialog);
126 label_5->setObjectName("label_5");
127 label_5->setAlignment(Qt::AlignmentFlag::AlignCenter);
128
129 horizontalLayout_2->addWidget(label_5);
130
131 label_6 = new QLabel(TranscodeDialog);
132 label_6->setObjectName("label_6");
133 label_6->setAlignment(Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter);
134
135 horizontalLayout_2->addWidget(label_6);
136
137
138 verticalLayout->addLayout(horizontalLayout_2);
139
140 formatLabel = new QLabel(TranscodeDialog);
141 formatLabel->setObjectName("formatLabel");
142 formatLabel->setText(QString::fromUtf8("formatLabel"));
143 formatLabel->setAlignment(Qt::AlignmentFlag::AlignCenter);
144
145 verticalLayout->addWidget(formatLabel);
146
147 checkBox = new QCheckBox(TranscodeDialog);
148 checkBox->setObjectName("checkBox");
149
150 verticalLayout->addWidget(checkBox);
151
152 advancedWidget = new QWidget(TranscodeDialog);
153 advancedWidget->setObjectName("advancedWidget");
154 verticalLayout_2 = new QVBoxLayout(advancedWidget);
155 verticalLayout_2->setObjectName("verticalLayout_2");
156 gridLayout = new QGridLayout();
157 gridLayout->setObjectName("gridLayout");
158 fpsWidget = new FrameRateWidget(advancedWidget);
159 fpsWidget->setObjectName("fpsWidget");
160
161 gridLayout->addWidget(fpsWidget, 4, 1, 1, 1);
162
163 convert709CheckBox = new QCheckBox(advancedWidget);
164 convert709CheckBox->setObjectName("convert709CheckBox");
165
166 gridLayout->addWidget(convert709CheckBox, 6, 1, 1, 1);
167
168 subclipCheckBox = new QCheckBox(advancedWidget);
169 subclipCheckBox->setObjectName("subclipCheckBox");
170
171 gridLayout->addWidget(subclipCheckBox, 1, 1, 1, 1);
172
173 advancedCheckBox = new QCheckBox(advancedWidget);
174 advancedCheckBox->setObjectName("advancedCheckBox");
175
176 gridLayout->addWidget(advancedCheckBox, 9, 1, 1, 1);
177
178 frcComboBox = new QComboBox(advancedWidget);
179 frcComboBox->setObjectName("frcComboBox");
180
181 gridLayout->addWidget(frcComboBox, 5, 1, 1, 1);
182
183 line = new QFrame(advancedWidget);
184 line->setObjectName("line");
185 line->setFrameShape(QFrame::Shape::HLine);
186 line->setFrameShadow(QFrame::Shadow::Sunken);
187
188 gridLayout->addWidget(line, 0, 0, 1, 2);
189
190 fpsCheckBox = new QCheckBox(advancedWidget);
191 fpsCheckBox->setObjectName("fpsCheckBox");
192
193 gridLayout->addWidget(fpsCheckBox, 3, 1, 1, 1);
194
195 sampleRateLabel = new QLabel(advancedWidget);
196 sampleRateLabel->setObjectName("sampleRateLabel");
197 sampleRateLabel->setEnabled(true);
198 sampleRateLabel->setAlignment(Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter);
199
200 gridLayout->addWidget(sampleRateLabel, 7, 0, 1, 1);
201
202 fpsLabel = new QLabel(advancedWidget);
203 fpsLabel->setObjectName("fpsLabel");
204 fpsLabel->setAlignment(Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter);
205
206 gridLayout->addWidget(fpsLabel, 4, 0, 1, 1);
207
208 deinterlaceCheckBox = new QCheckBox(advancedWidget);
209 deinterlaceCheckBox->setObjectName("deinterlaceCheckBox");
210
211 gridLayout->addWidget(deinterlaceCheckBox, 2, 1, 1, 1);
212
213 frcLabel = new QLabel(advancedWidget);
214 frcLabel->setObjectName("frcLabel");
215 frcLabel->setAlignment(Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter);
216
217 gridLayout->addWidget(frcLabel, 5, 0, 1, 1);
218
219 sampleRateComboBox = new QComboBox(advancedWidget);
220 sampleRateComboBox->addItem(QString());
221 sampleRateComboBox->addItem(QString());
222 sampleRateComboBox->addItem(QString());
223 sampleRateComboBox->setObjectName("sampleRateComboBox");
224 sampleRateComboBox->setEnabled(true);
225
226 gridLayout->addWidget(sampleRateComboBox, 7, 1, 1, 1);
227
228 gridLayout->setColumnStretch(1, 1);
229
230 verticalLayout_2->addLayout(gridLayout);
231
232
233 verticalLayout->addWidget(advancedWidget);
234
235 buttonBox = new QDialogButtonBox(TranscodeDialog);
236 buttonBox->setObjectName("buttonBox");
237 buttonBox->setOrientation(Qt::Orientation::Horizontal);
238 buttonBox->setStandardButtons(QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok);
239
240 verticalLayout->addWidget(buttonBox);
241
242
243 retranslateUi(TranscodeDialog);
244 QObject::connect(buttonBox, &QDialogButtonBox::accepted, TranscodeDialog, qOverload<>(&QDialog::accept));
245 QObject::connect(buttonBox, &QDialogButtonBox::rejected, TranscodeDialog, qOverload<>(&QDialog::reject));
246
247 QMetaObject::connectSlotsByName(TranscodeDialog);
248 } // setupUi
249
250 void retranslateUi(QDialog *TranscodeDialog)
251 {
252 label->setText(QCoreApplication::translate("TranscodeDialog", "good", nullptr));
253 label_2->setText(QCoreApplication::translate("TranscodeDialog", "better", nullptr));
254 label_3->setText(QCoreApplication::translate("TranscodeDialog", "best", nullptr));
255 label_4->setText(QCoreApplication::translate("TranscodeDialog", "medium", nullptr));
256 label_5->setText(QCoreApplication::translate("TranscodeDialog", "BIG", nullptr));
257 label_6->setText(QCoreApplication::translate("TranscodeDialog", "<span style=\" font-weight:700; color:#ff0000;\">HUGE</span>", nullptr));
258 checkBox->setText(QCoreApplication::translate("TranscodeDialog", "Do not show this anymore.", "Convert to edit-friendly format dialog"));
259#if QT_CONFIG(tooltip)
260 fpsWidget->setToolTip(QCoreApplication::translate("TranscodeDialog", "Override the frame rate to a specific value.", nullptr));
261#endif // QT_CONFIG(tooltip)
262#if QT_CONFIG(tooltip)
263 convert709CheckBox->setToolTip(QCoreApplication::translate("TranscodeDialog", "This is useful when the source video is HDR (High Dynamic Range), which requires tone-mapping to the old, standard range.", nullptr));
264#endif // QT_CONFIG(tooltip)
265 convert709CheckBox->setText(QCoreApplication::translate("TranscodeDialog", "Convert to BT.709 colorspace", nullptr));
266#if QT_CONFIG(tooltip)
267 subclipCheckBox->setToolTip(QCoreApplication::translate("TranscodeDialog", "This option converts only the trimmed portion of the source\n"
268"clip plus a little instead of the entire clip. When this option is\n"
269"used not all of the matching source clips are replaced, instead\n"
270"only the currently selected one.", nullptr));
271#endif // QT_CONFIG(tooltip)
272 subclipCheckBox->setText(QCoreApplication::translate("TranscodeDialog", "Use sub-clip", nullptr));
273#if QT_CONFIG(tooltip)
274 advancedCheckBox->setToolTip(QCoreApplication::translate("TranscodeDialog", "Enable this to keep the Advanced section open for the next time this dialog appears.", nullptr));
275#endif // QT_CONFIG(tooltip)
276 advancedCheckBox->setText(QCoreApplication::translate("TranscodeDialog", "Keep Advanced open", nullptr));
277#if QT_CONFIG(tooltip)
278 frcComboBox->setToolTip(QCoreApplication::translate("TranscodeDialog", "Frame rate conversion method\n"
279"\n"
280"Duplicate: Duplicate frames.\n"
281"Blend: Blend frames.\n"
282"Motion Compensation: Interpolate new frames using motion compensation. This method is very slow and may result in artifacts.", nullptr));
283#endif // QT_CONFIG(tooltip)
284#if QT_CONFIG(tooltip)
285 fpsCheckBox->setToolTip(QCoreApplication::translate("TranscodeDialog", "Change the frame rate from its source.", nullptr));
286#endif // QT_CONFIG(tooltip)
287 fpsCheckBox->setText(QCoreApplication::translate("TranscodeDialog", "Override frame rate", nullptr));
288 sampleRateLabel->setText(QCoreApplication::translate("TranscodeDialog", "Sample rate", nullptr));
289 fpsLabel->setText(QCoreApplication::translate("TranscodeDialog", "Frames/sec", nullptr));
290#if QT_CONFIG(tooltip)
291 deinterlaceCheckBox->setToolTip(QCoreApplication::translate("TranscodeDialog", "If the source is interlaced, each interlaced field will be converted to a progressive frame resulting in double frame rate.", nullptr));
292#endif // QT_CONFIG(tooltip)
293 deinterlaceCheckBox->setText(QCoreApplication::translate("TranscodeDialog", "Deinterlace", nullptr));
294 frcLabel->setText(QCoreApplication::translate("TranscodeDialog", "Frame rate conversion", nullptr));
295 sampleRateComboBox->setItemText(0, QCoreApplication::translate("TranscodeDialog", "Same as original", nullptr));
296 sampleRateComboBox->setItemText(1, QCoreApplication::translate("TranscodeDialog", "44100", nullptr));
297 sampleRateComboBox->setItemText(2, QCoreApplication::translate("TranscodeDialog", "48000", nullptr));
298
299 sampleRateComboBox->setCurrentText(QCoreApplication::translate("TranscodeDialog", "Same as original", nullptr));
300 (void)TranscodeDialog;
301 } // retranslateUi
302
303};
304
305namespace Ui {
306 class TranscodeDialog: public Ui_TranscodeDialog {};
307} // namespace Ui
308
309QT_END_NAMESPACE
310
311#endif // UI_TRANSCODEDIALOG_H