9 #ifndef UI_PLAYLISTDOCK_H
10 #define UI_PLAYLISTDOCK_H
12 #include <QtCore/QVariant>
13 #include <QtGui/QIcon>
14 #include <QtWidgets/QAction>
15 #include <QtWidgets/QApplication>
16 #include <QtWidgets/QDockWidget>
17 #include <QtWidgets/QHBoxLayout>
18 #include <QtWidgets/QHeaderView>
19 #include <QtWidgets/QPushButton>
20 #include <QtWidgets/QSpacerItem>
21 #include <QtWidgets/QStackedWidget>
22 #include <QtWidgets/QTextBrowser>
23 #include <QtWidgets/QVBoxLayout>
24 #include <QtWidgets/QWidget>
25 #include "widgets/playlistlistview.h"
26 #include "widgets/playlisttable.h"
33 QAction *actionInsertCut;
34 QAction *actionAppendCut;
35 QAction *actionInsertBlank;
36 QAction *actionAppendBlank;
37 QAction *actionUpdate;
39 QAction *actionRemove;
40 QAction *actionSetFileDate;
42 QAction *actionRemoveAll;
43 QAction *actionThumbnailsHidden;
44 QAction *actionLeftAndRight;
45 QAction *actionTopAndBottom;
46 QAction *actionInOnlySmall;
47 QAction *actionInOnlyLarge;
48 QAction *actionAddToTimeline;
49 QAction *actionAddToSlideshow;
50 QAction *actionSortByName;
51 QAction *actionSortByDate;
52 QAction *actionDetailed;
56 QAction *actionPlayAfterOpen;
57 QAction *actionSelectAll;
58 QAction *actionSelectNone;
59 QAction *actionUpdateThumbnails;
60 QWidget *dockWidgetContents;
61 QVBoxLayout *verticalLayout;
62 QStackedWidget *stackedWidget;
64 QVBoxLayout *verticalLayout_2;
65 QTextBrowser *textBrowser;
67 QVBoxLayout *verticalLayout_3;
68 PlaylistTable *tableView;
69 PlaylistListView *listView;
70 QHBoxLayout *horizontalLayout;
71 QPushButton *addButton;
72 QPushButton *removeButton;
73 QPushButton *updateButton;
74 QPushButton *tilesButton;
75 QPushButton *iconsButton;
76 QPushButton *detailsButton;
77 QPushButton *menuButton;
78 QSpacerItem *horizontalSpacer;
80 void setupUi(QDockWidget *PlaylistDock)
82 if (PlaylistDock->objectName().isEmpty())
83 PlaylistDock->setObjectName(QString::fromUtf8(
"PlaylistDock"));
84 PlaylistDock->resize(460, 278);
86 QString iconThemeName = QString::fromUtf8(
"view-media-playlist");
87 if (QIcon::hasThemeIcon(iconThemeName)) {
88 icon = QIcon::fromTheme(iconThemeName);
90 icon.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-media-playlist.png"), QSize(), QIcon::Normal, QIcon::Off);
92 PlaylistDock->setWindowIcon(icon);
93 actionInsertCut =
new QAction(PlaylistDock);
94 actionInsertCut->setObjectName(QString::fromUtf8(
"actionInsertCut"));
95 actionAppendCut =
new QAction(PlaylistDock);
96 actionAppendCut->setObjectName(QString::fromUtf8(
"actionAppendCut"));
98 iconThemeName = QString::fromUtf8(
"list-add");
99 if (QIcon::hasThemeIcon(iconThemeName)) {
100 icon1 = QIcon::fromTheme(iconThemeName);
102 icon1.addFile(QString::fromUtf8(
"."), QSize(), QIcon::Normal, QIcon::Off);
104 actionAppendCut->setIcon(icon1);
105 actionInsertBlank =
new QAction(PlaylistDock);
106 actionInsertBlank->setObjectName(QString::fromUtf8(
"actionInsertBlank"));
107 actionAppendBlank =
new QAction(PlaylistDock);
108 actionAppendBlank->setObjectName(QString::fromUtf8(
"actionAppendBlank"));
109 actionUpdate =
new QAction(PlaylistDock);
110 actionUpdate->setObjectName(QString::fromUtf8(
"actionUpdate"));
111 actionOpen =
new QAction(PlaylistDock);
112 actionOpen->setObjectName(QString::fromUtf8(
"actionOpen"));
113 actionRemove =
new QAction(PlaylistDock);
114 actionRemove->setObjectName(QString::fromUtf8(
"actionRemove"));
115 actionSetFileDate =
new QAction(PlaylistDock);
116 actionSetFileDate->setObjectName(QString::fromUtf8(
"actionSetFileDate"));
117 actionGoto =
new QAction(PlaylistDock);
118 actionGoto->setObjectName(QString::fromUtf8(
"actionGoto"));
119 actionRemoveAll =
new QAction(PlaylistDock);
120 actionRemoveAll->setObjectName(QString::fromUtf8(
"actionRemoveAll"));
121 actionThumbnailsHidden =
new QAction(PlaylistDock);
122 actionThumbnailsHidden->setObjectName(QString::fromUtf8(
"actionThumbnailsHidden"));
123 actionThumbnailsHidden->setCheckable(
true);
124 actionLeftAndRight =
new QAction(PlaylistDock);
125 actionLeftAndRight->setObjectName(QString::fromUtf8(
"actionLeftAndRight"));
126 actionLeftAndRight->setCheckable(
true);
127 actionTopAndBottom =
new QAction(PlaylistDock);
128 actionTopAndBottom->setObjectName(QString::fromUtf8(
"actionTopAndBottom"));
129 actionTopAndBottom->setCheckable(
true);
130 actionInOnlySmall =
new QAction(PlaylistDock);
131 actionInOnlySmall->setObjectName(QString::fromUtf8(
"actionInOnlySmall"));
132 actionInOnlySmall->setCheckable(
true);
133 actionInOnlyLarge =
new QAction(PlaylistDock);
134 actionInOnlyLarge->setObjectName(QString::fromUtf8(
"actionInOnlyLarge"));
135 actionInOnlyLarge->setCheckable(
true);
136 actionAddToTimeline =
new QAction(PlaylistDock);
137 actionAddToTimeline->setObjectName(QString::fromUtf8(
"actionAddToTimeline"));
138 actionAddToSlideshow =
new QAction(PlaylistDock);
139 actionAddToSlideshow->setObjectName(QString::fromUtf8(
"actionAddToSlideshow"));
140 actionSortByName =
new QAction(PlaylistDock);
141 actionSortByName->setObjectName(QString::fromUtf8(
"actionSortByName"));
142 actionSortByDate =
new QAction(PlaylistDock);
143 actionSortByDate->setObjectName(QString::fromUtf8(
"actionSortByDate"));
144 actionDetailed =
new QAction(PlaylistDock);
145 actionDetailed->setObjectName(QString::fromUtf8(
"actionDetailed"));
146 actionDetailed->setCheckable(
true);
147 actionTiled =
new QAction(PlaylistDock);
148 actionTiled->setObjectName(QString::fromUtf8(
"actionTiled"));
149 actionTiled->setCheckable(
true);
150 actionIcons =
new QAction(PlaylistDock);
151 actionIcons->setObjectName(QString::fromUtf8(
"actionIcons"));
152 actionIcons->setCheckable(
true);
153 actionCopy =
new QAction(PlaylistDock);
154 actionCopy->setObjectName(QString::fromUtf8(
"actionCopy"));
155 actionPlayAfterOpen =
new QAction(PlaylistDock);
156 actionPlayAfterOpen->setObjectName(QString::fromUtf8(
"actionPlayAfterOpen"));
157 actionPlayAfterOpen->setCheckable(
true);
158 actionSelectAll =
new QAction(PlaylistDock);
159 actionSelectAll->setObjectName(QString::fromUtf8(
"actionSelectAll"));
160 actionSelectNone =
new QAction(PlaylistDock);
161 actionSelectNone->setObjectName(QString::fromUtf8(
"actionSelectNone"));
162 actionUpdateThumbnails =
new QAction(PlaylistDock);
163 actionUpdateThumbnails->setObjectName(QString::fromUtf8(
"actionUpdateThumbnails"));
164 dockWidgetContents =
new QWidget();
165 dockWidgetContents->setObjectName(QString::fromUtf8(
"dockWidgetContents"));
166 verticalLayout =
new QVBoxLayout(dockWidgetContents);
167 verticalLayout->setSpacing(0);
168 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
169 verticalLayout->setContentsMargins(0, 0, 0, 0);
170 stackedWidget =
new QStackedWidget(dockWidgetContents);
171 stackedWidget->setObjectName(QString::fromUtf8(
"stackedWidget"));
172 page =
new QWidget();
173 page->setObjectName(QString::fromUtf8(
"page"));
174 verticalLayout_2 =
new QVBoxLayout(page);
175 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
176 verticalLayout_2->setContentsMargins(0, 0, 0, 0);
177 textBrowser =
new QTextBrowser(page);
178 textBrowser->setObjectName(QString::fromUtf8(
"textBrowser"));
180 verticalLayout_2->addWidget(textBrowser);
182 stackedWidget->addWidget(page);
183 page_2 =
new QWidget();
184 page_2->setObjectName(QString::fromUtf8(
"page_2"));
185 verticalLayout_3 =
new QVBoxLayout(page_2);
186 verticalLayout_3->setObjectName(QString::fromUtf8(
"verticalLayout_3"));
187 verticalLayout_3->setContentsMargins(0, 0, 0, 0);
188 tableView =
new PlaylistTable(page_2);
189 tableView->setObjectName(QString::fromUtf8(
"tableView"));
190 tableView->setContextMenuPolicy(Qt::CustomContextMenu);
191 tableView->setDragEnabled(
false);
192 tableView->setAlternatingRowColors(
true);
193 tableView->setSelectionMode(QAbstractItemView::ExtendedSelection);
194 tableView->setSelectionBehavior(QAbstractItemView::SelectRows);
195 tableView->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
196 tableView->horizontalHeader()->setHighlightSections(
false);
197 tableView->verticalHeader()->setVisible(
false);
199 verticalLayout_3->addWidget(tableView);
201 listView =
new PlaylistListView(page_2);
202 listView->setObjectName(QString::fromUtf8(
"listView"));
203 listView->setContextMenuPolicy(Qt::CustomContextMenu);
204 listView->setSelectionMode(QAbstractItemView::ExtendedSelection);
205 listView->setMovement(QListView::Static);
207 verticalLayout_3->addWidget(listView);
209 stackedWidget->addWidget(page_2);
211 verticalLayout->addWidget(stackedWidget);
213 horizontalLayout =
new QHBoxLayout();
214 horizontalLayout->setSpacing(6);
215 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
216 addButton =
new QPushButton(dockWidgetContents);
217 addButton->setObjectName(QString::fromUtf8(
"addButton"));
218 addButton->setEnabled(
false);
220 iconThemeName = QString::fromUtf8(
"list-add");
221 if (QIcon::hasThemeIcon(iconThemeName)) {
222 icon2 = QIcon::fromTheme(iconThemeName);
224 icon2.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/list-add.png"), QSize(), QIcon::Normal, QIcon::Off);
226 addButton->setIcon(icon2);
228 horizontalLayout->addWidget(addButton);
230 removeButton =
new QPushButton(dockWidgetContents);
231 removeButton->setObjectName(QString::fromUtf8(
"removeButton"));
232 removeButton->setEnabled(
false);
234 iconThemeName = QString::fromUtf8(
"list-remove");
235 if (QIcon::hasThemeIcon(iconThemeName)) {
236 icon3 = QIcon::fromTheme(iconThemeName);
238 icon3.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/list-remove.png"), QSize(), QIcon::Normal, QIcon::Off);
240 removeButton->setIcon(icon3);
242 horizontalLayout->addWidget(removeButton);
244 updateButton =
new QPushButton(dockWidgetContents);
245 updateButton->setObjectName(QString::fromUtf8(
"updateButton"));
246 updateButton->setEnabled(
false);
248 iconThemeName = QString::fromUtf8(
"dialog-ok");
249 if (QIcon::hasThemeIcon(iconThemeName)) {
250 icon4 = QIcon::fromTheme(iconThemeName);
252 icon4.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/dialog-ok.png"), QSize(), QIcon::Normal, QIcon::Off);
254 updateButton->setIcon(icon4);
256 horizontalLayout->addWidget(updateButton);
258 tilesButton =
new QPushButton(dockWidgetContents);
259 tilesButton->setObjectName(QString::fromUtf8(
"tilesButton"));
261 iconThemeName = QString::fromUtf8(
"view-list-details");
262 if (QIcon::hasThemeIcon(iconThemeName)) {
263 icon5 = QIcon::fromTheme(iconThemeName);
265 icon5.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-list-details.png"), QSize(), QIcon::Normal, QIcon::Off);
267 tilesButton->setIcon(icon5);
269 horizontalLayout->addWidget(tilesButton);
271 iconsButton =
new QPushButton(dockWidgetContents);
272 iconsButton->setObjectName(QString::fromUtf8(
"iconsButton"));
274 iconThemeName = QString::fromUtf8(
"view-list-icons");
275 if (QIcon::hasThemeIcon(iconThemeName)) {
276 icon6 = QIcon::fromTheme(iconThemeName);
278 icon6.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-list-icons.png"), QSize(), QIcon::Normal, QIcon::Off);
280 iconsButton->setIcon(icon6);
282 horizontalLayout->addWidget(iconsButton);
284 detailsButton =
new QPushButton(dockWidgetContents);
285 detailsButton->setObjectName(QString::fromUtf8(
"detailsButton"));
287 iconThemeName = QString::fromUtf8(
"view-list-text");
288 if (QIcon::hasThemeIcon(iconThemeName)) {
289 icon7 = QIcon::fromTheme(iconThemeName);
291 icon7.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-list-text.png"), QSize(), QIcon::Normal, QIcon::Off);
293 detailsButton->setIcon(icon7);
295 horizontalLayout->addWidget(detailsButton);
297 menuButton =
new QPushButton(dockWidgetContents);
298 menuButton->setObjectName(QString::fromUtf8(
"menuButton"));
300 iconThemeName = QString::fromUtf8(
"show-menu");
301 if (QIcon::hasThemeIcon(iconThemeName)) {
302 icon8 = QIcon::fromTheme(iconThemeName);
304 icon8.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/format-justify-fill.png"), QSize(), QIcon::Normal, QIcon::Off);
306 menuButton->setIcon(icon8);
308 horizontalLayout->addWidget(menuButton);
310 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
312 horizontalLayout->addItem(horizontalSpacer);
315 verticalLayout->addLayout(horizontalLayout);
317 PlaylistDock->setWidget(dockWidgetContents);
319 retranslateUi(PlaylistDock);
321 stackedWidget->setCurrentIndex(0);
324 QMetaObject::connectSlotsByName(PlaylistDock);
327 void retranslateUi(QDockWidget *PlaylistDock)
329 PlaylistDock->setWindowTitle(QCoreApplication::translate(
"PlaylistDock",
"Playlist",
nullptr));
330 actionInsertCut->setText(QCoreApplication::translate(
"PlaylistDock",
"Insert",
nullptr));
331 #if QT_CONFIG(tooltip)
332 actionInsertCut->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Insert",
nullptr));
333 #endif // QT_CONFIG(tooltip)
334 #if QT_CONFIG(shortcut)
335 actionInsertCut->setShortcut(QCoreApplication::translate(
"PlaylistDock",
"Shift+V",
nullptr));
336 #endif // QT_CONFIG(shortcut)
337 actionAppendCut->setText(QCoreApplication::translate(
"PlaylistDock",
"Append",
nullptr));
338 #if QT_CONFIG(tooltip)
339 actionAppendCut->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Append",
nullptr));
340 #endif // QT_CONFIG(tooltip)
341 #if QT_CONFIG(shortcut)
342 actionAppendCut->setShortcut(QCoreApplication::translate(
"PlaylistDock",
"Shift+A",
nullptr));
343 #endif // QT_CONFIG(shortcut)
344 actionInsertBlank->setText(QCoreApplication::translate(
"PlaylistDock",
"Insert Blank",
nullptr));
345 actionAppendBlank->setText(QCoreApplication::translate(
"PlaylistDock",
"Append Blank",
nullptr));
346 actionUpdate->setText(QCoreApplication::translate(
"PlaylistDock",
"Replace",
nullptr));
347 #if QT_CONFIG(shortcut)
348 actionUpdate->setShortcut(QCoreApplication::translate(
"PlaylistDock",
"Shift+B",
nullptr));
349 #endif // QT_CONFIG(shortcut)
350 actionOpen->setText(QCoreApplication::translate(
"PlaylistDock",
"Open ",
nullptr));
351 #if QT_CONFIG(tooltip)
352 actionOpen->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Open the clip in the Source player",
nullptr));
353 #endif // QT_CONFIG(tooltip)
354 #if QT_CONFIG(shortcut)
355 actionOpen->setShortcut(QCoreApplication::translate(
"PlaylistDock",
"Return",
nullptr));
356 #endif // QT_CONFIG(shortcut)
357 actionRemove->setText(QCoreApplication::translate(
"PlaylistDock",
"Remove",
nullptr));
358 #if QT_CONFIG(shortcut)
359 actionRemove->setShortcut(QCoreApplication::translate(
"PlaylistDock",
"Shift+X",
nullptr));
360 #endif // QT_CONFIG(shortcut)
361 actionSetFileDate->setText(QCoreApplication::translate(
"PlaylistDock",
"Set Creation Time...",
nullptr));
362 actionGoto->setText(QCoreApplication::translate(
"PlaylistDock",
"Goto",
nullptr));
363 #if QT_CONFIG(tooltip)
364 actionGoto->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Go to the start of this clip in the Project player",
nullptr));
365 #endif // QT_CONFIG(tooltip)
366 #if QT_CONFIG(shortcut)
367 actionGoto->setShortcut(QCoreApplication::translate(
"PlaylistDock",
"Shift+Return",
nullptr));
368 #endif // QT_CONFIG(shortcut)
369 actionRemoveAll->setText(QCoreApplication::translate(
"PlaylistDock",
"Remove All",
nullptr));
370 #if QT_CONFIG(tooltip)
371 actionRemoveAll->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Remove all items from the playlist",
nullptr));
372 #endif // QT_CONFIG(tooltip)
373 actionThumbnailsHidden->setText(QCoreApplication::translate(
"PlaylistDock",
"Hidden",
nullptr));
374 actionLeftAndRight->setText(QCoreApplication::translate(
"PlaylistDock",
"In and Out - Left/Right",
nullptr));
375 #if QT_CONFIG(tooltip)
376 actionLeftAndRight->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"In and Out - Left/Right",
nullptr));
377 #endif // QT_CONFIG(tooltip)
378 actionTopAndBottom->setText(QCoreApplication::translate(
"PlaylistDock",
"In and Out - Top/Bottom",
nullptr));
379 #if QT_CONFIG(tooltip)
380 actionTopAndBottom->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"In and Out - Top/Bottom",
nullptr));
381 #endif // QT_CONFIG(tooltip)
382 actionInOnlySmall->setText(QCoreApplication::translate(
"PlaylistDock",
"In Only - Small",
nullptr));
383 actionInOnlyLarge->setText(QCoreApplication::translate(
"PlaylistDock",
"In Only - Large",
nullptr));
384 actionAddToTimeline->setText(QCoreApplication::translate(
"PlaylistDock",
"Add Selected to Timeline",
nullptr));
385 actionAddToSlideshow->setText(QCoreApplication::translate(
"PlaylistDock",
"Add Selected to Slideshow",
nullptr));
386 actionSortByName->setText(QCoreApplication::translate(
"PlaylistDock",
"Sort By Name",
nullptr));
387 actionSortByDate->setText(QCoreApplication::translate(
"PlaylistDock",
"Sort By Date",
nullptr));
388 actionDetailed->setText(QCoreApplication::translate(
"PlaylistDock",
"Details",
nullptr));
389 #if QT_CONFIG(tooltip)
390 actionDetailed->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"View as details",
nullptr));
391 #endif // QT_CONFIG(tooltip)
392 actionTiled->setText(QCoreApplication::translate(
"PlaylistDock",
"Tiles",
nullptr));
393 #if QT_CONFIG(tooltip)
394 actionTiled->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"View as tiles",
nullptr));
395 #endif // QT_CONFIG(tooltip)
396 actionIcons->setText(QCoreApplication::translate(
"PlaylistDock",
"Icons",
nullptr));
397 #if QT_CONFIG(tooltip)
398 actionIcons->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"View as icons",
nullptr));
399 #endif // QT_CONFIG(tooltip)
400 actionCopy->setText(QCoreApplication::translate(
"PlaylistDock",
"Copy",
nullptr));
401 #if QT_CONFIG(tooltip)
402 actionCopy->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Open a copy of the clip in the Source player",
nullptr));
403 #endif // QT_CONFIG(tooltip)
404 #if QT_CONFIG(shortcut)
405 actionCopy->setShortcut(QCoreApplication::translate(
"PlaylistDock",
"Shift+C",
nullptr));
406 #endif // QT_CONFIG(shortcut)
407 actionPlayAfterOpen->setText(QCoreApplication::translate(
"PlaylistDock",
"Play After Open",
nullptr));
408 actionSelectAll->setText(QCoreApplication::translate(
"PlaylistDock",
"Select All",
nullptr));
409 #if QT_CONFIG(shortcut)
410 actionSelectAll->setShortcut(QCoreApplication::translate(
"PlaylistDock",
"Ctrl+Shift+A",
nullptr));
411 #endif // QT_CONFIG(shortcut)
412 actionSelectNone->setText(QCoreApplication::translate(
"PlaylistDock",
"Select None",
nullptr));
413 #if QT_CONFIG(shortcut)
414 actionSelectNone->setShortcut(QCoreApplication::translate(
"PlaylistDock",
"Ctrl+Shift+D",
nullptr));
415 #endif // QT_CONFIG(shortcut)
416 actionUpdateThumbnails->setText(QCoreApplication::translate(
"PlaylistDock",
"Update Thumbnails",
nullptr));
417 textBrowser->setHtml(QCoreApplication::translate(
"PlaylistDock",
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
418 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
419 "p, li { white-space: pre-wrap; }\n"
420 "</style></head><body>\n"
421 "<p style=\" margin-top:12px; margin-bottom:16px; margin-left:-24px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Double-click</span> a playlist item to open it in the player.</p>\n"
422 "<p style=\" margin-top:0px; margin-bottom:16px; margin-left:-24px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">You can freely preview clips without necessarily adding them to the playlist or closing it.</p>\n"
423 "<p style=\" margin-top:0px; margin-bottom:16px; margin-left:-24px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">To trim or adjust a playlist item <span style=\" font-weight:600;\">Double-click</span> to open it, make the changes, and click the <span style=\" font-weight:600;\">Update</span> icon.</p>\n"
425 "yle=\" margin-top:0px; margin-bottom:16px; margin-left:-24px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Drag-n-drop</span> to rearrange the items.</p></body></html>",
nullptr));
426 #if QT_CONFIG(tooltip)
427 tableView->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"<html><head/><body><p>Double-click a playlist item to open it in the player.</p></body></html>",
nullptr));
428 #endif // QT_CONFIG(tooltip)
429 #if QT_CONFIG(tooltip)
430 addButton->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Add the Source to the playlist",
nullptr));
431 #endif // QT_CONFIG(tooltip)
432 addButton->setText(QString());
433 #if QT_CONFIG(tooltip)
434 removeButton->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Remove cut",
nullptr));
435 #endif // QT_CONFIG(tooltip)
436 removeButton->setText(QString());
437 #if QT_CONFIG(tooltip)
438 updateButton->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Update",
nullptr));
439 #endif // QT_CONFIG(tooltip)
440 updateButton->setText(QString());
441 #if QT_CONFIG(tooltip)
442 tilesButton->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"View as tiles",
nullptr));
443 #endif // QT_CONFIG(tooltip)
444 tilesButton->setText(QString());
445 #if QT_CONFIG(tooltip)
446 iconsButton->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"View as icons",
nullptr));
447 #endif // QT_CONFIG(tooltip)
448 iconsButton->setText(QString());
449 #if QT_CONFIG(tooltip)
450 detailsButton->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"View as details",
nullptr));
451 #endif // QT_CONFIG(tooltip)
452 detailsButton->setText(QString());
453 #if QT_CONFIG(tooltip)
454 menuButton->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Display a menu of additional actions",
nullptr));
455 #endif // QT_CONFIG(tooltip)
456 menuButton->setText(QString());
462 class PlaylistDock:
public Ui_PlaylistDock {};
467 #endif // UI_PLAYLISTDOCK_H