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 #if QT_CONFIG(shortcut)
96 actionInsertCut->setShortcut(QString::fromUtf8(
"Shift+V"));
97 #endif // QT_CONFIG(shortcut)
98 actionAppendCut =
new QAction(PlaylistDock);
99 actionAppendCut->setObjectName(QString::fromUtf8(
"actionAppendCut"));
101 iconThemeName = QString::fromUtf8(
"list-add");
102 if (QIcon::hasThemeIcon(iconThemeName)) {
103 icon1 = QIcon::fromTheme(iconThemeName);
105 icon1.addFile(QString::fromUtf8(
"."), QSize(), QIcon::Normal, QIcon::Off);
107 actionAppendCut->setIcon(icon1);
108 #if QT_CONFIG(shortcut)
109 actionAppendCut->setShortcut(QString::fromUtf8(
"Shift+A"));
110 #endif // QT_CONFIG(shortcut)
111 actionInsertBlank =
new QAction(PlaylistDock);
112 actionInsertBlank->setObjectName(QString::fromUtf8(
"actionInsertBlank"));
113 actionAppendBlank =
new QAction(PlaylistDock);
114 actionAppendBlank->setObjectName(QString::fromUtf8(
"actionAppendBlank"));
115 actionUpdate =
new QAction(PlaylistDock);
116 actionUpdate->setObjectName(QString::fromUtf8(
"actionUpdate"));
117 #if QT_CONFIG(shortcut)
118 actionUpdate->setShortcut(QString::fromUtf8(
"Shift+B"));
119 #endif // QT_CONFIG(shortcut)
120 actionOpen =
new QAction(PlaylistDock);
121 actionOpen->setObjectName(QString::fromUtf8(
"actionOpen"));
122 #if QT_CONFIG(shortcut)
123 actionOpen->setShortcut(QString::fromUtf8(
"Ctrl+Return"));
124 #endif // QT_CONFIG(shortcut)
125 actionRemove =
new QAction(PlaylistDock);
126 actionRemove->setObjectName(QString::fromUtf8(
"actionRemove"));
127 #if QT_CONFIG(shortcut)
128 actionRemove->setShortcut(QString::fromUtf8(
"Shift+X"));
129 #endif // QT_CONFIG(shortcut)
130 actionSetFileDate =
new QAction(PlaylistDock);
131 actionSetFileDate->setObjectName(QString::fromUtf8(
"actionSetFileDate"));
132 actionGoto =
new QAction(PlaylistDock);
133 actionGoto->setObjectName(QString::fromUtf8(
"actionGoto"));
134 #if QT_CONFIG(shortcut)
135 actionGoto->setShortcut(QString::fromUtf8(
"Shift+Return"));
136 #endif // QT_CONFIG(shortcut)
137 actionRemoveAll =
new QAction(PlaylistDock);
138 actionRemoveAll->setObjectName(QString::fromUtf8(
"actionRemoveAll"));
139 actionThumbnailsHidden =
new QAction(PlaylistDock);
140 actionThumbnailsHidden->setObjectName(QString::fromUtf8(
"actionThumbnailsHidden"));
141 actionThumbnailsHidden->setCheckable(
true);
142 actionLeftAndRight =
new QAction(PlaylistDock);
143 actionLeftAndRight->setObjectName(QString::fromUtf8(
"actionLeftAndRight"));
144 actionLeftAndRight->setCheckable(
true);
145 actionTopAndBottom =
new QAction(PlaylistDock);
146 actionTopAndBottom->setObjectName(QString::fromUtf8(
"actionTopAndBottom"));
147 actionTopAndBottom->setCheckable(
true);
148 actionInOnlySmall =
new QAction(PlaylistDock);
149 actionInOnlySmall->setObjectName(QString::fromUtf8(
"actionInOnlySmall"));
150 actionInOnlySmall->setCheckable(
true);
151 actionInOnlyLarge =
new QAction(PlaylistDock);
152 actionInOnlyLarge->setObjectName(QString::fromUtf8(
"actionInOnlyLarge"));
153 actionInOnlyLarge->setCheckable(
true);
154 actionAddToTimeline =
new QAction(PlaylistDock);
155 actionAddToTimeline->setObjectName(QString::fromUtf8(
"actionAddToTimeline"));
156 actionAddToSlideshow =
new QAction(PlaylistDock);
157 actionAddToSlideshow->setObjectName(QString::fromUtf8(
"actionAddToSlideshow"));
158 actionSortByName =
new QAction(PlaylistDock);
159 actionSortByName->setObjectName(QString::fromUtf8(
"actionSortByName"));
160 actionSortByDate =
new QAction(PlaylistDock);
161 actionSortByDate->setObjectName(QString::fromUtf8(
"actionSortByDate"));
162 actionDetailed =
new QAction(PlaylistDock);
163 actionDetailed->setObjectName(QString::fromUtf8(
"actionDetailed"));
164 actionDetailed->setCheckable(
true);
165 actionTiled =
new QAction(PlaylistDock);
166 actionTiled->setObjectName(QString::fromUtf8(
"actionTiled"));
167 actionTiled->setCheckable(
true);
168 actionIcons =
new QAction(PlaylistDock);
169 actionIcons->setObjectName(QString::fromUtf8(
"actionIcons"));
170 actionIcons->setCheckable(
true);
171 actionCopy =
new QAction(PlaylistDock);
172 actionCopy->setObjectName(QString::fromUtf8(
"actionCopy"));
173 #if QT_CONFIG(shortcut)
174 actionCopy->setShortcut(QString::fromUtf8(
"Shift+C"));
175 #endif // QT_CONFIG(shortcut)
176 actionPlayAfterOpen =
new QAction(PlaylistDock);
177 actionPlayAfterOpen->setObjectName(QString::fromUtf8(
"actionPlayAfterOpen"));
178 actionPlayAfterOpen->setCheckable(
true);
179 actionSelectAll =
new QAction(PlaylistDock);
180 actionSelectAll->setObjectName(QString::fromUtf8(
"actionSelectAll"));
181 #if QT_CONFIG(shortcut)
182 actionSelectAll->setShortcut(QString::fromUtf8(
"Ctrl+Shift+A"));
183 #endif // QT_CONFIG(shortcut)
184 actionSelectNone =
new QAction(PlaylistDock);
185 actionSelectNone->setObjectName(QString::fromUtf8(
"actionSelectNone"));
186 #if QT_CONFIG(shortcut)
187 actionSelectNone->setShortcut(QString::fromUtf8(
"Ctrl+Shift+D"));
188 #endif // QT_CONFIG(shortcut)
189 actionUpdateThumbnails =
new QAction(PlaylistDock);
190 actionUpdateThumbnails->setObjectName(QString::fromUtf8(
"actionUpdateThumbnails"));
191 dockWidgetContents =
new QWidget();
192 dockWidgetContents->setObjectName(QString::fromUtf8(
"dockWidgetContents"));
193 verticalLayout =
new QVBoxLayout(dockWidgetContents);
194 verticalLayout->setSpacing(0);
195 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
196 verticalLayout->setContentsMargins(0, 0, 0, 0);
197 stackedWidget =
new QStackedWidget(dockWidgetContents);
198 stackedWidget->setObjectName(QString::fromUtf8(
"stackedWidget"));
199 page =
new QWidget();
200 page->setObjectName(QString::fromUtf8(
"page"));
201 verticalLayout_2 =
new QVBoxLayout(page);
202 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
203 verticalLayout_2->setContentsMargins(0, 0, 0, 0);
204 textBrowser =
new QTextBrowser(page);
205 textBrowser->setObjectName(QString::fromUtf8(
"textBrowser"));
207 verticalLayout_2->addWidget(textBrowser);
209 stackedWidget->addWidget(page);
210 page_2 =
new QWidget();
211 page_2->setObjectName(QString::fromUtf8(
"page_2"));
212 verticalLayout_3 =
new QVBoxLayout(page_2);
213 verticalLayout_3->setObjectName(QString::fromUtf8(
"verticalLayout_3"));
214 verticalLayout_3->setContentsMargins(0, 0, 0, 0);
215 tableView =
new PlaylistTable(page_2);
216 tableView->setObjectName(QString::fromUtf8(
"tableView"));
217 tableView->setContextMenuPolicy(Qt::CustomContextMenu);
218 tableView->setDragEnabled(
false);
219 tableView->setAlternatingRowColors(
true);
220 tableView->setSelectionMode(QAbstractItemView::ExtendedSelection);
221 tableView->setSelectionBehavior(QAbstractItemView::SelectRows);
222 tableView->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
223 tableView->horizontalHeader()->setHighlightSections(
false);
224 tableView->verticalHeader()->setVisible(
false);
226 verticalLayout_3->addWidget(tableView);
228 listView =
new PlaylistListView(page_2);
229 listView->setObjectName(QString::fromUtf8(
"listView"));
230 listView->setContextMenuPolicy(Qt::CustomContextMenu);
231 listView->setSelectionMode(QAbstractItemView::ExtendedSelection);
232 listView->setMovement(QListView::Static);
234 verticalLayout_3->addWidget(listView);
236 stackedWidget->addWidget(page_2);
238 verticalLayout->addWidget(stackedWidget);
240 horizontalLayout =
new QHBoxLayout();
241 horizontalLayout->setSpacing(6);
242 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
243 addButton =
new QPushButton(dockWidgetContents);
244 addButton->setObjectName(QString::fromUtf8(
"addButton"));
245 addButton->setEnabled(
false);
247 iconThemeName = QString::fromUtf8(
"list-add");
248 if (QIcon::hasThemeIcon(iconThemeName)) {
249 icon2 = QIcon::fromTheme(iconThemeName);
251 icon2.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/list-add.png"), QSize(), QIcon::Normal, QIcon::Off);
253 addButton->setIcon(icon2);
255 horizontalLayout->addWidget(addButton);
257 removeButton =
new QPushButton(dockWidgetContents);
258 removeButton->setObjectName(QString::fromUtf8(
"removeButton"));
259 removeButton->setEnabled(
false);
261 iconThemeName = QString::fromUtf8(
"list-remove");
262 if (QIcon::hasThemeIcon(iconThemeName)) {
263 icon3 = QIcon::fromTheme(iconThemeName);
265 icon3.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/list-remove.png"), QSize(), QIcon::Normal, QIcon::Off);
267 removeButton->setIcon(icon3);
269 horizontalLayout->addWidget(removeButton);
271 updateButton =
new QPushButton(dockWidgetContents);
272 updateButton->setObjectName(QString::fromUtf8(
"updateButton"));
273 updateButton->setEnabled(
false);
275 iconThemeName = QString::fromUtf8(
"dialog-ok");
276 if (QIcon::hasThemeIcon(iconThemeName)) {
277 icon4 = QIcon::fromTheme(iconThemeName);
279 icon4.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/dialog-ok.png"), QSize(), QIcon::Normal, QIcon::Off);
281 updateButton->setIcon(icon4);
283 horizontalLayout->addWidget(updateButton);
285 tilesButton =
new QPushButton(dockWidgetContents);
286 tilesButton->setObjectName(QString::fromUtf8(
"tilesButton"));
288 iconThemeName = QString::fromUtf8(
"view-list-details");
289 if (QIcon::hasThemeIcon(iconThemeName)) {
290 icon5 = QIcon::fromTheme(iconThemeName);
292 icon5.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-list-details.png"), QSize(), QIcon::Normal, QIcon::Off);
294 tilesButton->setIcon(icon5);
296 horizontalLayout->addWidget(tilesButton);
298 iconsButton =
new QPushButton(dockWidgetContents);
299 iconsButton->setObjectName(QString::fromUtf8(
"iconsButton"));
301 iconThemeName = QString::fromUtf8(
"view-list-icons");
302 if (QIcon::hasThemeIcon(iconThemeName)) {
303 icon6 = QIcon::fromTheme(iconThemeName);
305 icon6.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-list-icons.png"), QSize(), QIcon::Normal, QIcon::Off);
307 iconsButton->setIcon(icon6);
309 horizontalLayout->addWidget(iconsButton);
311 detailsButton =
new QPushButton(dockWidgetContents);
312 detailsButton->setObjectName(QString::fromUtf8(
"detailsButton"));
314 iconThemeName = QString::fromUtf8(
"view-list-text");
315 if (QIcon::hasThemeIcon(iconThemeName)) {
316 icon7 = QIcon::fromTheme(iconThemeName);
318 icon7.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-list-text.png"), QSize(), QIcon::Normal, QIcon::Off);
320 detailsButton->setIcon(icon7);
322 horizontalLayout->addWidget(detailsButton);
324 menuButton =
new QPushButton(dockWidgetContents);
325 menuButton->setObjectName(QString::fromUtf8(
"menuButton"));
327 iconThemeName = QString::fromUtf8(
"show-menu");
328 if (QIcon::hasThemeIcon(iconThemeName)) {
329 icon8 = QIcon::fromTheme(iconThemeName);
331 icon8.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/format-justify-fill.png"), QSize(), QIcon::Normal, QIcon::Off);
333 menuButton->setIcon(icon8);
335 horizontalLayout->addWidget(menuButton);
337 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
339 horizontalLayout->addItem(horizontalSpacer);
342 verticalLayout->addLayout(horizontalLayout);
344 PlaylistDock->setWidget(dockWidgetContents);
346 retranslateUi(PlaylistDock);
348 stackedWidget->setCurrentIndex(0);
351 QMetaObject::connectSlotsByName(PlaylistDock);
354 void retranslateUi(QDockWidget *PlaylistDock)
356 PlaylistDock->setWindowTitle(QCoreApplication::translate(
"PlaylistDock",
"Playlist",
nullptr));
357 actionInsertCut->setText(QCoreApplication::translate(
"PlaylistDock",
"Insert",
nullptr));
358 #if QT_CONFIG(tooltip)
359 actionInsertCut->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Insert",
nullptr));
360 #endif // QT_CONFIG(tooltip)
361 actionAppendCut->setText(QCoreApplication::translate(
"PlaylistDock",
"Append",
nullptr));
362 #if QT_CONFIG(tooltip)
363 actionAppendCut->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Append",
nullptr));
364 #endif // QT_CONFIG(tooltip)
365 actionInsertBlank->setText(QCoreApplication::translate(
"PlaylistDock",
"Insert Blank",
nullptr));
366 actionAppendBlank->setText(QCoreApplication::translate(
"PlaylistDock",
"Append Blank",
nullptr));
367 actionUpdate->setText(QCoreApplication::translate(
"PlaylistDock",
"Replace",
nullptr));
368 actionOpen->setText(QCoreApplication::translate(
"PlaylistDock",
"Open ",
nullptr));
369 #if QT_CONFIG(tooltip)
370 actionOpen->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Open the clip in the Source player",
nullptr));
371 #endif // QT_CONFIG(tooltip)
372 actionRemove->setText(QCoreApplication::translate(
"PlaylistDock",
"Remove",
nullptr));
373 actionSetFileDate->setText(QCoreApplication::translate(
"PlaylistDock",
"Set Creation Time...",
nullptr));
374 actionGoto->setText(QCoreApplication::translate(
"PlaylistDock",
"Goto",
nullptr));
375 #if QT_CONFIG(tooltip)
376 actionGoto->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Go to the start of this clip in the Project player",
nullptr));
377 #endif // QT_CONFIG(tooltip)
378 actionRemoveAll->setText(QCoreApplication::translate(
"PlaylistDock",
"Remove All",
nullptr));
379 #if QT_CONFIG(tooltip)
380 actionRemoveAll->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Remove all items from the playlist",
nullptr));
381 #endif // QT_CONFIG(tooltip)
382 actionThumbnailsHidden->setText(QCoreApplication::translate(
"PlaylistDock",
"Hidden",
nullptr));
383 actionLeftAndRight->setText(QCoreApplication::translate(
"PlaylistDock",
"In and Out - Left/Right",
nullptr));
384 #if QT_CONFIG(tooltip)
385 actionLeftAndRight->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"In and Out - Left/Right",
nullptr));
386 #endif // QT_CONFIG(tooltip)
387 actionTopAndBottom->setText(QCoreApplication::translate(
"PlaylistDock",
"In and Out - Top/Bottom",
nullptr));
388 #if QT_CONFIG(tooltip)
389 actionTopAndBottom->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"In and Out - Top/Bottom",
nullptr));
390 #endif // QT_CONFIG(tooltip)
391 actionInOnlySmall->setText(QCoreApplication::translate(
"PlaylistDock",
"In Only - Small",
nullptr));
392 actionInOnlyLarge->setText(QCoreApplication::translate(
"PlaylistDock",
"In Only - Large",
nullptr));
393 actionAddToTimeline->setText(QCoreApplication::translate(
"PlaylistDock",
"Add Selected to Timeline",
nullptr));
394 actionAddToSlideshow->setText(QCoreApplication::translate(
"PlaylistDock",
"Add Selected to Slideshow",
nullptr));
395 actionSortByName->setText(QCoreApplication::translate(
"PlaylistDock",
"Sort By Name",
nullptr));
396 actionSortByDate->setText(QCoreApplication::translate(
"PlaylistDock",
"Sort By Date",
nullptr));
397 actionDetailed->setText(QCoreApplication::translate(
"PlaylistDock",
"Details",
nullptr));
398 #if QT_CONFIG(tooltip)
399 actionDetailed->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"View as details",
nullptr));
400 #endif // QT_CONFIG(tooltip)
401 actionTiled->setText(QCoreApplication::translate(
"PlaylistDock",
"Tiles",
nullptr));
402 #if QT_CONFIG(tooltip)
403 actionTiled->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"View as tiles",
nullptr));
404 #endif // QT_CONFIG(tooltip)
405 actionIcons->setText(QCoreApplication::translate(
"PlaylistDock",
"Icons",
nullptr));
406 #if QT_CONFIG(tooltip)
407 actionIcons->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"View as icons",
nullptr));
408 #endif // QT_CONFIG(tooltip)
409 actionCopy->setText(QCoreApplication::translate(
"PlaylistDock",
"Copy",
nullptr));
410 #if QT_CONFIG(tooltip)
411 actionCopy->setToolTip(QCoreApplication::translate(
"PlaylistDock",
"Open a copy of the clip in the Source player",
nullptr));
412 #endif // QT_CONFIG(tooltip)
413 actionPlayAfterOpen->setText(QCoreApplication::translate(
"PlaylistDock",
"Play After Open",
nullptr));
414 actionSelectAll->setText(QCoreApplication::translate(
"PlaylistDock",
"Select All",
nullptr));
415 actionSelectNone->setText(QCoreApplication::translate(
"PlaylistDock",
"Select None",
nullptr));
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