9 #ifndef UI_LUMAMIXTRANSITION_H 10 #define UI_LUMAMIXTRANSITION_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QCheckBox> 17 #include <QtWidgets/QComboBox> 18 #include <QtWidgets/QGridLayout> 19 #include <QtWidgets/QHBoxLayout> 20 #include <QtWidgets/QHeaderView> 21 #include <QtWidgets/QLabel> 22 #include <QtWidgets/QRadioButton> 23 #include <QtWidgets/QSlider> 24 #include <QtWidgets/QSpacerItem> 25 #include <QtWidgets/QSpinBox> 26 #include <QtWidgets/QVBoxLayout> 27 #include <QtWidgets/QWidget> 31 class Ui_LumaMixTransition
34 QVBoxLayout *verticalLayout;
36 QGridLayout *gridLayout;
38 QHBoxLayout *horizontalLayout;
40 QSpacerItem *horizontalSpacer;
41 QLabel *customLumaLabel;
42 QCheckBox *invertCheckBox;
43 QHBoxLayout *horizontalLayout_2;
44 QLabel *softnessLabel;
45 QSlider *softnessSlider;
46 QSpinBox *softnessSpinner;
48 QHBoxLayout *horizontalLayout_3;
49 QRadioButton *crossfadeRadioButton;
50 QHBoxLayout *horizontalLayout_4;
51 QRadioButton *mixRadioButton;
56 QSpacerItem *verticalSpacer;
57 QButtonGroup *buttonGroup;
59 void setupUi(QWidget *LumaMixTransition)
61 if (LumaMixTransition->objectName().isEmpty())
62 LumaMixTransition->setObjectName(QStringLiteral(
"LumaMixTransition"));
63 LumaMixTransition->resize(388, 306);
64 verticalLayout =
new QVBoxLayout(LumaMixTransition);
65 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
66 label_2 =
new QLabel(LumaMixTransition);
67 label_2->setObjectName(QStringLiteral(
"label_2"));
71 label_2->setFont(font);
72 label_2->setAlignment(Qt::AlignCenter);
74 verticalLayout->addWidget(label_2);
76 gridLayout =
new QGridLayout();
77 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
78 label =
new QLabel(LumaMixTransition);
79 label->setObjectName(QStringLiteral(
"label"));
80 label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
82 gridLayout->addWidget(label, 0, 0, 1, 1);
84 horizontalLayout =
new QHBoxLayout();
85 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
86 lumaCombo =
new QComboBox(LumaMixTransition);
87 lumaCombo->setObjectName(QStringLiteral(
"lumaCombo"));
88 QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
89 sizePolicy.setHorizontalStretch(0);
90 sizePolicy.setVerticalStretch(0);
91 sizePolicy.setHeightForWidth(lumaCombo->sizePolicy().hasHeightForWidth());
92 lumaCombo->setSizePolicy(sizePolicy);
94 horizontalLayout->addWidget(lumaCombo);
96 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
98 horizontalLayout->addItem(horizontalSpacer);
100 horizontalLayout->setStretch(1, 1);
102 gridLayout->addLayout(horizontalLayout, 0, 1, 1, 1);
104 customLumaLabel =
new QLabel(LumaMixTransition);
105 customLumaLabel->setObjectName(QStringLiteral(
"customLumaLabel"));
107 gridLayout->addWidget(customLumaLabel, 1, 1, 1, 1);
109 invertCheckBox =
new QCheckBox(LumaMixTransition);
110 invertCheckBox->setObjectName(QStringLiteral(
"invertCheckBox"));
112 gridLayout->addWidget(invertCheckBox, 2, 1, 1, 1);
114 horizontalLayout_2 =
new QHBoxLayout();
115 horizontalLayout_2->setObjectName(QStringLiteral(
"horizontalLayout_2"));
116 softnessLabel =
new QLabel(LumaMixTransition);
117 softnessLabel->setObjectName(QStringLiteral(
"softnessLabel"));
118 softnessLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
119 softnessLabel->setWordWrap(
true);
121 horizontalLayout_2->addWidget(softnessLabel);
123 softnessSlider =
new QSlider(LumaMixTransition);
124 softnessSlider->setObjectName(QStringLiteral(
"softnessSlider"));
125 softnessSlider->setMaximum(100);
126 softnessSlider->setValue(20);
127 softnessSlider->setOrientation(Qt::Horizontal);
129 horizontalLayout_2->addWidget(softnessSlider);
131 softnessSpinner =
new QSpinBox(LumaMixTransition);
132 softnessSpinner->setObjectName(QStringLiteral(
"softnessSpinner"));
133 softnessSpinner->setMaximum(100);
134 softnessSpinner->setValue(20);
136 horizontalLayout_2->addWidget(softnessSpinner);
139 gridLayout->addLayout(horizontalLayout_2, 3, 1, 1, 1);
141 label_4 =
new QLabel(LumaMixTransition);
142 label_4->setObjectName(QStringLiteral(
"label_4"));
143 label_4->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
145 gridLayout->addWidget(label_4, 4, 0, 1, 1);
147 horizontalLayout_3 =
new QHBoxLayout();
148 horizontalLayout_3->setObjectName(QStringLiteral(
"horizontalLayout_3"));
149 crossfadeRadioButton =
new QRadioButton(LumaMixTransition);
150 buttonGroup =
new QButtonGroup(LumaMixTransition);
151 buttonGroup->setObjectName(QStringLiteral(
"buttonGroup"));
152 buttonGroup->addButton(crossfadeRadioButton);
153 crossfadeRadioButton->setObjectName(QStringLiteral(
"crossfadeRadioButton"));
155 horizontalLayout_3->addWidget(crossfadeRadioButton);
158 gridLayout->addLayout(horizontalLayout_3, 4, 1, 1, 1);
160 horizontalLayout_4 =
new QHBoxLayout();
161 horizontalLayout_4->setObjectName(QStringLiteral(
"horizontalLayout_4"));
162 mixRadioButton =
new QRadioButton(LumaMixTransition);
163 buttonGroup->addButton(mixRadioButton);
164 mixRadioButton->setObjectName(QStringLiteral(
"mixRadioButton"));
166 horizontalLayout_4->addWidget(mixRadioButton);
168 label_6 =
new QLabel(LumaMixTransition);
169 label_6->setObjectName(QStringLiteral(
"label_6"));
171 horizontalLayout_4->addWidget(label_6);
173 mixSlider =
new QSlider(LumaMixTransition);
174 mixSlider->setObjectName(QStringLiteral(
"mixSlider"));
175 mixSlider->setMaximum(100);
176 mixSlider->setOrientation(Qt::Horizontal);
178 horizontalLayout_4->addWidget(mixSlider);
180 label_7 =
new QLabel(LumaMixTransition);
181 label_7->setObjectName(QStringLiteral(
"label_7"));
183 horizontalLayout_4->addWidget(label_7);
185 mixSpinner =
new QSpinBox(LumaMixTransition);
186 mixSpinner->setObjectName(QStringLiteral(
"mixSpinner"));
187 mixSpinner->setMaximum(100);
189 horizontalLayout_4->addWidget(mixSpinner);
191 horizontalLayout_4->setStretch(2, 1);
193 gridLayout->addLayout(horizontalLayout_4, 5, 1, 1, 1);
196 verticalLayout->addLayout(gridLayout);
198 verticalSpacer =
new QSpacerItem(20, 91, QSizePolicy::Minimum, QSizePolicy::Expanding);
200 verticalLayout->addItem(verticalSpacer);
202 QWidget::setTabOrder(lumaCombo, invertCheckBox);
203 QWidget::setTabOrder(invertCheckBox, softnessSlider);
204 QWidget::setTabOrder(softnessSlider, softnessSpinner);
205 QWidget::setTabOrder(softnessSpinner, crossfadeRadioButton);
206 QWidget::setTabOrder(crossfadeRadioButton, mixSlider);
207 QWidget::setTabOrder(mixSlider, mixSpinner);
209 retranslateUi(LumaMixTransition);
210 QObject::connect(softnessSlider, SIGNAL(valueChanged(
int)), softnessSpinner, SLOT(setValue(
int)));
211 QObject::connect(softnessSpinner, SIGNAL(valueChanged(
int)), softnessSlider, SLOT(setValue(
int)));
212 QObject::connect(mixSlider, SIGNAL(valueChanged(
int)), mixSpinner, SLOT(setValue(
int)));
213 QObject::connect(mixSpinner, SIGNAL(valueChanged(
int)), mixSlider, SLOT(setValue(
int)));
215 QMetaObject::connectSlotsByName(LumaMixTransition);
218 void retranslateUi(QWidget *LumaMixTransition)
220 LumaMixTransition->setWindowTitle(QApplication::translate(
"LumaMixTransition",
"Form", Q_NULLPTR));
221 label_2->setText(QApplication::translate(
"LumaMixTransition",
"Transition", Q_NULLPTR));
222 label->setText(QApplication::translate(
"LumaMixTransition",
"Video", Q_NULLPTR));
224 lumaCombo->insertItems(0, QStringList()
225 << QApplication::translate(
"LumaMixTransition",
"Dissolve", Q_NULLPTR)
226 << QApplication::translate(
"LumaMixTransition",
"Cut", Q_NULLPTR)
227 << QApplication::translate(
"LumaMixTransition",
"Bar Horizontal", Q_NULLPTR)
228 << QApplication::translate(
"LumaMixTransition",
"Bar Vertical", Q_NULLPTR)
229 << QApplication::translate(
"LumaMixTransition",
"Barn Door Horizontal", Q_NULLPTR)
230 << QApplication::translate(
"LumaMixTransition",
"Barn Door Vertical", Q_NULLPTR)
231 << QApplication::translate(
"LumaMixTransition",
"Barn Door Diagonal SW-NE", Q_NULLPTR)
232 << QApplication::translate(
"LumaMixTransition",
"Barn Door Diagonal NW-SE", Q_NULLPTR)
233 << QApplication::translate(
"LumaMixTransition",
"Diagonal Top Left", Q_NULLPTR)
234 << QApplication::translate(
"LumaMixTransition",
"Diagonal Top Right", Q_NULLPTR)
235 << QApplication::translate(
"LumaMixTransition",
"Matrix Waterfall Horizontal", Q_NULLPTR)
236 << QApplication::translate(
"LumaMixTransition",
"Matrix Waterfall Vertical", Q_NULLPTR)
237 << QApplication::translate(
"LumaMixTransition",
"Matrix Snake Horizontal", Q_NULLPTR)
238 << QApplication::translate(
"LumaMixTransition",
"Matrix Snake Parallel Horizontal", Q_NULLPTR)
239 << QApplication::translate(
"LumaMixTransition",
"Matrix Snake Vertical", Q_NULLPTR)
240 << QApplication::translate(
"LumaMixTransition",
"Matrix Snake Parallel Vertical", Q_NULLPTR)
241 << QApplication::translate(
"LumaMixTransition",
"Barn V Up", Q_NULLPTR)
242 << QApplication::translate(
"LumaMixTransition",
"Iris Circle", Q_NULLPTR)
243 << QApplication::translate(
"LumaMixTransition",
"Double Iris", Q_NULLPTR)
244 << QApplication::translate(
"LumaMixTransition",
"Iris Box", Q_NULLPTR)
245 << QApplication::translate(
"LumaMixTransition",
"Box Bottom Right", Q_NULLPTR)
246 << QApplication::translate(
"LumaMixTransition",
"Box Bottom Left", Q_NULLPTR)
247 << QApplication::translate(
"LumaMixTransition",
"Box Right Center", Q_NULLPTR)
248 << QApplication::translate(
"LumaMixTransition",
"Clock Top", Q_NULLPTR)
249 << QApplication::translate(
"LumaMixTransition",
"Custom...", Q_NULLPTR)
251 customLumaLabel->setText(QApplication::translate(
"LumaMixTransition",
"TextLabel", Q_NULLPTR));
252 #ifndef QT_NO_TOOLTIP 253 invertCheckBox->setToolTip(QApplication::translate(
"LumaMixTransition",
"Swap the appearance of the A and B clips", Q_NULLPTR));
254 #endif // QT_NO_TOOLTIP 255 invertCheckBox->setText(QApplication::translate(
"LumaMixTransition",
"Invert Wipe", Q_NULLPTR));
256 softnessLabel->setText(QApplication::translate(
"LumaMixTransition",
"Softness", Q_NULLPTR));
257 #ifndef QT_NO_TOOLTIP 258 softnessSlider->setToolTip(QApplication::translate(
"LumaMixTransition",
"Change the softness of the edge of the wipe", Q_NULLPTR));
259 #endif // QT_NO_TOOLTIP 260 softnessSpinner->setSuffix(QApplication::translate(
"LumaMixTransition",
" %", Q_NULLPTR));
261 label_4->setText(QApplication::translate(
"LumaMixTransition",
"Audio", Q_NULLPTR));
262 #ifndef QT_NO_TOOLTIP 263 crossfadeRadioButton->setToolTip(QApplication::translate(
"LumaMixTransition",
"Automatically fade-out the audio of clip A\n" 264 "and fade-in the audio of clip B over the\n" 265 "duration of the transition.", Q_NULLPTR));
266 #endif // QT_NO_TOOLTIP 267 crossfadeRadioButton->setText(QApplication::translate(
"LumaMixTransition",
"Cross-fade", Q_NULLPTR));
268 #ifndef QT_NO_TOOLTIP 269 mixRadioButton->setToolTip(QApplication::translate(
"LumaMixTransition",
"Do not alter the audio levels during the\n" 270 "course of the transition. Instead, set a\n" 271 "fixed mixing level, or choose only clip A's\n" 272 "audio (0%) or clip B's audio (100%).", Q_NULLPTR));
273 #endif // QT_NO_TOOLTIP 274 mixRadioButton->setText(QApplication::translate(
"LumaMixTransition",
"Mix:", Q_NULLPTR));
275 label_6->setText(QApplication::translate(
"LumaMixTransition",
"A", Q_NULLPTR));
276 label_7->setText(QApplication::translate(
"LumaMixTransition",
"B", Q_NULLPTR));
277 mixSpinner->setSuffix(QApplication::translate(
"LumaMixTransition",
" %", Q_NULLPTR));
283 class LumaMixTransition:
public Ui_LumaMixTransition {};
288 #endif // UI_LUMAMIXTRANSITION_H Definition: addencodepresetdialog.h:24