9 #ifndef UI_MAINWINDOW_H
10 #define UI_MAINWINDOW_H
12 #include <QtCore/QVariant>
13 #include <QtGui/QIcon>
14 #include <QtWidgets/QAction>
15 #include <QtWidgets/QApplication>
16 #include <QtWidgets/QHBoxLayout>
17 #include <QtWidgets/QMainWindow>
18 #include <QtWidgets/QMenu>
19 #include <QtWidgets/QMenuBar>
20 #include <QtWidgets/QStatusBar>
21 #include <QtWidgets/QToolBar>
22 #include <QtWidgets/QWidget>
31 QAction *actionAbout_Shotcut;
32 QAction *actionAbout_Qt;
33 QAction *actionOpenOther;
35 QAction *actionSave_As;
36 QAction *actionEncode;
41 QAction *actionEnter_Full_Screen;
42 QAction *actionAudioMeter;
43 QAction *actionProperties;
44 QAction *actionRecent;
45 QAction *actionPlaylist;
46 QAction *actionHistory;
47 QAction *actionRealtime;
48 QAction *actionProgressive;
50 QAction *actionChannels1;
51 QAction *actionChannels2;
52 QAction *actionChannels6;
53 QAction *actionOneField;
54 QAction *actionLinearBlend;
55 QAction *actionYadifTemporal;
56 QAction *actionYadifSpatial;
57 QAction *actionNearest;
58 QAction *actionBilinear;
59 QAction *actionBicubic;
61 QAction *actionProfileAutomatic;
62 QAction *actionExternalNone;
64 QAction *actionFilters;
65 QAction *actionAddCustomProfile;
66 QAction *actionSystemTheme;
67 QAction *actionFusionDark;
68 QAction *actionFusionLight;
69 QAction *actionTutorials;
70 QAction *actionTimeline;
71 QAction *actionRestoreLayout;
72 QAction *actionShowTitleBars;
73 QAction *actionShowToolbar;
74 QAction *actionUpgrade;
75 QAction *actionOpenXML;
76 QAction *actionGammaSRGB;
77 QAction *actionGammaRec709;
78 QAction *actionScrubAudio;
79 QAction *actionDrawingAutomatic;
80 QAction *actionDrawingOpenGL;
81 QAction *actionDrawingDirectX;
82 QAction *actionDrawingSoftware;
83 QAction *actionApplicationLog;
84 QAction *actionProject;
85 QAction *actionPlayer;
86 QAction *actionUser_Interface;
91 QAction *actionExportEDL;
92 QAction *actionExportFrame;
93 QAction *actionExportVideo;
94 QAction *actionAppDataSet;
95 QAction *actionAppDataShow;
96 QAction *actionKeyframes;
98 QAction *actionKeyboardShortcuts;
99 QAction *actionLayoutAudio;
100 QAction *actionLayoutLogging;
101 QAction *actionLayoutEditing;
102 QAction *actionLayoutEffects;
103 QAction *actionLayoutAdd;
104 QAction *actionProfileRemove;
105 QAction *actionLayoutRemove;
106 QAction *actionOpenOther2;
107 QAction *actionClearRecentOnExit;
108 QAction *actionShowTextUnderIcons;
109 QAction *actionShowSmallIcons;
111 QAction *actionPreview540;
112 QAction *actionPreview720;
113 QAction *actionPreviewNone;
114 QAction *actionPreview360;
115 QAction *actionTopics;
117 QAction *actionUseProxy;
118 QAction *actionProxyStorageSet;
119 QAction *actionProxyStorageShow;
120 QAction *actionProxyUseProjectFolder;
121 QAction *actionProxyUseHardware;
122 QAction *actionProxyConfigureHardware;
123 QAction *actionLayoutColor;
124 QAction *actionLayoutPlayer;
125 QAction *dummyAction;
126 QAction *actionLayoutPlaylist;
127 QAction *actionLayoutClip;
128 QWidget *centralWidget;
129 QHBoxLayout *horizontalLayout;
137 QMenu *menuAudioChannels;
138 QMenu *menuDeinterlacer;
139 QMenu *menuInterpolation;
145 QMenu *menuDrawingMethod;
146 QMenu *menuData_Directory;
147 QMenu *menuPreviewScaling;
150 QToolBar *mainToolBar;
151 QStatusBar *statusBar;
153 void setupUi(QMainWindow *MainWindow)
155 if (MainWindow->objectName().isEmpty())
156 MainWindow->setObjectName(QString::fromUtf8(
"MainWindow"));
157 MainWindow->resize(1270, 688);
159 icon.addFile(QString::fromUtf8(
":/icons/shotcut-logo-64.png"), QSize(), QIcon::Normal, QIcon::Off);
160 MainWindow->setWindowIcon(icon);
161 actionOpen =
new QAction(MainWindow);
162 actionOpen->setObjectName(QString::fromUtf8(
"actionOpen"));
164 QString iconThemeName = QString::fromUtf8(
"document-open");
165 if (QIcon::hasThemeIcon(iconThemeName)) {
166 icon1 = QIcon::fromTheme(iconThemeName);
168 icon1.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/document-open.png"), QSize(), QIcon::Normal, QIcon::Off);
170 actionOpen->setIcon(icon1);
171 #if QT_CONFIG(shortcut)
172 actionOpen->setShortcut(QString::fromUtf8(
"Ctrl+O"));
173 #endif // QT_CONFIG(shortcut)
174 actionOpen->setIconVisibleInMenu(
false);
175 actionExit =
new QAction(MainWindow);
176 actionExit->setObjectName(QString::fromUtf8(
"actionExit"));
177 #if QT_CONFIG(shortcut)
178 actionExit->setShortcut(QString::fromUtf8(
"Ctrl+Q"));
179 #endif // QT_CONFIG(shortcut)
180 actionAbout_Shotcut =
new QAction(MainWindow);
181 actionAbout_Shotcut->setObjectName(QString::fromUtf8(
"actionAbout_Shotcut"));
182 actionAbout_Shotcut->setMenuRole(QAction::AboutRole);
183 actionAbout_Qt =
new QAction(MainWindow);
184 actionAbout_Qt->setObjectName(QString::fromUtf8(
"actionAbout_Qt"));
185 actionAbout_Qt->setMenuRole(QAction::AboutQtRole);
186 actionOpenOther =
new QAction(MainWindow);
187 actionOpenOther->setObjectName(QString::fromUtf8(
"actionOpenOther"));
188 #if QT_CONFIG(shortcut)
189 actionOpenOther->setShortcut(QString::fromUtf8(
"Ctrl+Shift+O"));
190 #endif // QT_CONFIG(shortcut)
191 actionOpenOther->setIconVisibleInMenu(
false);
192 actionSave =
new QAction(MainWindow);
193 actionSave->setObjectName(QString::fromUtf8(
"actionSave"));
195 iconThemeName = QString::fromUtf8(
"document-save");
196 if (QIcon::hasThemeIcon(iconThemeName)) {
197 icon2 = QIcon::fromTheme(iconThemeName);
199 icon2.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/document-save.png"), QSize(), QIcon::Normal, QIcon::Off);
201 actionSave->setIcon(icon2);
202 #if QT_CONFIG(shortcut)
203 actionSave->setShortcut(QString::fromUtf8(
"Ctrl+S"));
204 #endif // QT_CONFIG(shortcut)
205 actionSave->setIconVisibleInMenu(
false);
206 actionSave_As =
new QAction(MainWindow);
207 actionSave_As->setObjectName(QString::fromUtf8(
"actionSave_As"));
208 #if QT_CONFIG(shortcut)
209 actionSave_As->setShortcut(QString::fromUtf8(
"Ctrl+Shift+S"));
210 #endif // QT_CONFIG(shortcut)
211 actionEncode =
new QAction(MainWindow);
212 actionEncode->setObjectName(QString::fromUtf8(
"actionEncode"));
214 iconThemeName = QString::fromUtf8(
"media-record");
215 if (QIcon::hasThemeIcon(iconThemeName)) {
216 icon3 = QIcon::fromTheme(iconThemeName);
218 icon3.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/media-record.png"), QSize(), QIcon::Normal, QIcon::Off);
220 actionEncode->setIcon(icon3);
221 actionUndo =
new QAction(MainWindow);
222 actionUndo->setObjectName(QString::fromUtf8(
"actionUndo"));
224 iconThemeName = QString::fromUtf8(
"edit-undo");
225 if (QIcon::hasThemeIcon(iconThemeName)) {
226 icon4 = QIcon::fromTheme(iconThemeName);
228 icon4.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/edit-undo.png"), QSize(), QIcon::Normal, QIcon::Off);
230 actionUndo->setIcon(icon4);
231 actionRedo =
new QAction(MainWindow);
232 actionRedo->setObjectName(QString::fromUtf8(
"actionRedo"));
234 iconThemeName = QString::fromUtf8(
"edit-redo");
235 if (QIcon::hasThemeIcon(iconThemeName)) {
236 icon5 = QIcon::fromTheme(iconThemeName);
238 icon5.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/edit-redo.png"), QSize(), QIcon::Normal, QIcon::Off);
240 actionRedo->setIcon(icon5);
241 actionForum =
new QAction(MainWindow);
242 actionForum->setObjectName(QString::fromUtf8(
"actionForum"));
243 actionFAQ =
new QAction(MainWindow);
244 actionFAQ->setObjectName(QString::fromUtf8(
"actionFAQ"));
245 actionEnter_Full_Screen =
new QAction(MainWindow);
246 actionEnter_Full_Screen->setObjectName(QString::fromUtf8(
"actionEnter_Full_Screen"));
248 iconThemeName = QString::fromUtf8(
"view-fullscreen");
249 if (QIcon::hasThemeIcon(iconThemeName)) {
250 icon6 = QIcon::fromTheme(iconThemeName);
252 icon6.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-fullscreen.png"), QSize(), QIcon::Normal, QIcon::Off);
254 actionEnter_Full_Screen->setIcon(icon6);
255 actionAudioMeter =
new QAction(MainWindow);
256 actionAudioMeter->setObjectName(QString::fromUtf8(
"actionAudioMeter"));
258 iconThemeName = QString::fromUtf8(
"audio-meter");
259 if (QIcon::hasThemeIcon(iconThemeName)) {
260 icon7 = QIcon::fromTheme(iconThemeName);
262 icon7.addFile(QString::fromUtf8(
":/icons/light/32x32/audio-meter.png"), QSize(), QIcon::Normal, QIcon::Off);
264 actionAudioMeter->setIcon(icon7);
265 actionProperties =
new QAction(MainWindow);
266 actionProperties->setObjectName(QString::fromUtf8(
"actionProperties"));
268 iconThemeName = QString::fromUtf8(
"dialog-information");
269 if (QIcon::hasThemeIcon(iconThemeName)) {
270 icon8 = QIcon::fromTheme(iconThemeName);
272 icon8.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/status/dialog-information.png"), QSize(), QIcon::Normal, QIcon::Off);
274 actionProperties->setIcon(icon8);
275 actionRecent =
new QAction(MainWindow);
276 actionRecent->setObjectName(QString::fromUtf8(
"actionRecent"));
278 iconThemeName = QString::fromUtf8(
"document-open-recent");
279 if (QIcon::hasThemeIcon(iconThemeName)) {
280 icon9 = QIcon::fromTheme(iconThemeName);
282 icon9.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/document-open-recent.png"), QSize(), QIcon::Normal, QIcon::Off);
284 actionRecent->setIcon(icon9);
285 actionPlaylist =
new QAction(MainWindow);
286 actionPlaylist->setObjectName(QString::fromUtf8(
"actionPlaylist"));
288 iconThemeName = QString::fromUtf8(
"view-media-playlist");
289 if (QIcon::hasThemeIcon(iconThemeName)) {
290 icon10 = QIcon::fromTheme(iconThemeName);
292 icon10.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-media-playlist.png"), QSize(), QIcon::Normal, QIcon::Off);
294 actionPlaylist->setIcon(icon10);
295 actionHistory =
new QAction(MainWindow);
296 actionHistory->setObjectName(QString::fromUtf8(
"actionHistory"));
298 iconThemeName = QString::fromUtf8(
"view-history");
299 if (QIcon::hasThemeIcon(iconThemeName)) {
300 icon11 = QIcon::fromTheme(iconThemeName);
302 icon11.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-history.png"), QSize(), QIcon::Normal, QIcon::Off);
304 actionHistory->setIcon(icon11);
305 actionRealtime =
new QAction(MainWindow);
306 actionRealtime->setObjectName(QString::fromUtf8(
"actionRealtime"));
307 actionRealtime->setCheckable(
true);
308 actionRealtime->setChecked(
true);
309 actionProgressive =
new QAction(MainWindow);
310 actionProgressive->setObjectName(QString::fromUtf8(
"actionProgressive"));
311 actionProgressive->setCheckable(
true);
312 actionProgressive->setChecked(
true);
313 actionGPU =
new QAction(MainWindow);
314 actionGPU->setObjectName(QString::fromUtf8(
"actionGPU"));
315 actionGPU->setCheckable(
true);
316 actionGPU->setVisible(
false);
317 actionChannels1 =
new QAction(MainWindow);
318 actionChannels1->setObjectName(QString::fromUtf8(
"actionChannels1"));
319 actionChannels1->setCheckable(
true);
320 actionChannels2 =
new QAction(MainWindow);
321 actionChannels2->setObjectName(QString::fromUtf8(
"actionChannels2"));
322 actionChannels2->setCheckable(
true);
323 actionChannels6 =
new QAction(MainWindow);
324 actionChannels6->setObjectName(QString::fromUtf8(
"actionChannels6"));
325 actionChannels6->setCheckable(
true);
326 actionOneField =
new QAction(MainWindow);
327 actionOneField->setObjectName(QString::fromUtf8(
"actionOneField"));
328 actionOneField->setCheckable(
true);
329 actionOneField->setChecked(
true);
330 actionLinearBlend =
new QAction(MainWindow);
331 actionLinearBlend->setObjectName(QString::fromUtf8(
"actionLinearBlend"));
332 actionLinearBlend->setCheckable(
true);
333 actionYadifTemporal =
new QAction(MainWindow);
334 actionYadifTemporal->setObjectName(QString::fromUtf8(
"actionYadifTemporal"));
335 actionYadifTemporal->setCheckable(
true);
336 actionYadifSpatial =
new QAction(MainWindow);
337 actionYadifSpatial->setObjectName(QString::fromUtf8(
"actionYadifSpatial"));
338 actionYadifSpatial->setCheckable(
true);
339 actionNearest =
new QAction(MainWindow);
340 actionNearest->setObjectName(QString::fromUtf8(
"actionNearest"));
341 actionNearest->setCheckable(
true);
342 actionNearest->setChecked(
true);
343 actionBilinear =
new QAction(MainWindow);
344 actionBilinear->setObjectName(QString::fromUtf8(
"actionBilinear"));
345 actionBilinear->setCheckable(
true);
346 actionBicubic =
new QAction(MainWindow);
347 actionBicubic->setObjectName(QString::fromUtf8(
"actionBicubic"));
348 actionBicubic->setCheckable(
true);
349 actionHyper =
new QAction(MainWindow);
350 actionHyper->setObjectName(QString::fromUtf8(
"actionHyper"));
351 actionHyper->setCheckable(
true);
352 actionProfileAutomatic =
new QAction(MainWindow);
353 actionProfileAutomatic->setObjectName(QString::fromUtf8(
"actionProfileAutomatic"));
354 actionProfileAutomatic->setCheckable(
true);
355 actionProfileAutomatic->setChecked(
true);
356 actionExternalNone =
new QAction(MainWindow);
357 actionExternalNone->setObjectName(QString::fromUtf8(
"actionExternalNone"));
358 actionExternalNone->setCheckable(
true);
359 actionExternalNone->setChecked(
true);
360 actionJack =
new QAction(MainWindow);
361 actionJack->setObjectName(QString::fromUtf8(
"actionJack"));
362 actionJack->setCheckable(
true);
363 actionFilters =
new QAction(MainWindow);
364 actionFilters->setObjectName(QString::fromUtf8(
"actionFilters"));
366 iconThemeName = QString::fromUtf8(
"view-filter");
367 if (QIcon::hasThemeIcon(iconThemeName)) {
368 icon12 = QIcon::fromTheme(iconThemeName);
370 icon12.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-filter.png"), QSize(), QIcon::Normal, QIcon::Off);
372 actionFilters->setIcon(icon12);
373 actionAddCustomProfile =
new QAction(MainWindow);
374 actionAddCustomProfile->setObjectName(QString::fromUtf8(
"actionAddCustomProfile"));
375 actionSystemTheme =
new QAction(MainWindow);
376 actionSystemTheme->setObjectName(QString::fromUtf8(
"actionSystemTheme"));
377 actionSystemTheme->setCheckable(
true);
378 actionFusionDark =
new QAction(MainWindow);
379 actionFusionDark->setObjectName(QString::fromUtf8(
"actionFusionDark"));
380 actionFusionDark->setCheckable(
true);
381 actionFusionLight =
new QAction(MainWindow);
382 actionFusionLight->setObjectName(QString::fromUtf8(
"actionFusionLight"));
383 actionFusionLight->setCheckable(
true);
384 actionTutorials =
new QAction(MainWindow);
385 actionTutorials->setObjectName(QString::fromUtf8(
"actionTutorials"));
386 actionTimeline =
new QAction(MainWindow);
387 actionTimeline->setObjectName(QString::fromUtf8(
"actionTimeline"));
389 iconThemeName = QString::fromUtf8(
"view-time-schedule");
390 if (QIcon::hasThemeIcon(iconThemeName)) {
391 icon13 = QIcon::fromTheme(iconThemeName);
393 icon13.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-time-schedule.png"), QSize(), QIcon::Normal, QIcon::Off);
395 actionTimeline->setIcon(icon13);
396 actionRestoreLayout =
new QAction(MainWindow);
397 actionRestoreLayout->setObjectName(QString::fromUtf8(
"actionRestoreLayout"));
398 actionShowTitleBars =
new QAction(MainWindow);
399 actionShowTitleBars->setObjectName(QString::fromUtf8(
"actionShowTitleBars"));
400 actionShowTitleBars->setCheckable(
true);
401 actionShowToolbar =
new QAction(MainWindow);
402 actionShowToolbar->setObjectName(QString::fromUtf8(
"actionShowToolbar"));
403 actionShowToolbar->setCheckable(
true);
404 actionUpgrade =
new QAction(MainWindow);
405 actionUpgrade->setObjectName(QString::fromUtf8(
"actionUpgrade"));
406 actionOpenXML =
new QAction(MainWindow);
407 actionOpenXML->setObjectName(QString::fromUtf8(
"actionOpenXML"));
408 actionGammaSRGB =
new QAction(MainWindow);
409 actionGammaSRGB->setObjectName(QString::fromUtf8(
"actionGammaSRGB"));
410 actionGammaSRGB->setCheckable(
true);
411 actionGammaSRGB->setChecked(
true);
412 actionGammaRec709 =
new QAction(MainWindow);
413 actionGammaRec709->setObjectName(QString::fromUtf8(
"actionGammaRec709"));
414 actionGammaRec709->setCheckable(
true);
415 actionScrubAudio =
new QAction(MainWindow);
416 actionScrubAudio->setObjectName(QString::fromUtf8(
"actionScrubAudio"));
417 actionScrubAudio->setCheckable(
true);
418 actionDrawingAutomatic =
new QAction(MainWindow);
419 actionDrawingAutomatic->setObjectName(QString::fromUtf8(
"actionDrawingAutomatic"));
420 actionDrawingAutomatic->setCheckable(
true);
421 actionDrawingAutomatic->setChecked(
true);
422 actionDrawingOpenGL =
new QAction(MainWindow);
423 actionDrawingOpenGL->setObjectName(QString::fromUtf8(
"actionDrawingOpenGL"));
424 actionDrawingOpenGL->setCheckable(
true);
425 actionDrawingOpenGL->setText(QString::fromUtf8(
"OpenGL"));
426 actionDrawingDirectX =
new QAction(MainWindow);
427 actionDrawingDirectX->setObjectName(QString::fromUtf8(
"actionDrawingDirectX"));
428 actionDrawingDirectX->setCheckable(
true);
429 actionDrawingDirectX->setText(QString::fromUtf8(
"DirectX (ANGLE)"));
430 actionDrawingSoftware =
new QAction(MainWindow);
431 actionDrawingSoftware->setObjectName(QString::fromUtf8(
"actionDrawingSoftware"));
432 actionDrawingSoftware->setCheckable(
true);
433 actionApplicationLog =
new QAction(MainWindow);
434 actionApplicationLog->setObjectName(QString::fromUtf8(
"actionApplicationLog"));
435 actionProject =
new QAction(MainWindow);
436 actionProject->setObjectName(QString::fromUtf8(
"actionProject"));
437 actionProject->setEnabled(
false);
438 actionPlayer =
new QAction(MainWindow);
439 actionPlayer->setObjectName(QString::fromUtf8(
"actionPlayer"));
440 actionPlayer->setEnabled(
false);
441 actionUser_Interface =
new QAction(MainWindow);
442 actionUser_Interface->setObjectName(QString::fromUtf8(
"actionUser_Interface"));
443 actionUser_Interface->setEnabled(
false);
444 actionClose =
new QAction(MainWindow);
445 actionClose->setObjectName(QString::fromUtf8(
"actionClose"));
447 iconThemeName = QString::fromUtf8(
"window-close");
448 if (QIcon::hasThemeIcon(iconThemeName)) {
449 icon14 = QIcon::fromTheme(iconThemeName);
451 icon14.addFile(QString::fromUtf8(
"."), QSize(), QIcon::Normal, QIcon::Off);
453 actionClose->setIcon(icon14);
454 #if QT_CONFIG(shortcut)
455 actionClose->setShortcut(QString::fromUtf8(
"Ctrl+W"));
456 #endif // QT_CONFIG(shortcut)
457 actionClose->setIconVisibleInMenu(
false);
458 actionCut =
new QAction(MainWindow);
459 actionCut->setObjectName(QString::fromUtf8(
"actionCut"));
460 actionCut->setEnabled(
false);
462 iconThemeName = QString::fromUtf8(
"edit-cut");
463 if (QIcon::hasThemeIcon(iconThemeName)) {
464 icon15 = QIcon::fromTheme(iconThemeName);
466 icon15.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/edit-cut.png"), QSize(), QIcon::Normal, QIcon::Off);
468 actionCut->setIcon(icon15);
469 #if QT_CONFIG(shortcut)
470 actionCut->setShortcut(QString::fromUtf8(
"Ctrl+X"));
471 #endif // QT_CONFIG(shortcut)
472 actionCopy =
new QAction(MainWindow);
473 actionCopy->setObjectName(QString::fromUtf8(
"actionCopy"));
474 actionCopy->setEnabled(
false);
476 iconThemeName = QString::fromUtf8(
"edit-copy");
477 if (QIcon::hasThemeIcon(iconThemeName)) {
478 icon16 = QIcon::fromTheme(iconThemeName);
480 icon16.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/edit-copy.png"), QSize(), QIcon::Normal, QIcon::Off);
482 actionCopy->setIcon(icon16);
483 #if QT_CONFIG(shortcut)
484 actionCopy->setShortcut(QString::fromUtf8(
"Ctrl+C"));
485 #endif // QT_CONFIG(shortcut)
486 actionPaste =
new QAction(MainWindow);
487 actionPaste->setObjectName(QString::fromUtf8(
"actionPaste"));
488 actionPaste->setEnabled(
false);
490 iconThemeName = QString::fromUtf8(
"edit-paste");
491 if (QIcon::hasThemeIcon(iconThemeName)) {
492 icon17 = QIcon::fromTheme(iconThemeName);
494 icon17.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/edit-paste.png"), QSize(), QIcon::Normal, QIcon::Off);
496 actionPaste->setIcon(icon17);
497 #if QT_CONFIG(shortcut)
498 actionPaste->setShortcut(QString::fromUtf8(
"Ctrl+V"));
499 #endif // QT_CONFIG(shortcut)
500 actionExportEDL =
new QAction(MainWindow);
501 actionExportEDL->setObjectName(QString::fromUtf8(
"actionExportEDL"));
502 actionExportFrame =
new QAction(MainWindow);
503 actionExportFrame->setObjectName(QString::fromUtf8(
"actionExportFrame"));
504 #if QT_CONFIG(shortcut)
505 actionExportFrame->setShortcut(QString::fromUtf8(
"Ctrl+Shift+E"));
506 #endif // QT_CONFIG(shortcut)
507 actionExportVideo =
new QAction(MainWindow);
508 actionExportVideo->setObjectName(QString::fromUtf8(
"actionExportVideo"));
509 #if QT_CONFIG(shortcut)
510 actionExportVideo->setShortcut(QString::fromUtf8(
"Ctrl+E"));
511 #endif // QT_CONFIG(shortcut)
512 actionAppDataSet =
new QAction(MainWindow);
513 actionAppDataSet->setObjectName(QString::fromUtf8(
"actionAppDataSet"));
514 actionAppDataShow =
new QAction(MainWindow);
515 actionAppDataShow->setObjectName(QString::fromUtf8(
"actionAppDataShow"));
516 actionKeyframes =
new QAction(MainWindow);
517 actionKeyframes->setObjectName(QString::fromUtf8(
"actionKeyframes"));
519 iconThemeName = QString::fromUtf8(
"chronometer");
520 if (QIcon::hasThemeIcon(iconThemeName)) {
521 icon18 = QIcon::fromTheme(iconThemeName);
523 icon18.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/chronometer.png"), QSize(), QIcon::Normal, QIcon::Off);
525 actionKeyframes->setIcon(icon18);
526 actionNew =
new QAction(MainWindow);
527 actionNew->setObjectName(QString::fromUtf8(
"actionNew"));
528 #if QT_CONFIG(shortcut)
529 actionNew->setShortcut(QString::fromUtf8(
"Ctrl+N"));
530 #endif // QT_CONFIG(shortcut)
531 actionKeyboardShortcuts =
new QAction(MainWindow);
532 actionKeyboardShortcuts->setObjectName(QString::fromUtf8(
"actionKeyboardShortcuts"));
533 #if QT_CONFIG(shortcut)
534 actionKeyboardShortcuts->setShortcut(QString::fromUtf8(
"?"));
535 #endif // QT_CONFIG(shortcut)
536 actionLayoutAudio =
new QAction(MainWindow);
537 actionLayoutAudio->setObjectName(QString::fromUtf8(
"actionLayoutAudio"));
538 actionLayoutAudio->setCheckable(
true);
539 actionLayoutLogging =
new QAction(MainWindow);
540 actionLayoutLogging->setObjectName(QString::fromUtf8(
"actionLayoutLogging"));
541 actionLayoutLogging->setCheckable(
true);
542 actionLayoutEditing =
new QAction(MainWindow);
543 actionLayoutEditing->setObjectName(QString::fromUtf8(
"actionLayoutEditing"));
544 actionLayoutEditing->setCheckable(
true);
545 actionLayoutEffects =
new QAction(MainWindow);
546 actionLayoutEffects->setObjectName(QString::fromUtf8(
"actionLayoutEffects"));
547 actionLayoutEffects->setCheckable(
true);
548 actionLayoutAdd =
new QAction(MainWindow);
549 actionLayoutAdd->setObjectName(QString::fromUtf8(
"actionLayoutAdd"));
550 actionProfileRemove =
new QAction(MainWindow);
551 actionProfileRemove->setObjectName(QString::fromUtf8(
"actionProfileRemove"));
552 actionLayoutRemove =
new QAction(MainWindow);
553 actionLayoutRemove->setObjectName(QString::fromUtf8(
"actionLayoutRemove"));
554 actionOpenOther2 =
new QAction(MainWindow);
555 actionOpenOther2->setObjectName(QString::fromUtf8(
"actionOpenOther2"));
557 iconThemeName = QString::fromUtf8(
"document-new");
558 if (QIcon::hasThemeIcon(iconThemeName)) {
559 icon19 = QIcon::fromTheme(iconThemeName);
561 icon19.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/document-new.png"), QSize(), QIcon::Normal, QIcon::Off);
563 actionOpenOther2->setIcon(icon19);
564 actionOpenOther2->setIconVisibleInMenu(
false);
565 actionClearRecentOnExit =
new QAction(MainWindow);
566 actionClearRecentOnExit->setObjectName(QString::fromUtf8(
"actionClearRecentOnExit"));
567 actionClearRecentOnExit->setCheckable(
true);
568 actionShowTextUnderIcons =
new QAction(MainWindow);
569 actionShowTextUnderIcons->setObjectName(QString::fromUtf8(
"actionShowTextUnderIcons"));
570 actionShowTextUnderIcons->setCheckable(
true);
571 actionShowSmallIcons =
new QAction(MainWindow);
572 actionShowSmallIcons->setObjectName(QString::fromUtf8(
"actionShowSmallIcons"));
573 actionShowSmallIcons->setCheckable(
true);
574 actionJobs =
new QAction(MainWindow);
575 actionJobs->setObjectName(QString::fromUtf8(
"actionJobs"));
577 iconThemeName = QString::fromUtf8(
"run-build");
578 if (QIcon::hasThemeIcon(iconThemeName)) {
579 icon20 = QIcon::fromTheme(iconThemeName);
581 icon20.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/run-build.png"), QSize(), QIcon::Normal, QIcon::Off);
583 actionJobs->setIcon(icon20);
584 actionPreview540 =
new QAction(MainWindow);
585 actionPreview540->setObjectName(QString::fromUtf8(
"actionPreview540"));
586 actionPreview540->setCheckable(
true);
587 #if QT_CONFIG(shortcut)
588 actionPreview540->setShortcut(QString::fromUtf8(
"F8"));
589 #endif // QT_CONFIG(shortcut)
590 actionPreview720 =
new QAction(MainWindow);
591 actionPreview720->setObjectName(QString::fromUtf8(
"actionPreview720"));
592 actionPreview720->setCheckable(
true);
593 #if QT_CONFIG(shortcut)
594 actionPreview720->setShortcut(QString::fromUtf8(
"F9"));
595 #endif // QT_CONFIG(shortcut)
596 actionPreviewNone =
new QAction(MainWindow);
597 actionPreviewNone->setObjectName(QString::fromUtf8(
"actionPreviewNone"));
598 actionPreviewNone->setCheckable(
true);
599 #if QT_CONFIG(shortcut)
600 actionPreviewNone->setShortcut(QString::fromUtf8(
"F6"));
601 #endif // QT_CONFIG(shortcut)
602 actionPreview360 =
new QAction(MainWindow);
603 actionPreview360->setObjectName(QString::fromUtf8(
"actionPreview360"));
604 actionPreview360->setCheckable(
true);
605 #if QT_CONFIG(shortcut)
606 actionPreview360->setShortcut(QString::fromUtf8(
"F7"));
607 #endif // QT_CONFIG(shortcut)
608 actionTopics =
new QAction(MainWindow);
609 actionTopics->setObjectName(QString::fromUtf8(
"actionTopics"));
610 #if QT_CONFIG(shortcut)
611 actionTopics->setShortcut(QString::fromUtf8(
"F1"));
612 #endif // QT_CONFIG(shortcut)
613 actionSync =
new QAction(MainWindow);
614 actionSync->setObjectName(QString::fromUtf8(
"actionSync"));
615 actionUseProxy =
new QAction(MainWindow);
616 actionUseProxy->setObjectName(QString::fromUtf8(
"actionUseProxy"));
617 actionUseProxy->setCheckable(
true);
618 #if QT_CONFIG(shortcut)
619 actionUseProxy->setShortcut(QString::fromUtf8(
"F4"));
620 #endif // QT_CONFIG(shortcut)
621 actionProxyStorageSet =
new QAction(MainWindow);
622 actionProxyStorageSet->setObjectName(QString::fromUtf8(
"actionProxyStorageSet"));
623 actionProxyStorageShow =
new QAction(MainWindow);
624 actionProxyStorageShow->setObjectName(QString::fromUtf8(
"actionProxyStorageShow"));
625 actionProxyUseProjectFolder =
new QAction(MainWindow);
626 actionProxyUseProjectFolder->setObjectName(QString::fromUtf8(
"actionProxyUseProjectFolder"));
627 actionProxyUseProjectFolder->setCheckable(
true);
628 actionProxyUseProjectFolder->setChecked(
true);
629 actionProxyUseHardware =
new QAction(MainWindow);
630 actionProxyUseHardware->setObjectName(QString::fromUtf8(
"actionProxyUseHardware"));
631 actionProxyUseHardware->setCheckable(
true);
632 actionProxyConfigureHardware =
new QAction(MainWindow);
633 actionProxyConfigureHardware->setObjectName(QString::fromUtf8(
"actionProxyConfigureHardware"));
634 actionLayoutColor =
new QAction(MainWindow);
635 actionLayoutColor->setObjectName(QString::fromUtf8(
"actionLayoutColor"));
636 actionLayoutColor->setCheckable(
true);
637 actionLayoutPlayer =
new QAction(MainWindow);
638 actionLayoutPlayer->setObjectName(QString::fromUtf8(
"actionLayoutPlayer"));
639 actionLayoutPlayer->setCheckable(
true);
640 dummyAction =
new QAction(MainWindow);
641 dummyAction->setObjectName(QString::fromUtf8(
"dummyAction"));
642 dummyAction->setText(QString::fromUtf8(
"X"));
643 dummyAction->setVisible(
false);
644 actionLayoutPlaylist =
new QAction(MainWindow);
645 actionLayoutPlaylist->setObjectName(QString::fromUtf8(
"actionLayoutPlaylist"));
646 actionLayoutClip =
new QAction(MainWindow);
647 actionLayoutClip->setObjectName(QString::fromUtf8(
"actionLayoutClip"));
648 centralWidget =
new QWidget(MainWindow);
649 centralWidget->setObjectName(QString::fromUtf8(
"centralWidget"));
650 horizontalLayout =
new QHBoxLayout(centralWidget);
651 horizontalLayout->setSpacing(6);
652 horizontalLayout->setContentsMargins(11, 11, 11, 11);
653 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
654 horizontalLayout->setContentsMargins(0, 4, 0, 0);
655 MainWindow->setCentralWidget(centralWidget);
656 menuBar =
new QMenuBar(MainWindow);
657 menuBar->setObjectName(QString::fromUtf8(
"menuBar"));
658 menuBar->setGeometry(QRect(0, 0, 1270, 22));
659 menuFile =
new QMenu(menuBar);
660 menuFile->setObjectName(QString::fromUtf8(
"menuFile"));
661 menuView =
new QMenu(menuBar);
662 menuView->setObjectName(QString::fromUtf8(
"menuView"));
663 menuLayout =
new QMenu(menuView);
664 menuLayout->setObjectName(QString::fromUtf8(
"menuLayout"));
665 menuEdit =
new QMenu(menuBar);
666 menuEdit->setObjectName(QString::fromUtf8(
"menuEdit"));
667 menuHelp =
new QMenu(menuBar);
668 menuHelp->setObjectName(QString::fromUtf8(
"menuHelp"));
669 menuSettings =
new QMenu(menuBar);
670 menuSettings->setObjectName(QString::fromUtf8(
"menuSettings"));
671 menuAudioChannels =
new QMenu(menuSettings);
672 menuAudioChannels->setObjectName(QString::fromUtf8(
"menuAudioChannels"));
673 menuDeinterlacer =
new QMenu(menuSettings);
674 menuDeinterlacer->setObjectName(QString::fromUtf8(
"menuDeinterlacer"));
675 menuInterpolation =
new QMenu(menuSettings);
676 menuInterpolation->setObjectName(QString::fromUtf8(
"menuInterpolation"));
677 menuProfile =
new QMenu(menuSettings);
678 menuProfile->setObjectName(QString::fromUtf8(
"menuProfile"));
679 menuExternal =
new QMenu(menuSettings);
680 menuExternal->setObjectName(QString::fromUtf8(
"menuExternal"));
681 menuLanguage =
new QMenu(menuSettings);
682 menuLanguage->setObjectName(QString::fromUtf8(
"menuLanguage"));
683 menuTheme =
new QMenu(menuSettings);
684 menuTheme->setObjectName(QString::fromUtf8(
"menuTheme"));
685 menuGamma =
new QMenu(menuSettings);
686 menuGamma->setObjectName(QString::fromUtf8(
"menuGamma"));
687 menuDrawingMethod =
new QMenu(menuSettings);
688 menuDrawingMethod->setObjectName(QString::fromUtf8(
"menuDrawingMethod"));
689 menuData_Directory =
new QMenu(menuSettings);
690 menuData_Directory->setObjectName(QString::fromUtf8(
"menuData_Directory"));
691 menuPreviewScaling =
new QMenu(menuSettings);
692 menuPreviewScaling->setObjectName(QString::fromUtf8(
"menuPreviewScaling"));
693 menuProxy =
new QMenu(menuSettings);
694 menuProxy->setObjectName(QString::fromUtf8(
"menuProxy"));
695 menuStorage =
new QMenu(menuProxy);
696 menuStorage->setObjectName(QString::fromUtf8(
"menuStorage"));
697 MainWindow->setMenuBar(menuBar);
698 mainToolBar =
new QToolBar(MainWindow);
699 mainToolBar->setObjectName(QString::fromUtf8(
"mainToolBar"));
700 mainToolBar->setStyleSheet(QString::fromUtf8(
"QToolButton:checked { color: palette(highlighted-text); background-color: palette(highlight); border: none; padding: 2px }"));
701 mainToolBar->setMovable(
false);
702 mainToolBar->setToolButtonStyle(Qt::ToolButtonFollowStyle);
703 mainToolBar->setFloatable(
false);
704 mainToolBar->setProperty(
"Movable", QVariant(
false));
705 MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar);
706 statusBar =
new QStatusBar(MainWindow);
707 statusBar->setObjectName(QString::fromUtf8(
"statusBar"));
708 MainWindow->setStatusBar(statusBar);
710 menuBar->addAction(menuFile->menuAction());
711 menuBar->addAction(menuEdit->menuAction());
712 menuBar->addAction(menuView->menuAction());
713 menuBar->addAction(menuSettings->menuAction());
714 menuBar->addAction(menuHelp->menuAction());
715 menuFile->addAction(actionNew);
716 menuFile->addAction(actionOpen);
717 menuFile->addAction(actionOpenOther);
718 menuFile->addAction(actionOpenXML);
719 menuFile->addSeparator();
720 menuFile->addAction(actionSave);
721 menuFile->addAction(actionSave_As);
722 menuFile->addAction(actionExportVideo);
723 menuFile->addAction(actionExportFrame);
724 menuFile->addAction(actionExportEDL);
725 menuFile->addSeparator();
726 menuFile->addAction(actionClose);
727 menuFile->addSeparator();
728 menuFile->addAction(actionExit);
729 menuView->addAction(actionEnter_Full_Screen);
730 menuView->addAction(menuLayout->menuAction());
731 menuView->addAction(actionShowTitleBars);
732 menuView->addAction(actionShowToolbar);
733 menuView->addAction(actionShowSmallIcons);
734 menuView->addAction(actionShowTextUnderIcons);
735 menuView->addSeparator();
736 menuLayout->addAction(actionLayoutLogging);
737 menuLayout->addAction(actionLayoutEditing);
738 menuLayout->addAction(actionLayoutEffects);
739 menuLayout->addAction(actionLayoutColor);
740 menuLayout->addAction(actionLayoutAudio);
741 menuLayout->addAction(actionLayoutPlayer);
742 menuLayout->addSeparator();
743 menuLayout->addAction(actionLayoutClip);
744 menuLayout->addAction(actionLayoutPlaylist);
745 menuLayout->addSeparator();
746 menuLayout->addAction(actionRestoreLayout);
747 menuLayout->addAction(actionLayoutAdd);
748 menuEdit->addAction(actionCut);
749 menuEdit->addAction(actionCopy);
750 menuEdit->addAction(actionPaste);
751 menuHelp->addAction(actionTopics);
752 menuHelp->addAction(actionKeyboardShortcuts);
753 menuHelp->addAction(actionUpgrade);
754 menuHelp->addAction(actionFAQ);
755 menuHelp->addAction(actionTutorials);
756 menuHelp->addAction(actionForum);
757 menuHelp->addSeparator();
758 menuHelp->addAction(actionAbout_Shotcut);
759 menuHelp->addAction(actionAbout_Qt);
760 menuSettings->addAction(actionProject);
761 menuSettings->addAction(actionGPU);
762 menuSettings->addAction(menuProfile->menuAction());
763 menuSettings->addAction(menuAudioChannels->menuAction());
764 menuSettings->addSeparator();
765 menuSettings->addAction(actionPlayer);
766 menuSettings->addAction(actionScrubAudio);
767 menuSettings->addAction(actionJack);
768 menuSettings->addAction(actionRealtime);
769 menuSettings->addAction(actionProgressive);
770 menuSettings->addAction(menuPreviewScaling->menuAction());
771 menuSettings->addAction(menuProxy->menuAction());
772 menuSettings->addAction(menuDeinterlacer->menuAction());
773 menuSettings->addAction(menuInterpolation->menuAction());
774 menuSettings->addAction(menuExternal->menuAction());
775 menuSettings->addAction(menuGamma->menuAction());
776 menuSettings->addAction(actionSync);
777 menuSettings->addSeparator();
778 menuSettings->addAction(actionUser_Interface);
779 menuSettings->addAction(menuLanguage->menuAction());
780 menuSettings->addAction(menuTheme->menuAction());
781 menuSettings->addAction(menuDrawingMethod->menuAction());
782 menuSettings->addAction(menuData_Directory->menuAction());
783 menuSettings->addAction(actionClearRecentOnExit);
784 menuAudioChannels->addAction(actionChannels1);
785 menuAudioChannels->addAction(actionChannels2);
786 menuAudioChannels->addAction(actionChannels6);
787 menuDeinterlacer->addAction(actionOneField);
788 menuDeinterlacer->addAction(actionLinearBlend);
789 menuDeinterlacer->addAction(actionYadifTemporal);
790 menuDeinterlacer->addAction(actionYadifSpatial);
791 menuInterpolation->addAction(actionNearest);
792 menuInterpolation->addAction(actionBilinear);
793 menuInterpolation->addAction(actionBicubic);
794 menuInterpolation->addAction(actionHyper);
795 menuProfile->addAction(actionProfileAutomatic);
796 menuExternal->addAction(actionExternalNone);
797 menuTheme->addAction(actionSystemTheme);
798 menuTheme->addAction(actionFusionDark);
799 menuTheme->addAction(actionFusionLight);
800 menuGamma->addAction(actionGammaSRGB);
801 menuGamma->addAction(actionGammaRec709);
802 menuDrawingMethod->addAction(actionDrawingAutomatic);
803 menuDrawingMethod->addAction(actionDrawingOpenGL);
804 menuDrawingMethod->addAction(actionDrawingDirectX);
805 menuDrawingMethod->addAction(actionDrawingSoftware);
806 menuData_Directory->addAction(actionAppDataSet);
807 menuData_Directory->addAction(actionAppDataShow);
808 menuPreviewScaling->addAction(actionPreviewNone);
809 menuPreviewScaling->addAction(actionPreview360);
810 menuPreviewScaling->addAction(actionPreview540);
811 menuPreviewScaling->addAction(actionPreview720);
812 menuProxy->addAction(actionUseProxy);
813 menuProxy->addAction(menuStorage->menuAction());
814 menuProxy->addSeparator();
815 menuProxy->addAction(actionProxyUseHardware);
816 menuProxy->addAction(actionProxyConfigureHardware);
817 menuStorage->addAction(actionProxyStorageSet);
818 menuStorage->addAction(actionProxyStorageShow);
819 menuStorage->addAction(actionProxyUseProjectFolder);
820 mainToolBar->addAction(actionOpen);
821 mainToolBar->addAction(actionOpenOther2);
822 mainToolBar->addAction(actionSave);
823 mainToolBar->addSeparator();
824 mainToolBar->addAction(actionUndo);
825 mainToolBar->addAction(actionRedo);
826 mainToolBar->addSeparator();
827 mainToolBar->addAction(actionAudioMeter);
828 mainToolBar->addAction(actionProperties);
829 mainToolBar->addAction(actionRecent);
830 mainToolBar->addAction(actionPlaylist);
831 mainToolBar->addAction(actionTimeline);
832 mainToolBar->addAction(actionFilters);
833 mainToolBar->addAction(actionKeyframes);
834 mainToolBar->addAction(actionHistory);
835 mainToolBar->addAction(actionEncode);
836 mainToolBar->addAction(actionJobs);
837 mainToolBar->addAction(dummyAction);
838 mainToolBar->addAction(actionLayoutLogging);
839 mainToolBar->addAction(actionLayoutEditing);
840 mainToolBar->addAction(actionLayoutEffects);
841 mainToolBar->addAction(actionLayoutColor);
842 mainToolBar->addAction(actionLayoutAudio);
843 mainToolBar->addAction(actionLayoutPlayer);
845 retranslateUi(MainWindow);
846 QObject::connect(actionExit, SIGNAL(triggered()), MainWindow, SLOT(close()));
848 QMetaObject::connectSlotsByName(MainWindow);
851 void retranslateUi(QMainWindow *MainWindow)
853 MainWindow->setWindowTitle(QCoreApplication::translate(
"MainWindow",
"Shotcut",
nullptr));
854 actionOpen->setText(QCoreApplication::translate(
"MainWindow",
"&Open File...",
nullptr));
855 #if QT_CONFIG(tooltip)
856 actionOpen->setToolTip(QCoreApplication::translate(
"MainWindow",
"Open a video, audio or image file",
nullptr));
857 #endif // QT_CONFIG(tooltip)
858 actionExit->setText(QCoreApplication::translate(
"MainWindow",
"E&xit",
nullptr));
859 #if QT_CONFIG(tooltip)
860 actionExit->setToolTip(QCoreApplication::translate(
"MainWindow",
"Quit the application",
nullptr));
861 #endif // QT_CONFIG(tooltip)
862 actionAbout_Shotcut->setText(QCoreApplication::translate(
"MainWindow",
"&About Shotcut",
nullptr));
863 actionAbout_Qt->setText(QCoreApplication::translate(
"MainWindow",
"About Qt",
nullptr));
864 actionOpenOther->setText(QCoreApplication::translate(
"MainWindow",
"Open Other...",
nullptr));
865 #if QT_CONFIG(tooltip)
866 actionOpenOther->setToolTip(QCoreApplication::translate(
"MainWindow",
"Open a device, stream or generator",
nullptr));
867 #endif // QT_CONFIG(tooltip)
868 actionSave->setText(QCoreApplication::translate(
"MainWindow",
"&Save",
nullptr));
869 #if QT_CONFIG(tooltip)
870 actionSave->setToolTip(QCoreApplication::translate(
"MainWindow",
"Save project as a MLT XML file",
nullptr));
871 #endif // QT_CONFIG(tooltip)
872 actionSave_As->setText(QCoreApplication::translate(
"MainWindow",
"Save &As...",
nullptr));
873 #if QT_CONFIG(tooltip)
874 actionSave_As->setToolTip(QCoreApplication::translate(
"MainWindow",
"Save project to a different MLT XML file",
nullptr));
875 #endif // QT_CONFIG(tooltip)
876 actionEncode->setText(QCoreApplication::translate(
"MainWindow",
"Export",
nullptr));
877 #if QT_CONFIG(tooltip)
878 actionEncode->setToolTip(QCoreApplication::translate(
"MainWindow",
"Show the Export panel",
nullptr));
879 #endif // QT_CONFIG(tooltip)
880 actionUndo->setText(QCoreApplication::translate(
"MainWindow",
"&Undo",
nullptr));
881 actionRedo->setText(QCoreApplication::translate(
"MainWindow",
"&Redo",
nullptr));
882 actionForum->setText(QCoreApplication::translate(
"MainWindow",
"Forum...",
nullptr));
883 actionFAQ->setText(QCoreApplication::translate(
"MainWindow",
"FAQ...",
nullptr));
884 actionEnter_Full_Screen->setText(QCoreApplication::translate(
"MainWindow",
"Enter Full Screen",
nullptr));
885 #if QT_CONFIG(shortcut)
886 actionEnter_Full_Screen->setShortcut(QCoreApplication::translate(
"MainWindow",
"F11",
nullptr));
887 #endif // QT_CONFIG(shortcut)
888 actionAudioMeter->setText(QCoreApplication::translate(
"MainWindow",
"Peak Meter",
nullptr));
889 #if QT_CONFIG(tooltip)
890 actionAudioMeter->setToolTip(QCoreApplication::translate(
"MainWindow",
"Show or hide the audio peak meter",
nullptr));
891 #endif // QT_CONFIG(tooltip)
892 actionProperties->setText(QCoreApplication::translate(
"MainWindow",
"Properties",
nullptr));
893 actionRecent->setText(QCoreApplication::translate(
"MainWindow",
"Recent",
nullptr));
894 actionPlaylist->setText(QCoreApplication::translate(
"MainWindow",
"Playlist",
nullptr));
895 actionHistory->setText(QCoreApplication::translate(
"MainWindow",
"History",
nullptr));
896 actionRealtime->setText(QCoreApplication::translate(
"MainWindow",
"Realtime (frame dropping)",
nullptr));
897 actionProgressive->setText(QCoreApplication::translate(
"MainWindow",
"Progressive",
nullptr));
898 actionGPU->setText(QCoreApplication::translate(
"MainWindow",
"GPU Effects (unstable)",
nullptr));
899 #if QT_CONFIG(tooltip)
900 actionGPU->setToolTip(QCoreApplication::translate(
"MainWindow",
"Use GPU filters",
nullptr));
901 #endif // QT_CONFIG(tooltip)
902 actionChannels1->setText(QCoreApplication::translate(
"MainWindow",
"1 (mono)",
nullptr));
903 actionChannels2->setText(QCoreApplication::translate(
"MainWindow",
"2 (stereo)",
nullptr));
904 actionChannels6->setText(QCoreApplication::translate(
"MainWindow",
"6 (5.1)",
nullptr));
905 actionOneField->setText(QCoreApplication::translate(
"MainWindow",
"One Field (fast)",
nullptr));
906 actionLinearBlend->setText(QCoreApplication::translate(
"MainWindow",
"Linear Blend (fast)",
nullptr));
907 actionYadifTemporal->setText(QCoreApplication::translate(
"MainWindow",
"YADIF - temporal only (good)",
nullptr));
908 actionYadifSpatial->setText(QCoreApplication::translate(
"MainWindow",
"YADIF - temporal + spatial (best)",
nullptr));
909 actionNearest->setText(QCoreApplication::translate(
"MainWindow",
"Nearest Neighbor (fast)",
nullptr));
910 actionBilinear->setText(QCoreApplication::translate(
"MainWindow",
"Bilinear (good)",
nullptr));
911 actionBicubic->setText(QCoreApplication::translate(
"MainWindow",
"Bicubic (better)",
nullptr));
912 actionHyper->setText(QCoreApplication::translate(
"MainWindow",
"Hyper/Lanczos (best)",
nullptr));
913 actionProfileAutomatic->setText(QCoreApplication::translate(
"MainWindow",
"Automatic",
nullptr));
914 actionExternalNone->setText(QCoreApplication::translate(
"MainWindow",
"None",
nullptr));
915 actionJack->setText(QCoreApplication::translate(
"MainWindow",
"Use JACK Audio",
nullptr));
916 actionFilters->setText(QCoreApplication::translate(
"MainWindow",
"Filters",
nullptr));
917 #if QT_CONFIG(tooltip)
918 actionFilters->setToolTip(QCoreApplication::translate(
"MainWindow",
"Modify the video image or audio",
nullptr));
919 #endif // QT_CONFIG(tooltip)
920 actionAddCustomProfile->setText(QCoreApplication::translate(
"MainWindow",
"Add...",
nullptr));
921 actionSystemTheme->setText(QCoreApplication::translate(
"MainWindow",
"System",
nullptr));
922 #if QT_CONFIG(tooltip)
923 actionSystemTheme->setToolTip(QCoreApplication::translate(
"MainWindow",
"Use the user or platform style, colors, and icons.",
nullptr));
924 #endif // QT_CONFIG(tooltip)
925 actionFusionDark->setText(QCoreApplication::translate(
"MainWindow",
"Fusion Dark",
nullptr));
926 actionFusionLight->setText(QCoreApplication::translate(
"MainWindow",
"Fusion Light",
nullptr));
927 actionTutorials->setText(QCoreApplication::translate(
"MainWindow",
"Tutorials...",
nullptr));
928 actionTimeline->setText(QCoreApplication::translate(
"MainWindow",
"Timeline",
nullptr));
929 actionRestoreLayout->setText(QCoreApplication::translate(
"MainWindow",
"Restore Default Layout",
nullptr));
930 #if QT_CONFIG(tooltip)
931 actionRestoreLayout->setToolTip(QCoreApplication::translate(
"MainWindow",
"Restore Default Layout",
nullptr));
932 #endif // QT_CONFIG(tooltip)
933 actionShowTitleBars->setText(QCoreApplication::translate(
"MainWindow",
"Show Title Bars",
nullptr));
934 actionShowToolbar->setText(QCoreApplication::translate(
"MainWindow",
"Show Toolbar",
nullptr));
935 actionUpgrade->setText(QCoreApplication::translate(
"MainWindow",
"Upgrade...",
nullptr));
936 actionOpenXML->setText(QCoreApplication::translate(
"MainWindow",
"Open MLT XML As Clip...",
nullptr));
937 #if QT_CONFIG(tooltip)
938 actionOpenXML->setToolTip(QCoreApplication::translate(
"MainWindow",
"Open a MLT XML project file as a virtual clip",
nullptr));
939 #endif // QT_CONFIG(tooltip)
940 actionGammaSRGB->setText(QCoreApplication::translate(
"MainWindow",
"sRGB (computer)",
nullptr));
941 actionGammaRec709->setText(QCoreApplication::translate(
"MainWindow",
"Rec. 709 (TV)",
nullptr));
942 actionScrubAudio->setText(QCoreApplication::translate(
"MainWindow",
"Scrub Audio",
nullptr));
943 actionDrawingAutomatic->setText(QCoreApplication::translate(
"MainWindow",
"Automatic",
nullptr));
944 actionDrawingSoftware->setText(QCoreApplication::translate(
"MainWindow",
"Software (Mesa)",
nullptr));
945 actionApplicationLog->setText(QCoreApplication::translate(
"MainWindow",
"Application Log...",
nullptr));
946 actionProject->setText(QCoreApplication::translate(
"MainWindow",
"Project",
nullptr));
947 actionPlayer->setText(QCoreApplication::translate(
"MainWindow",
"Player",
nullptr));
948 actionUser_Interface->setText(QCoreApplication::translate(
"MainWindow",
"User Interface",
nullptr));
949 actionClose->setText(QCoreApplication::translate(
"MainWindow",
"Close",
nullptr));
950 actionCut->setText(QCoreApplication::translate(
"MainWindow",
"Cu&t",
nullptr));
951 actionCopy->setText(QCoreApplication::translate(
"MainWindow",
"&Copy",
nullptr));
952 actionPaste->setText(QCoreApplication::translate(
"MainWindow",
"&Paste",
nullptr));
953 actionExportEDL->setText(QCoreApplication::translate(
"MainWindow",
"Export EDL...",
nullptr));
954 actionExportFrame->setText(QCoreApplication::translate(
"MainWindow",
"Export Frame...",
nullptr));
955 actionExportVideo->setText(QCoreApplication::translate(
"MainWindow",
"Export Video...",
nullptr));
956 actionAppDataSet->setText(QCoreApplication::translate(
"MainWindow",
"Set...",
nullptr));
957 actionAppDataShow->setText(QCoreApplication::translate(
"MainWindow",
"Show...",
nullptr));
958 #if QT_CONFIG(tooltip)
959 actionAppDataShow->setToolTip(QCoreApplication::translate(
"MainWindow",
"Show",
nullptr));
960 #endif // QT_CONFIG(tooltip)
961 actionKeyframes->setText(QCoreApplication::translate(
"MainWindow",
"Keyframes",
nullptr));
962 #if QT_CONFIG(tooltip)
963 actionKeyframes->setToolTip(QCoreApplication::translate(
"MainWindow",
"Keyframes",
nullptr));
964 #endif // QT_CONFIG(tooltip)
965 actionNew->setText(QCoreApplication::translate(
"MainWindow",
"New",
nullptr));
966 actionKeyboardShortcuts->setText(QCoreApplication::translate(
"MainWindow",
"Keyboard Shortcuts...",
nullptr));
967 actionLayoutAudio->setText(QCoreApplication::translate(
"MainWindow",
"Audio",
nullptr));
968 #if QT_CONFIG(tooltip)
969 actionLayoutAudio->setToolTip(QCoreApplication::translate(
"MainWindow",
"Switch to the audio layout",
nullptr));
970 #endif // QT_CONFIG(tooltip)
971 actionLayoutLogging->setText(QCoreApplication::translate(
"MainWindow",
"Logging",
nullptr));
972 #if QT_CONFIG(tooltip)
973 actionLayoutLogging->setToolTip(QCoreApplication::translate(
"MainWindow",
"Switch to the logging layout",
nullptr));
974 #endif // QT_CONFIG(tooltip)
975 actionLayoutEditing->setText(QCoreApplication::translate(
"MainWindow",
"Editing",
nullptr));
976 #if QT_CONFIG(tooltip)
977 actionLayoutEditing->setToolTip(QCoreApplication::translate(
"MainWindow",
"Switch to the editing layout",
nullptr));
978 #endif // QT_CONFIG(tooltip)
979 actionLayoutEffects->setText(QCoreApplication::translate(
"MainWindow",
"FX",
nullptr));
980 #if QT_CONFIG(tooltip)
981 actionLayoutEffects->setToolTip(QCoreApplication::translate(
"MainWindow",
"Switch to the effects layout",
nullptr));
982 #endif // QT_CONFIG(tooltip)
983 actionLayoutAdd->setText(QCoreApplication::translate(
"MainWindow",
"Add...",
nullptr));
984 actionProfileRemove->setText(QCoreApplication::translate(
"MainWindow",
"Remove...",
nullptr));
985 actionLayoutRemove->setText(QCoreApplication::translate(
"MainWindow",
"Remove...",
nullptr));
986 actionOpenOther2->setText(QCoreApplication::translate(
"MainWindow",
"Open Other",
nullptr));
987 #if QT_CONFIG(tooltip)
988 actionOpenOther2->setToolTip(QCoreApplication::translate(
"MainWindow",
"Open a device, stream or generator",
nullptr));
989 #endif // QT_CONFIG(tooltip)
990 actionClearRecentOnExit->setText(QCoreApplication::translate(
"MainWindow",
"Clear Recent on Exit",
nullptr));
991 actionShowTextUnderIcons->setText(QCoreApplication::translate(
"MainWindow",
"Show Text Under Icons",
nullptr));
992 actionShowSmallIcons->setText(QCoreApplication::translate(
"MainWindow",
"Show Small Icons",
nullptr));
993 actionJobs->setText(QCoreApplication::translate(
"MainWindow",
"Jobs",
nullptr));
994 actionPreview540->setText(QCoreApplication::translate(
"MainWindow",
"540p",
nullptr));
995 actionPreview720->setText(QCoreApplication::translate(
"MainWindow",
"720p",
nullptr));
996 actionPreviewNone->setText(QCoreApplication::translate(
"MainWindow",
"None",
nullptr));
997 actionPreview360->setText(QCoreApplication::translate(
"MainWindow",
"360p",
nullptr));
998 actionTopics->setText(QCoreApplication::translate(
"MainWindow",
"Topics",
nullptr));
999 actionSync->setText(QCoreApplication::translate(
"MainWindow",
"Synchronization...",
nullptr));
1000 #if QT_CONFIG(tooltip)
1001 actionSync->setToolTip(QCoreApplication::translate(
"MainWindow",
"Synchronization",
nullptr));
1002 #endif // QT_CONFIG(tooltip)
1003 actionUseProxy->setText(QCoreApplication::translate(
"MainWindow",
"Use Proxy",
nullptr));
1004 actionProxyStorageSet->setText(QCoreApplication::translate(
"MainWindow",
"Set...",
nullptr));
1005 #if QT_CONFIG(tooltip)
1006 actionProxyStorageSet->setToolTip(QCoreApplication::translate(
"MainWindow",
"Set the proxy storage folder",
nullptr));
1007 #endif // QT_CONFIG(tooltip)
1008 actionProxyStorageShow->setText(QCoreApplication::translate(
"MainWindow",
"Show...",
nullptr));
1009 #if QT_CONFIG(tooltip)
1010 actionProxyStorageShow->setToolTip(QCoreApplication::translate(
"MainWindow",
"Show the proxy storage folder",
nullptr));
1011 #endif // QT_CONFIG(tooltip)
1012 actionProxyUseProjectFolder->setText(QCoreApplication::translate(
"MainWindow",
"Use Project Folder",
nullptr));
1013 #if QT_CONFIG(tooltip)
1014 actionProxyUseProjectFolder->setToolTip(QCoreApplication::translate(
"MainWindow",
"Store proxies in the project folder if defined",
nullptr));
1015 #endif // QT_CONFIG(tooltip)
1016 actionProxyUseHardware->setText(QCoreApplication::translate(
"MainWindow",
"Use Hardware Encoder",
nullptr));
1017 actionProxyConfigureHardware->setText(QCoreApplication::translate(
"MainWindow",
"Configure Hardware Encoder...",
nullptr));
1018 actionLayoutColor->setText(QCoreApplication::translate(
"MainWindow",
"Color",
nullptr));
1019 #if QT_CONFIG(tooltip)
1020 actionLayoutColor->setToolTip(QCoreApplication::translate(
"MainWindow",
"Switch to the color layout",
nullptr));
1021 #endif // QT_CONFIG(tooltip)
1022 actionLayoutPlayer->setText(QCoreApplication::translate(
"MainWindow",
"Player",
nullptr));
1023 #if QT_CONFIG(tooltip)
1024 actionLayoutPlayer->setToolTip(QCoreApplication::translate(
"MainWindow",
"Switch to the player only layout",
nullptr));
1025 #endif // QT_CONFIG(tooltip)
1026 actionLayoutPlaylist->setText(QCoreApplication::translate(
"MainWindow",
"Playlist Project",
nullptr));
1027 actionLayoutClip->setText(QCoreApplication::translate(
"MainWindow",
"Clip-only Project",
nullptr));
1028 menuFile->setTitle(QCoreApplication::translate(
"MainWindow",
"&File",
nullptr));
1029 menuView->setTitle(QCoreApplication::translate(
"MainWindow",
"&View",
nullptr));
1030 menuLayout->setTitle(QCoreApplication::translate(
"MainWindow",
"Layout",
nullptr));
1031 menuEdit->setTitle(QCoreApplication::translate(
"MainWindow",
"&Edit",
nullptr));
1032 menuHelp->setTitle(QCoreApplication::translate(
"MainWindow",
"&Help",
nullptr));
1033 menuSettings->setTitle(QCoreApplication::translate(
"MainWindow",
"Settings",
nullptr));
1034 menuAudioChannels->setTitle(QCoreApplication::translate(
"MainWindow",
"Audio Channels",
nullptr));
1035 menuDeinterlacer->setTitle(QCoreApplication::translate(
"MainWindow",
"Deinterlacer",
nullptr));
1036 menuInterpolation->setTitle(QCoreApplication::translate(
"MainWindow",
"Interpolation",
nullptr));
1037 menuProfile->setTitle(QCoreApplication::translate(
"MainWindow",
"Video Mode",
nullptr));
1038 menuExternal->setTitle(QCoreApplication::translate(
"MainWindow",
"External Monitor",
nullptr));
1039 menuLanguage->setTitle(QCoreApplication::translate(
"MainWindow",
"Language",
nullptr));
1040 menuTheme->setTitle(QCoreApplication::translate(
"MainWindow",
"Theme",
nullptr));
1041 menuGamma->setTitle(QCoreApplication::translate(
"MainWindow",
"Gamma",
nullptr));
1042 menuDrawingMethod->setTitle(QCoreApplication::translate(
"MainWindow",
"Display Method",
nullptr));
1043 menuData_Directory->setTitle(QCoreApplication::translate(
"MainWindow",
"App Data Directory",
nullptr));
1044 menuPreviewScaling->setTitle(QCoreApplication::translate(
"MainWindow",
"Preview Scaling",
nullptr));
1045 menuProxy->setTitle(QCoreApplication::translate(
"MainWindow",
"Proxy",
nullptr));
1046 menuStorage->setTitle(QCoreApplication::translate(
"MainWindow",
"Storage",
nullptr));
1047 mainToolBar->setWindowTitle(QCoreApplication::translate(
"MainWindow",
"Toolbar",
nullptr));
1053 class MainWindow:
public Ui_MainWindow {};
1058 #endif // UI_MAINWINDOW_H