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 *addFilesButton;
74 QPushButton *updateButton;
75 QPushButton *tilesButton;
76 QPushButton *iconsButton;
77 QPushButton *detailsButton;
78 QPushButton *menuButton;
79 QSpacerItem *horizontalSpacer;
81 void setupUi(QDockWidget *PlaylistDock)
83 if (PlaylistDock->objectName().isEmpty())
84 PlaylistDock->setObjectName(QString::fromUtf8(
"PlaylistDock"));
85 PlaylistDock->resize(460, 278);
87 QString iconThemeName = QString::fromUtf8(
"view-media-playlist");
88 if (QIcon::hasThemeIcon(iconThemeName)) {
89 icon = QIcon::fromTheme(iconThemeName);
91 icon.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-media-playlist.png"), QSize(), QIcon::Normal, QIcon::Off);
93 PlaylistDock->setWindowIcon(icon);
94 actionInsertCut =
new QAction(PlaylistDock);
95 actionInsertCut->setObjectName(QString::fromUtf8(
"actionInsertCut"));
96 #if QT_CONFIG(shortcut)
97 actionInsertCut->setShortcut(QString::fromUtf8(
"Shift+V"));
99 actionAppendCut =
new QAction(PlaylistDock);
100 actionAppendCut->setObjectName(QString::fromUtf8(
"actionAppendCut"));
102 iconThemeName = QString::fromUtf8(
"list-add");
103 if (QIcon::hasThemeIcon(iconThemeName)) {
104 icon1 = QIcon::fromTheme(iconThemeName);
106 icon1.addFile(QString::fromUtf8(
"."), QSize(), QIcon::Normal, QIcon::Off);
108 actionAppendCut->setIcon(icon1);
109 #if QT_CONFIG(shortcut)
110 actionAppendCut->setShortcut(QString::fromUtf8(
"Shift+A"));
112 actionInsertBlank =
new QAction(PlaylistDock);
113 actionInsertBlank->setObjectName(QString::fromUtf8(
"actionInsertBlank"));
114 actionAppendBlank =
new QAction(PlaylistDock);
115 actionAppendBlank->setObjectName(QString::fromUtf8(
"actionAppendBlank"));
116 actionUpdate =
new QAction(PlaylistDock);
117 actionUpdate->setObjectName(QString::fromUtf8(
"actionUpdate"));
118 #if QT_CONFIG(shortcut)
119 actionUpdate->setShortcut(QString::fromUtf8(
"Shift+B"));
121 actionOpen =
new QAction(PlaylistDock);
122 actionOpen->setObjectName(QString::fromUtf8(
"actionOpen"));
123 #if QT_CONFIG(shortcut)
124 actionOpen->setShortcut(QString::fromUtf8(
"Ctrl+Return"));
126 actionRemove =
new QAction(PlaylistDock);
127 actionRemove->setObjectName(QString::fromUtf8(
"actionRemove"));
128 #if QT_CONFIG(shortcut)
129 actionRemove->setShortcut(QString::fromUtf8(
"Shift+X"));
131 actionSetFileDate =
new QAction(PlaylistDock);
132 actionSetFileDate->setObjectName(QString::fromUtf8(
"actionSetFileDate"));
133 actionGoto =
new QAction(PlaylistDock);
134 actionGoto->setObjectName(QString::fromUtf8(
"actionGoto"));
135 #if QT_CONFIG(shortcut)
136 actionGoto->setShortcut(QString::fromUtf8(
"Shift+Return"));
138 actionRemoveAll =
new QAction(PlaylistDock);
139 actionRemoveAll->setObjectName(QString::fromUtf8(
"actionRemoveAll"));
140 actionThumbnailsHidden =
new QAction(PlaylistDock);
141 actionThumbnailsHidden->setObjectName(QString::fromUtf8(
"actionThumbnailsHidden"));
142 actionThumbnailsHidden->setCheckable(
true);
143 actionLeftAndRight =
new QAction(PlaylistDock);
144 actionLeftAndRight->setObjectName(QString::fromUtf8(
"actionLeftAndRight"));
145 actionLeftAndRight->setCheckable(
true);
146 actionTopAndBottom =
new QAction(PlaylistDock);
147 actionTopAndBottom->setObjectName(QString::fromUtf8(
"actionTopAndBottom"));
148 actionTopAndBottom->setCheckable(
true);
149 actionInOnlySmall =
new QAction(PlaylistDock);
150 actionInOnlySmall->setObjectName(QString::fromUtf8(
"actionInOnlySmall"));
151 actionInOnlySmall->setCheckable(
true);
152 actionInOnlyLarge =
new QAction(PlaylistDock);
153 actionInOnlyLarge->setObjectName(QString::fromUtf8(
"actionInOnlyLarge"));
154 actionInOnlyLarge->setCheckable(
true);
155 actionAddToTimeline =
new QAction(PlaylistDock);
156 actionAddToTimeline->setObjectName(QString::fromUtf8(
"actionAddToTimeline"));
157 actionAddToSlideshow =
new QAction(PlaylistDock);
158 actionAddToSlideshow->setObjectName(QString::fromUtf8(
"actionAddToSlideshow"));
159 actionSortByName =
new QAction(PlaylistDock);
160 actionSortByName->setObjectName(QString::fromUtf8(
"actionSortByName"));
161 actionSortByDate =
new QAction(PlaylistDock);
162 actionSortByDate->setObjectName(QString::fromUtf8(
"actionSortByDate"));
163 actionDetailed =
new QAction(PlaylistDock);
164 actionDetailed->setObjectName(QString::fromUtf8(
"actionDetailed"));
165 actionDetailed->setCheckable(
true);
166 actionTiled =
new QAction(PlaylistDock);
167 actionTiled->setObjectName(QString::fromUtf8(
"actionTiled"));
168 actionTiled->setCheckable(
true);
169 actionIcons =
new QAction(PlaylistDock);
170 actionIcons->setObjectName(QString::fromUtf8(
"actionIcons"));
171 actionIcons->setCheckable(
true);
172 actionCopy =
new QAction(PlaylistDock);
173 actionCopy->setObjectName(QString::fromUtf8(
"actionCopy"));
174 #if QT_CONFIG(shortcut)
175 actionCopy->setShortcut(QString::fromUtf8(
"Shift+C"));
177 actionPlayAfterOpen =
new QAction(PlaylistDock);
178 actionPlayAfterOpen->setObjectName(QString::fromUtf8(
"actionPlayAfterOpen"));
179 actionPlayAfterOpen->setCheckable(
true);
180 actionSelectAll =
new QAction(PlaylistDock);
181 actionSelectAll->setObjectName(QString::fromUtf8(
"actionSelectAll"));
182 #if QT_CONFIG(shortcut)
183 actionSelectAll->setShortcut(QString::fromUtf8(
"Ctrl+Shift+A"));
185 actionSelectNone =
new QAction(PlaylistDock);
186 actionSelectNone->setObjectName(QString::fromUtf8(
"actionSelectNone"));
187 #if QT_CONFIG(shortcut)
188 actionSelectNone->setShortcut(QString::fromUtf8(
"Ctrl+Shift+D"));
190 actionUpdateThumbnails =
new QAction(PlaylistDock);
191 actionUpdateThumbnails->setObjectName(QString::fromUtf8(
"actionUpdateThumbnails"));
192 dockWidgetContents =
new QWidget();
193 dockWidgetContents->setObjectName(QString::fromUtf8(
"dockWidgetContents"));
194 verticalLayout =
new QVBoxLayout(dockWidgetContents);
195 verticalLayout->setSpacing(0);
196 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
197 verticalLayout->setContentsMargins(0, 0, 0, 0);
198 stackedWidget =
new QStackedWidget(dockWidgetContents);
199 stackedWidget->setObjectName(QString::fromUtf8(
"stackedWidget"));
200 page =
new QWidget();
201 page->setObjectName(QString::fromUtf8(
"page"));
202 verticalLayout_2 =
new QVBoxLayout(page);
203 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
204 verticalLayout_2->setContentsMargins(0, 0, 0, 0);
205 textBrowser =
new QTextBrowser(page);
206 textBrowser->setObjectName(QString::fromUtf8(
"textBrowser"));
208 verticalLayout_2->addWidget(textBrowser);
210 stackedWidget->addWidget(page);
211 page_2 =
new QWidget();
212 page_2->setObjectName(QString::fromUtf8(
"page_2"));
213 verticalLayout_3 =
new QVBoxLayout(page_2);
214 verticalLayout_3->setObjectName(QString::fromUtf8(
"verticalLayout_3"));
215 verticalLayout_3->setContentsMargins(0, 0, 0, 0);
216 tableView =
new PlaylistTable(page_2);
217 tableView->setObjectName(QString::fromUtf8(
"tableView"));
218 tableView->setContextMenuPolicy(Qt::CustomContextMenu);
219 tableView->setDragEnabled(
false);
220 tableView->setAlternatingRowColors(
true);
221 tableView->setSelectionMode(QAbstractItemView::ExtendedSelection);
222 tableView->setSelectionBehavior(QAbstractItemView::SelectRows);
223 tableView->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
224 tableView->horizontalHeader()->setHighlightSections(
false);
225 tableView->verticalHeader()->setVisible(
false);
227 verticalLayout_3->addWidget(tableView);
229 listView =
new PlaylistListView(page_2);
230 listView->setObjectName(QString::fromUtf8(
"listView"));
231 listView->setContextMenuPolicy(Qt::CustomContextMenu);
232 listView->setSelectionMode(QAbstractItemView::ExtendedSelection);
233 listView->setMovement(QListView::Static);
235 verticalLayout_3->addWidget(listView);
237 stackedWidget->addWidget(page_2);
239 verticalLayout->addWidget(stackedWidget);
241 horizontalLayout =
new QHBoxLayout();
242 horizontalLayout->setSpacing(6);
243 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
244 addButton =
new QPushButton(dockWidgetContents);
245 addButton->setObjectName(QString::fromUtf8(
"addButton"));
246 addButton->setEnabled(
false);
248 iconThemeName = QString::fromUtf8(
"list-add");
249 if (QIcon::hasThemeIcon(iconThemeName)) {
250 icon2 = QIcon::fromTheme(iconThemeName);
252 icon2.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/list-add.png"), QSize(), QIcon::Normal, QIcon::Off);
254 addButton->setIcon(icon2);
256 horizontalLayout->addWidget(addButton);
258 removeButton =
new QPushButton(dockWidgetContents);
259 removeButton->setObjectName(QString::fromUtf8(
"removeButton"));
260 removeButton->setEnabled(
false);
262 iconThemeName = QString::fromUtf8(
"list-remove");
263 if (QIcon::hasThemeIcon(iconThemeName)) {
264 icon3 = QIcon::fromTheme(iconThemeName);
266 icon3.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/list-remove.png"), QSize(), QIcon::Normal, QIcon::Off);
268 removeButton->setIcon(icon3);
270 horizontalLayout->addWidget(removeButton);
272 addFilesButton =
new QPushButton(dockWidgetContents);
273 addFilesButton->setObjectName(QString::fromUtf8(
"addFilesButton"));
274 addFilesButton->setEnabled(
true);
276 iconThemeName = QString::fromUtf8(
"list-add-files");
277 if (QIcon::hasThemeIcon(iconThemeName)) {
278 icon4 = QIcon::fromTheme(iconThemeName);
280 icon4.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/list-add-files.png"), QSize(), QIcon::Normal, QIcon::Off);
282 addFilesButton->setIcon(icon4);
284 horizontalLayout->addWidget(addFilesButton);
286 updateButton =
new QPushButton(dockWidgetContents);
287 updateButton->setObjectName(QString::fromUtf8(
"updateButton"));
288 updateButton->setEnabled(
false);
290 iconThemeName = QString::fromUtf8(
"dialog-ok");
291 if (QIcon::hasThemeIcon(iconThemeName)) {
292 icon5 = QIcon::fromTheme(iconThemeName);
294 icon5.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/dialog-ok.png"), QSize(), QIcon::Normal, QIcon::Off);
296 updateButton->setIcon(icon5);
298 horizontalLayout->addWidget(updateButton);
300 tilesButton =
new QPushButton(dockWidgetContents);
301 tilesButton->setObjectName(QString::fromUtf8(
"tilesButton"));
303 iconThemeName = QString::fromUtf8(
"view-list-details");
304 if (QIcon::hasThemeIcon(iconThemeName)) {
305 icon6 = QIcon::fromTheme(iconThemeName);
307 icon6.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-list-details.png"), QSize(), QIcon::Normal, QIcon::Off);
309 tilesButton->setIcon(icon6);
311 horizontalLayout->addWidget(tilesButton);
313 iconsButton =
new QPushButton(dockWidgetContents);
314 iconsButton->setObjectName(QString::fromUtf8(
"iconsButton"));
316 iconThemeName = QString::fromUtf8(
"view-list-icons");
317 if (QIcon::hasThemeIcon(iconThemeName)) {
318 icon7 = QIcon::fromTheme(iconThemeName);
320 icon7.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-list-icons.png"), QSize(), QIcon::Normal, QIcon::Off);
322 iconsButton->setIcon(icon7);
324 horizontalLayout->addWidget(iconsButton);
326 detailsButton =
new QPushButton(dockWidgetContents);
327 detailsButton->setObjectName(QString::fromUtf8(
"detailsButton"));
329 iconThemeName = QString::fromUtf8(
"view-list-text");
330 if (QIcon::hasThemeIcon(iconThemeName)) {
331 icon8 = QIcon::fromTheme(iconThemeName);
333 icon8.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-list-text.png"), QSize(), QIcon::Normal, QIcon::Off);
335 detailsButton->setIcon(icon8);
337 horizontalLayout->addWidget(detailsButton);
339 menuButton =
new QPushButton(dockWidgetContents);
340 menuButton->setObjectName(QString::fromUtf8(
"menuButton"));
342 iconThemeName = QString::fromUtf8(
"show-menu");
343 if (QIcon::hasThemeIcon(iconThemeName)) {
344 icon9 = QIcon::fromTheme(iconThemeName);
346 icon9.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/format-justify-fill.png"), QSize(), QIcon::Normal, QIcon::Off);
348 menuButton->setIcon(icon9);
350 horizontalLayout->addWidget(menuButton);
352 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
354 horizontalLayout->addItem(horizontalSpacer);
357 verticalLayout->addLayout(horizontalLayout);
359 PlaylistDock->setWidget(dockWidgetContents);
361 retranslateUi(PlaylistDock);
363 stackedWidget->setCurrentIndex(0);
366 QMetaObject::connectSlotsByName(PlaylistDock);
369 void retranslateUi(QDockWidget *PlaylistDock)
371 PlaylistDock->setWindowTitle(QCoreApplication::translate(
"PlaylistDock",
"Playlist",
nullptr));
372 actionInsertCut->setText(QCoreApplication::translate(
"PlaylistDock",
"Insert",
nullptr));
373 #if QT_CONFIG(tooltip)
374 actionInsertCut->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Insert",
nullptr));
376 actionAppendCut->setText(QCoreApplication::translate(
"PlaylistDock",
"Append",
nullptr));
377 #if QT_CONFIG(tooltip)
378 actionAppendCut->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Append",
nullptr));
380 actionInsertBlank->setText(QCoreApplication::translate(
"PlaylistDock",
"Insert Blank",
nullptr));
381 actionAppendBlank->setText(QCoreApplication::translate(
"PlaylistDock",
"Append Blank",
nullptr));
382 actionUpdate->setText(QCoreApplication::translate(
"PlaylistDock",
"Replace",
nullptr));
383 actionOpen->setText(QCoreApplication::translate(
"PlaylistDock",
"Open ",
nullptr));
384 #if QT_CONFIG(tooltip)
385 actionOpen->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Open the clip in the Source player",
nullptr));
387 actionRemove->setText(QCoreApplication::translate(
"PlaylistDock",
"Remove",
nullptr));
388 actionSetFileDate->setText(QCoreApplication::translate(
"PlaylistDock",
"Set Creation Time...",
nullptr));
389 actionGoto->setText(QCoreApplication::translate(
"PlaylistDock",
"Goto",
nullptr));
390 #if QT_CONFIG(tooltip)
391 actionGoto->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Go to the start of this clip in the Project player",
nullptr));
393 actionRemoveAll->setText(QCoreApplication::translate(
"PlaylistDock",
"Remove All",
nullptr));
394 #if QT_CONFIG(tooltip)
395 actionRemoveAll->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Remove all items from the playlist",
nullptr));
397 actionThumbnailsHidden->setText(QCoreApplication::translate(
"PlaylistDock",
"Hidden",
nullptr));
398 actionLeftAndRight->setText(QCoreApplication::translate(
"PlaylistDock",
"In and Out - Left/Right",
nullptr));
399 #if QT_CONFIG(tooltip)
400 actionLeftAndRight->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"In and Out - Left/Right",
nullptr));
402 actionTopAndBottom->setText(QCoreApplication::translate(
"PlaylistDock",
"In and Out - Top/Bottom",
nullptr));
403 #if QT_CONFIG(tooltip)
404 actionTopAndBottom->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"In and Out - Top/Bottom",
nullptr));
406 actionInOnlySmall->setText(QCoreApplication::translate(
"PlaylistDock",
"In Only - Small",
nullptr));
407 actionInOnlyLarge->setText(QCoreApplication::translate(
"PlaylistDock",
"In Only - Large",
nullptr));
408 actionAddToTimeline->setText(QCoreApplication::translate(
"PlaylistDock",
"Add Selected to Timeline",
nullptr));
409 actionAddToSlideshow->setText(QCoreApplication::translate(
"PlaylistDock",
"Add Selected to Slideshow",
nullptr));
410 actionSortByName->setText(QCoreApplication::translate(
"PlaylistDock",
"Sort By Name",
nullptr));
411 actionSortByDate->setText(QCoreApplication::translate(
"PlaylistDock",
"Sort By Date",
nullptr));
412 actionDetailed->setText(QCoreApplication::translate(
"PlaylistDock",
"Details",
nullptr));
413 #if QT_CONFIG(tooltip)
414 actionDetailed->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"View as details",
nullptr));
416 actionTiled->setText(QCoreApplication::translate(
"PlaylistDock",
"Tiles",
nullptr));
417 #if QT_CONFIG(tooltip)
418 actionTiled->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"View as tiles",
nullptr));
420 actionIcons->setText(QCoreApplication::translate(
"PlaylistDock",
"Icons",
nullptr));
421 #if QT_CONFIG(tooltip)
422 actionIcons->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"View as icons",
nullptr));
424 actionCopy->setText(QCoreApplication::translate(
"PlaylistDock",
"Copy",
nullptr));
425 #if QT_CONFIG(tooltip)
426 actionCopy->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Open a copy of the clip in the Source player",
nullptr));
428 actionPlayAfterOpen->setText(QCoreApplication::translate(
"PlaylistDock",
"Play After Open",
nullptr));
429 actionSelectAll->setText(QCoreApplication::translate(
"PlaylistDock",
"Select All",
nullptr));
430 actionSelectNone->setText(QCoreApplication::translate(
"PlaylistDock",
"Select None",
nullptr));
431 actionUpdateThumbnails->setText(QCoreApplication::translate(
"PlaylistDock",
"Update Thumbnails",
nullptr));
432 textBrowser->setHtml(QCoreApplication::translate(
"PlaylistDock",
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
433 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
434 "p, li { white-space: pre-wrap; }\n"
435 "</style></head><body>\n"
436 "<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"
437 "<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"
438 "<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"
440 "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));
441 #if QT_CONFIG(tooltip)
442 tableView->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"<html><head/><body><p>Double-click a playlist item to open it in the player.</p></body></html>",
nullptr));
444 #if QT_CONFIG(tooltip)
445 addButton->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Add the Source to the playlist",
nullptr));
447 addButton->setText(QString());
448 #if QT_CONFIG(tooltip)
449 removeButton->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Remove cut",
nullptr));
451 removeButton->setText(QString());
452 #if QT_CONFIG(tooltip)
453 addFilesButton->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"<html><head/><body><p>Add files to playlist</p></body></html>",
nullptr));
455 addFilesButton->setText(QString());
456 #if QT_CONFIG(tooltip)
457 updateButton->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Update",
nullptr));
459 updateButton->setText(QString());
460 #if QT_CONFIG(tooltip)
461 tilesButton->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"View as tiles",
nullptr));
463 tilesButton->setText(QString());
464 #if QT_CONFIG(tooltip)
465 iconsButton->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"View as icons",
nullptr));
467 iconsButton->setText(QString());
468 #if QT_CONFIG(tooltip)
469 detailsButton->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"View as details",
nullptr));
471 detailsButton->setText(QString());
472 #if QT_CONFIG(tooltip)
473 menuButton->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Playlist Menu",
nullptr));
475 menuButton->setText(QString());
481 class PlaylistDock:
public Ui_PlaylistDock {};